Add earlyclobber to sqrtt/sqrtf insns.
[glibc.git] / ChangeLog
blob042262eaa162f485fa57e12b9bc944c391e8e1de
1 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4         earlyclobber to output operand of sqrt insn.
5         (__ieee754_sqrtf): Ditto.
7 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
9         [BZ #21426]
10         * misc/bits/types/struct_iovec.h: New file.
11         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
12         * include/bits/types/struct_iovec.h: New file.
13         * bits/uio.h (struct iovec): Replace by inclusion of
14         <bits/types/struct_iovec.h>.
15         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
16         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
17         of <sys/uio.h>.
18         * nptl/tst-cancel4.c: Include <sys/uio.h>
19         * posix/test-errno.c: Likewise.
20         * support/resolv_test.c: Likewise.
21         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
22         Remove.
23         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27         * conform/data/sys/socket.h-data (*_t): Allow.
29 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
32         assignment.
34 2017-04-24  Daurnimator  <quae@daurnimator.com>
35             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37         [BZ #21340]
38         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
39         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
40         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
41         valid flags.
42         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
43         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
44         POSIX_SPAWN_SETSID.
45         * sysdeps/posix/spawni.c (__spawni): Likewise.
46         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
47         * NEWS: Add note about POSIX_SPAWN_SETSID support.
49 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
51         * sysdeps/generic/math_private.h: Move the declaration of many
52         functions to sysdeps/generic/math_private_calls.h.
53         * sysdeps/generic/math_private_calls.h: New file with the
54         declarations of the functions removed from math_private.h
55         macroized by floating-point type.
57 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
59         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
60         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
61         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
62         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
63         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
64         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
66 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
68         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
69         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
70         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
71         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
72         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
73         New Define.
75 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
77         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
78         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
79         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
80         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
81         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
82         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
84 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
86         * sysdeps/s390/multiarch/ifunc-resolve.h
87         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
88         * sysdeps/s390/multiarch/8bit-generic.c
89         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
90         define ifunc resolvers.
92 2017-04-21  Florian Weimer  <fweimer@redhat.com>
94         [BZ #20424]
95         * manual/memory.texi (Replacing malloc): New section.
96         (Allocating Storage For Program Data): Reference it.
97         (The GNU Allocator): Likewise.
99 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
101         * stdlib/Versions (__strtod_internal): List explicitly, not as
102         wildcard.
103         (__strtof_internal): Likewise.
104         (__strtold_internal): Likewise.
105         (__strtol_internal): Likewise.
106         (__strtoll_internal): Likewise.
107         (__strtoul_internal): Likewise.
108         (__strtoull_internal): Likewise.
109         (__strtoq_internal): Likewise.
110         (__strtouq_internal): Likewise.
111         * wcsmbs/Versions (__wcstod_internal): Likewise.
112         (__wcstof_internal): Likewise.
113         (__wcstold_internal): Likewise.
114         (__wcstol_internal): Likewise.
115         (__wcstoll_internal): Likewise.
116         (__wcstoul_internal): Likewise.
117         (__wcstoull_internal): Likewise.
119 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
121         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
122         struct timespec definition.
124 2017-04-19  Florian Weimer  <fweimer@redhat.com>
126         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
128 2017-04-19  Florian Weimer  <fweimer@redhat.com>
130         * inet/rcmd.c (rresvport_af): Fix typo in comment.
131         * inet/rexec.c (rexec_af): Likewise.
133 2017-04-19  Zack Weinberg  <zackw@panix.com>
135         * posix/tst-mmap-offset.c: Include stdint.h.
136         * resolv/tst-ns_name_compress.c: Include string.h.
137         * resolv/tst-resolv-edns.c: Include resolv.h.
139 2017-04-19  Florian Weimer  <fweimer@redhat.com>
141         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
142         with __glibc_likely.
143         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
144         Replace __builtin_expect with __glibc_unlikely.
145         * resolv/res_init.c (__res_vinit): Likewise.
146         * resolv/res_query.c (__libc_res_nquery): Likewise.
147         * resolv/res_send.c (__libc_res_nsend): Likewise.
149 2017-04-19  Florian Weimer  <fweimer@redhat.com>
151         [BZ #15722]
152         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
153         with SOCK_CLOEXEC.
154         * resolv/res_send.c (send_vc, reopen): Likewise.
155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
156         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
157         Likewise.
158         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
159         * inet/rexec.c (rexec_af): Add comment.
160         * inet/rcmd.c (rresvport_af): Likewise.
162 2017-04-19  Florian Weimer  <fweimer@redhat.com>
164         * nscd/connections.c (have_accept4): Removed definition.
165         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
166         accept4 works.
167         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
168         ia64 because that was the first version with accept4 support.
169         * support/Makefile (libsupport-routines): Add xaccept4.
170         * support/xsocket.h (xaccept4): Declare.
171         * support/xaccept4.c: New file.
172         * socket/tst-accept4.c: New file.
173         * socket/Makefile (tests): Add tst-accept4.
174         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
175         definition.
176         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
177         comment.
178         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
179         implementation is available.
180         (accept4): Use the system call if available, otherwise use the
181         socket call.
182         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
183         Set to 3.2.18.
184         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
185         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
186         accept4 is unconditionally available in later 3.2 stable kernels.
187         (__ASSUME_ACCEPT4_SYSCALL): Define.
188         * sysdeps/unix/sysv/linux/kernel-features.h
189         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
190         definitions.
191         * sysdeps/unix/sysv/linux/i386/kernel-features.h
192         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
194 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
196         * conform/Makefile (tests-special): Do not make addition of
197         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
198         (generated): Do not make addition of $(conformtest-header-base)
199         conditional on [$(cross-compiling) = no].
201         [BZ #21267]
202         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
203         if defined by <asm/socket.h> and not previously defined.
204         (IOCSIZE_SHIFT): Likewise.
205         (IOC_IN): Likewise.
206         (IOC_INOUT): Likewise.
207         (IOC_OUT): Likewise.
209 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
211         [BZ #21396]
212         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
213         Prefer_No_AVX512 if AVX512ER isn't available.
214         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
215         (index_arch_Prefer_No_AVX512): Likewise.
216         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
217         AVX512 version if Prefer_No_AVX512 is set.
218         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
219         Likewise.
220         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
221         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
222         Likewise.
223         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
224         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
225         Likewise.
226         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
227         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
228         Likewise.
230 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
232         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
233         Prefer_No_VZEROUPPER if AVX512ER is available.
234         * sysdeps/x86/cpu-features.h
235         (bit_cpu_AVX512PF): New.
236         (bit_cpu_AVX512ER): Likewise.
237         (bit_cpu_AVX512CD): Likewise.
238         (bit_cpu_AVX512BW): Likewise.
239         (bit_cpu_AVX512VL): Likewise.
240         (index_cpu_AVX512PF): Likewise.
241         (index_cpu_AVX512ER): Likewise.
242         (index_cpu_AVX512CD): Likewise.
243         (index_cpu_AVX512BW): Likewise.
244         (index_cpu_AVX512VL): Likewise.
245         (reg_AVX512PF): Likewise.
246         (reg_AVX512ER): Likewise.
247         (reg_AVX512CD): Likewise.
248         (reg_AVX512BW): Likewise.
249         (reg_AVX512VL): Likewise.
251 2017-04-18  Florian Weimer  <fweimer@redhat.com>
253         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
254         O_CLOEXEC is defined.
255         * include/fcntl.h (__have_o_cloexec): Remove declaration.
256         * io/Makefile (aux): Remove.
257         * io/have_o_cloexec.c: Remove file.
258         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
259         defined and works.
260         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
261         defined.
262         * login/utmp_file.c (O_flags): Remove definition.
263         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
264         O_CLOEXEC works.
265         (pututline_file): Likewise.
266         * malloc/mtrace.c: Assume that O_CLOEXEC works.
267         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
268         definition.
269         (internal_setgrent): Assume that O_CLOEXEC works.
270         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
271         Remove definition.
272         (internal_setgrent): Assume that O_CLOEXEC works.
273         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
274         definition.
275         (internal_setpwent): Assume that O_CLOEXEC works.
276         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
277         definition.
278         (internal_setspent): Assume that O_CLOEXEC works.
279         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
280         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
281         O_CLOEXEC is defined and works.
282         * nss/Makefile (libnss_files-routines): Remove
283         files-have_o_cloexec.
284         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
285         defined.
286         * nss/nss_files/files-XXX.c (internal_setent): Assume that
287         O_CLOEXEC is defined and works.
288         * nss/nss_files/files-alias.c (internal_setent): Likewise.
289         * nss/nss_files/files-have_o_cloexec.c: Remove.
290         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
291         defined.
292         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
293         and works.
294         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
295         definition.
296         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
297         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
298         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
299         (__opendirat, __opendir): Adjust opendir_oflags call.
300         (check_have_o_cloexec): Remove.
301         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
302         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
303         defined.
304         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
305         Remove definition.
307 2017-04-18  Florian Weimer  <fweimer@redhat.com>
309         * include/unistd.h (__have_dup3): Remove declaration.
310         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
311         dup3 is available.
312         * libio/freopen64.c (freopen64): Likewise.
313         * socket/Makefile (aux): Remove have_sock_cloexec.
314         * socket/have_sock_cloexec.c: Remove file.
315         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
316         definition.
317         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
318         Likewise.
319         * sysdeps/nacl/kernel-features.h: Update comment.
321 2017-04-18  Florian Weimer  <fweimer@redhat.com>
323         * include/unistd.h (__have_pipe2): Remove declaration.
324         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
325         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
326         available.
327         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
329         Remove definition.
331 2017-04-18  Florian Weimer  <fweimer@redhat.com>
333         * malloc/malloc.c (cfree): Turn into compat symbol.
334         (__cfree): Remove alias.
335         * stdlib/stdlib.h (cfree): Remove declaration.
336         * malloc/malloc.h (cfree): Likewise.
337         * manual/memory.texi (Freeing after Malloc): Remove cfree.
338         * malloc/Versions (GLIBC_2.26): Add.
340 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
342         * sysdeps/powerpc/powerpc64/multiarch/Makefile
343         (sysdep_routines): Add strrchr-power8.
344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
345         (strrchr): Add __strrchr_power8 to list of strrchr functions.
346         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
347         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
348         (strrchr): Add __strrchr_power8 to ifunc list.
349         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
351 2017-04-17  Rabin Vincent  <rabinv@axis.com>
353         [BZ #21357]
354         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
355         Call free() outside of mutex.
357 2017-04-13  Florian Weimer  <fweimer@redhat.com>
359         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
360         is defined.
361         * elf/rtld.c (process_envvars): Likewise.
362         * sysdeps/posix/shm_open.c (shm_open): Likewise.
363         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
364         O_NOFOLLOW directly.
365         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
367 2017-04-13  Florian Weimer  <fweimer@redhat.com>
369         [BZ #21369]
370         Remove EDNS fallback.
371         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
372         handling.
373         * resolv/res_send.c (send_dg): Likewise.
374         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
375         "tcp." prefixes.
376         (do_test): Send a "formerr."-prefixed query in an attempt to
377         trigger EDNS fallback.
379 2017-04-13  Florian Weimer  <fweimer@redhat.com>
381         [BZ #21361]
382         Limit EDNS buffer size to 1200 bytes.
383         * include/resolv.h (__res_nopt): Remove declaration.
384         * resolv/Makefile (tests): tst-resolv-edns.
385         (tst-resolv-edns): Link with -lresolv, -lpthread.
386         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
387         interval [512, 1200].
388         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
389         we can resize the buffer.
390         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
391         (__res_nopt): Declare.
392         * resolv/tst-resolv-edns.c: New file.
393         * resolv/resolv_test.h (struct resolv_edns_info): Define.
394         (struct resolv_response_context): Add edns member.
395         * resolv/resolv_test.c (struct query_info): Add edns member.
396         (parse_query): Extract EDNS information from the query.
397         (server_thread_udp_process_one): Propagate EDNS data.
398         (server_thread_tcp_client): Likewise.
400 2017-04-13  Florian Weimer  <fweimer@redhat.com>
402         [BZ #21359]
403         * resolv/ns_name.c (ns_name_pack): Do not require an additional
404         byte in the destination buffer.  Avoid out-of-bounds pointer
405         arithmetic.
406         * resolv/Makefile (tests): Add tst-ns_name_compress.
407         (tst-ns_name_compress): Link with -lresolv.
408         * resolv/tst-ns_name_compress.c: New file.
409         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
410         (response): Recognize LONG_NAME.
411         (do_test): Add LONG_NAME tests.
412         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
413         for ns_name_unpack.  Add tests for ns_name_pton and
414         ns_name_compress.
416 2017-04-13  Florian Weimer  <fweimer@redhat.com>
418         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
419         (res_nisourserver): Remove definition.
420         (p_section, res_npquery, res_nisourserver): Remove declaration.
421         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
422         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
423         ... here.
424         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
425         <resolv.h>.
426         * resolv/res_query.c: Likewise.
427         * resolv/res_debug.c (p_section): Define as static.
429 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
431         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
432         strncat-power8.
433         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
434         __strncat_power8 to ifunc list.
435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
436         (strncat): Add __strncat_power8 to list of strncat functions.
437         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
439 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
441         [BZ #21270]
442         * posix/tst-mmap-offset.c (do_prepare): New function.
443         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
444         (do_test_bz21270): New function.
445         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
446         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
447         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
448         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
449         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
450         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
451         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
452         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
453         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
454         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
455         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
456         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
457         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
458         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
459         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
460         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
461         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
462         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
463         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
464         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
465         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
466         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
467         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
468         from auto-generation list.
469         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
470         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
471         * sysdeps/unix/sysv/linux/mmap.c: New file.
472         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
473         offsets and support for mmap2 syscall.
475         * posix/globtest.sh: Add cleanup routine on trap 0.
477 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
479         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
480         implementation-specific function name and remove unneeded
481         macros definition.
482         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
483         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
484         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
485         name if not defined and pass as parameter to macros accordingly.
486         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
487         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
490         implementation-specific function name and remove unneeded
491         macros definition.
492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
493         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
497         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
498         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
499         name if not defined and pass as parameter to macros accordingly.
500         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
501         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
502         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
503         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
504         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
505         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
507         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
508         implementation-specific function name and remove unneeded macros
509         definition.
510         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
513         function name if not defined and pass as parameter to macros
514         accordingly.
515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
516         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
518         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
519         implementation-specific function name and remove unneeded macros
520         definition.
521         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
522         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
523         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
524         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
525         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
526         not defined and pass as parameter to macros accordingly.
527         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
528         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
529         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
530         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
532         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
533         strcasestr implementation name and remove unneeded macros definition.
534         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
535         strstr implementation name and remove unneeded macros definition.
536         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
537         name if not defined and pass as parameter to macros accordingly.
538         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
540         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
541         implementation-specific function name and remove unneeded macros
542         definition.
543         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
544         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
545         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
546         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
547         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
548         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
549         function name if not defined and pass as parameter to macros
550         accordingly.
551         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
552         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
553         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
554         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
556         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
557         the strlen implementation name and remove unneeded macros definition.
558         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
559         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
560         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
561         the strnlen implementation name and remove unneeded macros definition.
562         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
563         name if not defined and pass as parameter to macros accordingly.
564         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
565         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
566         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
569         the implementation-specific function name and remove unneeded
570         macros definition.
571         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
572         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
573         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
574         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
575         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
576         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
577         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
578         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
579         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
580         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
581         name if not defined and pass as parameter to macros accordingly.
582         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
583         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
584         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
585         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
586         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
587         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
588         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
589         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
592         implementation-specific function name and remove unneeded macros
593         definition.
594         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
595         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
596         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
597         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
598         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
599         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
600         function name if not defined.
601         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
602         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
604 2017-04-11  Paul Clarke  <pc@us.ibm.com>
606         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
607         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
608         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
609         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
611 2017-04-11  Florian Weimer  <fweimer@redhat.com>
612             Zack Weinberg  <zackw@panix.com>
614         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
615         readdir64 as thread-safe.  Update warning about readdir_r.
617 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
619         * sysdeps/unix/sysv/linux/x86/Implies: New file.
620         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
621         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
622         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
623         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
624         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
625         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
627 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
629         * sysdeps/i386/dl-procinfo.c: Include
630         <sysdeps/x86/dl-procinfo.c>.
631         * sysdeps/x86_64/dl-procinfo.c: Likewise.
632         * sysdeps/x86/dl-procinfo.c: New file.
634 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
636         * sysdeps/generic/math_private.h: Remove declarations of
637         many functions that are already declared in math.h.
638         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
639         declaration for __frexpl.
640         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
641         the declarations for __scalbnl and fabsl.
643 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
645         [BZ #20831]
646         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
647         of __mprotect to change protection on the excess portion
648         to disallow all access.
650 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
652         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
653         HAS_CPU_FEATURE to check for SSE.
654         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
655         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
656         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
657         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
658         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
659         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
660         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
661         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
662         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
663         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
664         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
665         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
666         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
667         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
668         (index_cpu_SSE): Likewise.
669         (reg_SSE): Likewise.
671 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
673         * posix/getopt1.c: Include <config.h>, not "config.h".
675 2017-04-07  Zack Weinberg  <zackw@panix.com>
677         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
678         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
679         Mention in top-of-file boilerplate that these files are shared
680         with gnulib.
681         * posix/getopt.h, posix/bits/getopt_posix.h:
682         Mention in top-of-file boilerplate that these files are NOT shared
683         with gnulib, unlike the rest of the getopt implementation.
685         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
686         New files, intended to be shared with gnulib.
687         * posix/bits/getopt_posix.h:
688         New file, not intended to be shared with gnulib.
689         * posix/getopt.h: Now just includes features.h,
690         bits/getopt_core.h, and bits/getopt_ext.h.  Will
691         no longer be shared with gnulib.
692         * include/bits/getopt_core.h, include/bits/getopt_ext.h
693         * include/bits/getopt_posix.h: New wrappers.
694         * posix/Makefile: Install new headers.
695         * posix/unistd.h, libio/stdio.h:
696         Include bits/getopt_posix.h instead of getopt.h.
698         * include/libc-symbols.h: For gnulib compatibility, define
699         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
700         _GL_ATTRIBUTE_CONST.
701         * posix/getopt.c (_getopt_initialize): Mark argc and argv
702         parameters with _GL_UNUSED.
704         * posix/getopt.c: When used standalone, define __libc_use_alloca
705         as always false and alloca to abort if called.
706         (process_long_option): Rewrite handling of ambiguous long options
707         to use a single boolean vector, not a linked list; use
708         __libc_use_alloca to decide whether to allocate this using alloca.
709         * posix/tst-getopt_long1.c: Adjust text of expected error message.
711         * posix/getopt.c (process_long_option): New function split out
712         from _getopt_internal_r.
713         (_getopt_internal_r): Replace both copies of the long-option
714         processing code with calls to process_long_option.
715         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
716         (do_test): Differentiate argv[0] in the two subtests.
718         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
719         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
720         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
722         * posix/getopt.h: Add backup definition of __nonnull for
723         consistency with gnulib.  Define __getopt_argv_const to const
724         if not already defined.
725         (getopt): Update doc comment from gnulib.  Prototype
726         unconditionally.  Add __nonnull annotation.
727         (__posix_getopt): Add __nonnull annotation.
728         (getopt_long, getopt_long_only): Use __getopt_argv_const in
729         prototypes for consistency with gnulib.  Add __nonnull
730         annotations.
731         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
732         (getopt_internal): Change 'argv' argument to type 'char **'.
733         Remove now-unnecessary casts.
734         (getopt, __posix_getopt): Eliminate repetition with a macro.
735         Cast 'argv' to 'char **' when calling _getopt_internal.
736         * posix/getopt1.c (getopt_long, getopt_long_only):
737         Use __getopt_argv_const for consistency with gnulib.
738         Cast 'argv' to 'char **' when calling _getopt_internal.
739         (_getopt_long_r, _getopt_long_only_r):
740         Change 'argv' argument to type 'char **'.
741         (main): Constify 'long_options'.
742         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
743         (_getopt_long_r, _getopt_long_only_r):
744         Change 'argv' argument to type 'char **'.
746         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
747         (locked_vfxprintf): New helper function. Handle arbitrary
748         multibyte strings, not just ASCII.
749         * include/stdio.h: Declare __fxprintf_nocancel.
750         * posix/getopt.c: When _LIBC is defined, define fprintf to
751         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
752         to _IO_funlockfile.  When neither _LIBC nor
753         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
754         funlockfile as no-ops.
755         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
756         the standalone error-printing code can now be used for libc as
757         well.  Add an flockfile/funlockfile pair around one case where
758         the error message is printed in several chunks.  Don't use fputc.
759         * posix/tst-getopt-cancel.c: New test.
760         * posix/Makefile: Run it.
762         * posix/getopt.c (_getopt_internal_r): Don't increment
763         d->optind a second time when reporting ambiguous -W options.
765         * posix/getopt_int.h: Include getopt.h.
766         Use impl-namespace names for all arguments to _getopt_internal and
767         _getopt_internal_r.
768         Declare __ordering enum outside the struct.
769         Harmonize comments with gnulib.
770         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
771         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
772         #ifdef TEST block and make unconditional.  Do not define NULL.
773         * posix/getopt.c: Partial merge from gnulib, covering the
774         initial includes and global declarations, commentary, and
775         a couple of semantically-neutral code changes.
777         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
778         Use '...' instead of `...' for quotation marks inside
779         comments and strings.
781         * config.h.in (USE_NONOPTION_FLAGS): Remove.
782         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
783         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
784         * posix/getopt_int.h: Likewise.
785         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
786         __libc_argc and __libc_argv externs, which were only used by
787         #ifdef USE_NONOPTION_FLAGS blocks.
788         * posix/getopt_init.c: Remove file.
789         * posix/Makefile (routines): Remove getopt_init.
790         * include/getopt.h: Don't declare __getopt_initialize_environment.
791         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
792         a comment.
794 2017-04-07  Florian Weimer  <fweimer@redhat.com>
796         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
798 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
800         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
801         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
802         to __wrap_.udiv.
803         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
804         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
806         * sysdeps/i386/symbol-hacks.h: New file.
807         * sysdeps/m68k/symbol-hacks.h: New file.
808         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
809         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
810         * sysdeps/unix/sysv/linux/i386/Makefile
811         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
812         [$(subdir) = csu] (sysdep-only-routines): Likewise.
813         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
814         * sysdeps/unix/sysv/linux/m68k/Makefile
815         [$(subdir) = csu] (sysdep_routines): Likewise.
816         [$(subdir) = csu] (sysdep-only-routines): Likewise.
817         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
819         [$(subdir) = csu] (sysdep_routines): Likewise.
820         [$(subdir) = csu] (sysdep-only-routines): Likewise.
821         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
822         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
823         [$(subdir) = csu] (sysdep_routines): Likewise.
824         [$(subdir) = csu] (sysdep-only-routines): Likewise.
825         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
826         * sysdeps/wordsize-32/Makefile: Remove file.
827         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
828         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
830 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
832         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
833         (TEST_FUNCTION_ARGV): New.
835 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
837         * elf/next.c: Import support/test-driver.c instead of
838         test-skeleton.c and delete TEST_FUNCTION macro definition.
839         * elf/nodelete.c: Likewise.
840         * elf/order2.c: Likewise.
841         * elf/tst-_dl_addr_inside_object.c: Likewise.
842         * elf/tst-addr1.c: Likewise.
843         * elf/tst-align.c: Likewise.
844         * elf/tst-align2.c: Likewise.
845         * elf/tst-audit11.c: Likewise.
846         * elf/tst-audit12.c: Likewise.
847         * elf/tst-audit2.c: Likewise.
848         * elf/tst-audit9.c: Likewise.
849         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
850         * elf/tst-deep1.c: Likewise.
851         * elf/tst-dl-iter-static.c: Likewise.
852         * elf/tst-dlmodcount.c: Likewise.
853         * elf/tst-dlmopen1.c: Likewise.
854         * elf/tst-dlmopen2.c: Likewise.
855         * elf/tst-dlmopen3.c: Likewise.
856         * elf/tst-dlopen-aout.c: Likewise.
857         * elf/tst-dlopenrpath.c: Likewise.
858         * elf/tst-dlsym-error.c: Likewise.
859         * elf/tst-execstack-needed.c: Likewise.
860         * elf/tst-execstack-prog.c: Likewise.
861         * elf/tst-execstack.c: Likewise.
862         * elf/tst-global1.c: Likewise.
863         * elf/tst-gnu2-tls1.c: Likewise.
864         * elf/tst-latepthread.c: Likewise.
865         * elf/tst-leaks1.c: Likewise.
866         * elf/tst-linkall-static.c: Likewise.
867         (do_test): New function.
868         * elf/tst-nodelete-opened.c: Likewise.
869         * elf/tst-nodelete.cc: Likewise.
870         * elf/tst-nodelete2.c: Likewise.
871         * elf/tst-noload.c: Likewise.
872         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
873         * elf/tst-order-main.c: Likewise.
874         * elf/tst-pathopt.c: Likewise.
875         * elf/tst-pie2.c: Likewise.
876         * elf/tst-piemod1.c: Likewise.
877         * elf/tst-prelink.c: Likewise.
878         * elf/tst-protected1a.c: Likewise.
879         * elf/tst-protected1b.c: Likewise.
880         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
881         and define _GNU_SOURCE macro.
882         (cmdline_process_function): New function.
883         * elf/tst-relsort1.c: Likewise.
884         * elf/tst-stackguard1.c: Likewise, import getopt.h,
885         and define _GNU_SOURCE macro.
886         (cmdline_process_function): New function.
887         * elf/tst-thrlock.c: Likewise.
888         * elf/tst-tls-dlinfo.c: Likewise.
889         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
890         * elf/tst-tls1.c: Likewise.
891         * elf/tst-tls10.c: Likewise.
892         * elf/tst-tls11.c: Likewise.
893         * elf/tst-tls12.c: Likewise.
894         * elf/tst-tls13.c: Likewise.
895         * elf/tst-tls14.c: Likewise.
896         * elf/tst-tls15.c: Likewise.
897         * elf/tst-tls16.c: Likewise.
898         * elf/tst-tls17.c: Likewise.
899         * elf/tst-tls18.c: Likewise.
900         * elf/tst-tls19.c: Likewise.
901         * elf/tst-tls2.c: Likewise.
902         * elf/tst-tls3.c: Likewise.
903         * elf/tst-tls4.c: Likewise.
904         * elf/tst-tls5.c: Likewise.
905         * elf/tst-tls6.c: Likewise.
906         * elf/tst-tls7.c: Likewise.
907         * elf/tst-tls8.c: Likewise.
908         * elf/tst-tls9.c: Likewise.
909         * elf/tst-tlsalign-extern.c: Likewise.
910         * elf/tst-tlsalign.c: Likewise.
911         * elf/tst-unique1.c: Likewise.
912         * elf/tst-unique2.c: Likewise.
913         * elf/vismain.c: Likewise.
915 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
917         * string/test-strnlen.c (do_page_tests): New function
918         to check length of strings ending at the page boundary.
919         (test_main): Added call to the do_page_tests function.
921 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
922             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
924         * sysdeps/powerpc/powerpc64/multiarch/Makefile
925         (sysdep_routines): Add strnlen-power8.
926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
927         (strnlen): Add __strnlen_power8 to list of strnlen functions.
928         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
929         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
930         (__strnlen): Add __strnlen_power8 to ifunc list.
931         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
933 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
935         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
936         the TEST_FUNCTION macro definition.
937         * wcsmbs/tst-mbrtowc2.c: Likewise.
938         * wcsmbs/tst-mbsrtowcs.c: Likewise.
939         * wcsmbs/tst-wchar-h.c: Likewise.
940         * wcsmbs/tst-wcpncpy.c: Likewise.
941         * wcsmbs/tst-wcrtomb.c: Likewise.
942         * wcsmbs/tst-wcsnlen.c: Likewise.
943         * wcsmbs/tst-wcstof.c: Likewise.
945 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
947         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
948         CALL_THREAD_FCT macro usage.
949         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
950         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
951         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
953         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
954         * sysdeps/unix/sysv/linux/arm/kernel-features.h
955         (__ASSUME_REQUEUE_PI): Likewise.
956         * sysdeps/unix/sysv/linux/kernel-features.h
957         (__ASSUME_REQUEUE_PI): Likewise.
958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
959         (__ASSUME_REQUEUE_PI): Likewise.
960         * sysdeps/unix/sysv/linux/mips/kernel-features.h
961         (__ASSUME_REQUEUE_PI): Likewise.
962         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
963         (__ASSUME_REQUEUE_PI): Likewise.
965 2017-04-04  Florian Weimer  <fweimer@redhat.com>
967         * resolv/tst-resolv-canonname.c: New file.
968         * resolv/Makefile (tests): Add tst-resolv-canonname.
969         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
971 2017-04-04  Florian Weimer  <fweimer@redhat.com>
973         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
974         Declare.
975         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
976         (NS_MAXCDNAME): Remove definition.
977         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
978         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
979         (NS_MAXCDNAME): Remove definition.
980         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
982 2017-04-04  Florian Weimer  <fweimer@redhat.com>
984         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
985         call whose result is not used.
987 2017-04-04  Florian Weimer  <fweimer@redhat.com>
989         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
990         * resolv/Makefile (tests): Add tst-ns_name.
991         (tst-ns_name): Link with -lresolv.
992         (tst-ns_name.out): Depend on the input data file.
994 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
996         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
997         Clobber also r14.
999 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1001         [BZ #21253]
1002         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1003         slack space by 32KiB.
1005 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1007         [BZ #21338]
1008         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1009         instead of incorrect do_set_arena_test
1011 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1013         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1014         * math/bits/math-finite.h: Likewise.
1016 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1018         [BZ #21289]
1019         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1021 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1023         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1024         non expected inotify_add_watch and quotactl return.
1026 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1028         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1029         to int32_t.
1030         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1031         as returning int32_t.
1033 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1035         * math/math.h: Include bits/math-finite.h once per
1036         floating-point type.
1037         * math/bits/math-finite.h: Macroize all declarations by
1038         floating-point type.
1040 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1042         [BZ #21182]
1043         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1044         near end of a page.
1045         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1046         overflow calculation.
1048 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1050         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1051         (IMPL) Call with 1 instead of 0 as argument.
1053 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1055         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1056         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1057         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1058         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1059         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1060         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1061         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1062         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1063         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1064         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1065         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1066         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1067         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1068         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1069         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1070         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1071         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1072         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1073         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1074         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1075         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1076         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1077         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1078         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1079         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1080         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1081         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1082         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1083         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1084         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1085         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1086         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1087         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1088         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1089         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1090         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1091         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1092         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1093         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1094         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1095         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1096         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1098         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1099         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1101         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1103         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1105         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1107         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1108         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1109         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1110         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1111         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1112         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1113         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1114         defined.
1115         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1116         __NR_setgroups32 if defined.
1117         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1118         if defined.
1119         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1120         __NR_setresgid32 is defined.
1121         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1122         __NR_setresuid32 if defined.
1123         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1124         __NR_setreuid32 if defined.
1125         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1126         defined.
1127         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1128         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1129         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1130         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1131         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1132         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1133         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1134         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1135         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1136         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1137         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1138         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1139         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1140         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1141         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1142         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1143         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1144         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1145         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1146         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1147         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1148         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1149         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1150         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1151         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1152         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1153         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1154         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1155         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1156         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1157         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1158         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1159         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1160         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1161         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1162         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1163         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1164         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1165         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1166         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1167         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1168         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1169         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1170         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1171         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1172         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1174         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1175         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1176         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1177         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1178         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1179         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1180         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1181         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1182         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1183         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1184         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1185         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1186         defined.
1187         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1188         __NR_setgroups32 if defined.
1189         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1190         if defined.
1191         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1192         __NR_setresgid32 is defined.
1193         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1194         __NR_setresuid32 if defined.
1195         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1196         __NR_setreuid32 if defined.
1197         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1198         defined.
1200 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #21277]
1203         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1204         unconditionally.
1205         (IMAXBEL): Likewise.
1206         (IUTF8): Likewise.
1208 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1210         * sysdeps/aarch64/libm-test-ulps: Update.
1212 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1214         * README.tunables: Updated descriptions.
1215         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1216         * scripts/gen-tunables.awk: Updated the code related to the
1217         commit.
1219 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1221         * benchtests/Makefile (string-benchset): Add memcpy-random.
1222         * benchtests/bench-memcpy-random.c: New file.
1224 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1226         * stdio-common/printf.h (register_printf_modifier): Change the
1227         order of __wur and __THROW.
1228         (register_printf_type): Likewise.
1230 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1232         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1233         test_main ().
1234         (CMDLINE_PROCESS): Use function instead of defined macro.
1235         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1236         <suppport/support.h> to use set_fortify_handler().
1237         * string/bug-envz1.c: Import support/test-driver.c instead of
1238         test-skeleton.c.
1239         * string/bug-strcoll2.c: Likewise.
1240         * string/bug-strtok1.c: Likewise.
1241         * string/stratcliff.c: Likewise.
1242         * string/test-ffs.c: Likewise.
1243         * string/test-memccpy.c: Likewise.
1244         * string/test-memchr.c: Likewise.
1245         * string/test-memcmp.c: Likewise.
1246         * string/test-memcpy.c: Likewise.
1247         * string/test-memmem.c: Likewise.
1248         * string/test-memmove.c: Likewise.
1249         * string/test-memrchr.c: Likewise.
1250         * string/test-memset.c: Likewise.
1251         * string/test-rawmemchr.c: Likewise.
1252         * string/test-strcasecmp.c: Likewise.
1253         * string/test-strcasestr.c: Likewise.
1254         * string/test-strcat.c: Likewise.
1255         * string/test-strchr.c: Likewise.
1256         * string/test-strcmp.c: Likewise.
1257         * string/test-strcpy.c: Likewise.
1258         * string/test-string.h: Likewise.
1259         * string/test-strlen.c: Likewise.
1260         * string/test-strncasecmp.c: Likewise.
1261         * string/test-strncat.c: Likewise.
1262         * string/test-strncmp.c: Likewise.
1263         * string/test-strncpy.c: Likewise.
1264         * string/test-strnlen.c: Likewise.
1265         * string/test-strpbrk.c: Likewise.
1266         * string/test-strrchr.c: Likewise.
1267         * string/test-strspn.c: Likewise.
1268         * string/test-strstr.c: Likewise.
1269         * string/tst-bswap.c: Likewise.
1270         * string/tst-cmp.c: Likewise.
1271         * string/tst-endian.c: Likewise.
1272         * string/tst-inlcall.c: Likewise.
1273         * string/tst-strcoll-overflow.c: Likewise.
1274         * string/tst-strfry.c: Likewise.
1275         * string/tst-strlen.c: Likewise.
1276         * string/tst-strtok.c: Likewise.
1277         * string/tst-strtok_r.c: Likewise.
1278         * string/tst-strxfrm.c: Likewise.
1279         * string/tst-strxfrm2.c: Likewise.
1280         * string/tst-svc.c: Likewise.
1281         * string/tst-svc2.c: Likewise.
1283 2017-03-22  Zack Weinberg  <zackw@panix.com>
1285         * stdio-common/bug25.c: Include stdlib.h.
1286         * support/tst-support_format_dns_packet.c: Include stdio.h,
1287         stdlib.h, and string.h.
1288         * support/tst-support_record_failure.c: Include string.h.
1289         * support/tst-support_record_failure-2.sh: Adjust line number
1290         expectations and correct a typo in an error message.
1292 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1294         [BZ #21258]
1295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1296         Define only if _dl_runtime_resolve is defined to
1297         _dl_runtime_resolve_sse_vex.
1298         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1299         Fallthrough to _dl_runtime_resolve_sse_vex.
1301 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1303         * INSTALL: Regenerated.
1305 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1307         * config.h.in: Add LINK_OBSOLETE_NSL.
1308         * config.make.in: Add build-obsolete-nsl.
1309         * configure.ac: Add obsolete-nsl option.
1310         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1311         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1312         * include/rpcsvc/nislib.h: Likewise.
1313         * include/rpcsvc/ypclnt.h: Likewise.
1314         * manual/install.texi: Document --enable-obsolete-nsl.
1315         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1316         * nis/nis_add.c: Replace libnsl_hidden_def with
1317         libnsl_hidden_nolink_def.
1318         * nis/nis_addmember.c: Likewise.
1319         * nis/nis_call.c: Likewise.
1320         * nis/nis_clone_obj.c: Likewise.
1321         * nis/nis_defaults.c: Likeise.
1322         * nis/nis_domain_of_r.c: Likewise.
1323         * nis/nis_error.c: Likewise.
1324         * nis/nis_file.c: Likewise.
1325         * nis/nis_free.c: Likewise.
1326         * nis_local_names.c: Likewise.
1327         * nis/nis_lookup.c: Likewise.
1328         * nis/nis_modify.c: Likewise.
1329         * nis/nis_print.c: Likewise.
1330         * nis/nis_remove.c: Likewise.
1331         * nis/nis_table.c: Likewise.
1332         * nis/nis_util.c: Likewise.
1333         * nis/nis_xdr.c: Likewise.
1334         * nis/yp_xdr.c: Likewise.
1335         * nis/ypclnt.c: Likewise.
1336         * nis/ypupdate_xdr.c: Likewise.
1337         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1338         * nis/nis_clone_dir.c: Likewise.
1339         * nis/nis_clone_res.c: Likewise.
1340         * nis/nis_creategroup.c: Likewise.
1341         * nis/nis_destroygroup.c: Likewise.
1342         * nis/nis_domain_of.c: Likewise.
1343         * nis/nis_getservlist.c: Likewise.
1344         * nis/nis_ismember.c: Likewise.
1345         * nis/nis_mkdir.c: Likewise.
1346         * nis/nis_ping.c: Likewise.
1347         * nis/nis_print_group_entry.c: Likewise.
1348         * nis/nis_removemember.c: Likewise.
1349         * nis/nis_rmdir.c: Likewise.
1350         * nis/nis_server.c: Likewise.
1351         * nis/nis_subr.c: Likewise.
1352         * nis/nis_verifygroup.c: Likewise.
1354 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1356         * malloc/tst-interpose-aux.c (check_for_allocations):
1357         Move compiler barrier before free.
1359 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #21279]
1362         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1363         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1364         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1365         x86_64-x32-linux.
1366         (mq_attr.mq_maxmsg): Likewise.
1367         (mq_attr.mq_msgsize): Likewise.
1368         (mq_attr.mq_curmsgs): Likewise.
1370         [BZ #21278]
1371         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1372         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1373         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1374         mips-o32-linux.
1376         [BZ #21268]
1377         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1378         if [__USE_MISC]
1379         (NL3): Likewise.
1381 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1383         [BZ #21275]
1384         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1385         __stack to __stackbase.
1386         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1387         checks so we can include defined(__ia64__) first.
1389 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1391         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1392         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1393         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1394         Call is_pty when the link does not exist or does not match, fail
1395         with ENODEV when it returns true.
1396         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1397         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1398         Call is_pty when the link does not exist or does not match, fail
1399         with ENODEV when it returns true.
1401 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1403         [BZ #16437]
1404         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1405         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1406         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1407         x86_64-x32-linux.
1408         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1409         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1410         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1412         [BZ #21261]
1413         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1414         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1415         names for all fields.
1416         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1417         for jmp_buf field renaming.
1418         (_JMPBUF_UNWINDS_ADJ): Likewise.
1420         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1421         with allow-header.
1423 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1425         * malloc/malloc.c (unlink): Add consistency check between size and
1426         next->prev->size, to further harden against 1-byte overflows.
1428 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1430         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1431         CPU_FEATURES_CPU_P.
1433 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1435         [BZ #21259]
1436         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1437         unconditionally, not just for [__USE_MISC].
1439         [BZ #17786]
1440         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1441         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1442         mips-o32-linux.
1444         [BZ #21260]
1445         * sysdeps/unix/sysv/linux/alpha/Makefile
1446         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1447         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1449         * conform/conformtest.pl ($cross): New variable.
1450         (--cross): New command-line option.
1451         (runtest): Skip test execution when cross-compiling.
1452         * conform/Makefile (conformtest-cross): New variable.
1453         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1454         conformtest.pl.
1456         * conform/conformtest.pl ($xfail_str): New variable.
1457         (--xfail=): New command-line option.
1458         (top level): Handle expectations starting xfail[cond]-.
1459         * conform/Makefile (conformtest-xfail): New variable.
1460         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1461         conformtest.pl.
1463 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1465         * conform/conformtest.pl: Use compilation instead of execution
1466         tests for testing values of constants and usability in #if.
1468 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1470         * math/auto-libm-test-in: Mark some catan and catanh as
1471         xfail-rounding:ibm128-libgcc.
1472         * math/auto-libm-test-out-catan: Regenerate.
1473         * math/auto-libm-test-out-catanh: Likewise.
1475 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1477         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1478         (__END_NAMESPACE_STD): Likewise.
1479         (__USING_NAMESPACE_STD): Likewise.
1480         (__BEGIN_NAMESPACE_C99): Likewise.
1481         (__END_NAMESPACE_C99): Likewise.
1482         (__USING_NAMESPACE_C99): Likewise.
1483         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1484         undefine macro.
1485         (_Mdouble_END_NAMESPACE): Likewise.
1486         * ctype/ctype.h: Do not handle C++ namespaces.
1487         * libio/bits/stdio-ldbl.h: Likewise.
1488         * libio/stdio.h: Likewise.
1489         * locale/locale.h: Likewise.
1490         * math/bits/mathcalls.h: Likewise.
1491         * setjmp/setjmp.h: Likewise.
1492         * signal/signal.h: Likewise.
1493         * stdlib/bits/stdlib-float.h: Likewise.
1494         * stdlib/bits/stdlib-ldbl.h: Likewise.
1495         * stdlib/stdlib.h: Likewise.
1496         * string/string.h: Likewise.
1497         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1498         * time/bits/types/clock_t.h: Likewise.
1499         * time/bits/types/struct_tm.h: Likewise.
1500         * time/bits/types/time_t.h: Likewise.
1501         * time/time.h: Likewise.
1502         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1503         * wcsmbs/uchar.h: Likewise.
1504         * wcsmbs/wchar.h: Likewise.
1505         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1506         * wctype/wctype.h: Do not handle C++ namespaces.
1507         * scripts/begin-end-check.pl: Remove.
1508         * Makefile (installed-headers): Likewise.
1509         (tests-special): Do not add $(objpfx)begin-end-check.out.
1510         ($(objpfx)begin-end-check.out): Remove.
1512 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1513             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1515         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1516         (DL_PLATFORM_INIT): New define.
1517         (dl_platform_init): New function.
1518         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1519         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1520         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1521         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1522         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1524 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1526         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1527         instead of PIC.
1529 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1531         [BZ #21094]
1532         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1533         24+24+24-bit pi for wider range of values around pi/2.
1534         * math/auto-libm-test-in: Add more tests of cos and tan.
1535         * math/auto-libm-test-out-cos: Regenerated.
1536         * math/auto-libm-test-out-tan: Likewise.
1538 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1540         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1541         (RTLD_START): Don't record stack end address in _dl_start_user.
1543 2017-03-15  Alexey Neyman  <stilor@att.net>
1545         [BZ #21088]
1546         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1547         around definitions match those around use.
1549 2017-03-15  Alexey Neyman  <stilor@att.net>
1551         * configure.ac: Avoid empty subexpression in grep.
1552         * configure: Regenerate.
1554 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1556         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1557         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1558         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1559         (test_wrp_rv): Fix format.
1560         (test_wrp_rv2): New macro.
1561         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1562         binaries.
1564 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1566         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1567         Use a union when storing pointers.
1568         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1569         cast result when passing to INIT_VEC_PTRS_LOOP.
1570         (VECTOR_WRAPPER_fFF_3): Likewise.
1571         (VECTOR_WRAPPER_fFF_4): Likewise.
1573 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1575         * include/bits/mathcalls-helper-functions.h: New file.
1576         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1577         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1578         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1579         math/bits/mathcalls-helper-functions.h.
1580         * math/bits/mathcalls-helper-functions.h: New file.
1581         * math/math.h: Include bits/mathcalls-helper-functions.h for
1582         float, double, and long double.
1584 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1586         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1587         instead of feraiseexcept.
1589 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1591         [BZ #21243]
1592         * support/temp_file.c (support_delete_temp_files): Add comment
1593         about ignored errors.
1595 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1597         [BZ #21244]
1598         * support/xclose.c: New file.
1599         * support/Makefile (libsupport-routines): Add xclose.
1600         * support/xunistd.h (xclose): Declare.
1601         * support/resolv_test.c (server_thread_tcp_client)
1602         (server_thread_tcp, make_server_sockets, resolv_test_start)
1603         (resolv_test_end): Call xclose instead of close.
1604         * support/support_enter_network_namespace.c
1605         (support_enter_network_namespace): Likewise.
1606         * support/support_run_diff.c (write_to_temp_file): Likewise.
1608 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1610         * support/support_format_dns_packet.c (support_format_dns_packet):
1611         Handle CNAME records in the response.  Extract RDATA names from
1612         rdata, not the whole packet.  Check AAAA record length.
1613         * support/tst-support_format_dns_packet.c: New file.
1614         * support/Makefile (tests): Add tst-support_format_dns_packet.
1615         (tst-support_format_dns_packet): Link against libresolv.
1617 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1619         [BZ #21232]
1620         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1621         posix_fadvise64 weak_alias for static build.
1623 2017-03-14  Andreas Schwab  <schwab@suse.de>
1625         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1626         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1627         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1628         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1629         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1630         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1631         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1632         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1634 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1636         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1637         posix error code.
1638         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1640 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1642         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1643         no_isolate usage for SH.
1645 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1647         [BZ #15105]
1648         [BZ #19463]
1649         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1650         * inet/rcmd.c (rcmd_af): Likewise.
1651         * inet/rexec.c   (rexec_af): Likewise.
1652         * intl/dcigettext.c (_LIBC): Likewise.
1653         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1654         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1655         * locale/setlocale.c (setlocale): Likewise.
1656         * posix/spawn_faction_addopen.c
1657         (posix_spawn_file_actions_addopen): Likewise.
1658         * stdlib/putenv.c (putenv): Use __strndup.
1659         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1661         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1662         (__Need_M_And_C) Remove define/undef.
1663         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1664         (__malloc_and_calloc_defined): Remove define.
1665         * string/bits/string2.h (__strdup): Remove define.
1666         (strdup): Likewise.
1667         (__strndup): Likewise.
1668         (strndup): Likewise.
1670 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1672         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1673         macro.
1674         (IPV6_ADDR_PREFERENCES): Likewise.
1675         (IPV6_MINHOPCOUNT): Likewise.
1676         (IPV6_ORIGDSTADDR): Likewise.
1677         (IPV6_RECVORIGDSTADDR): Likewise.
1678         (IPV6_TRANSPARENT): Likewise.
1679         (IPV6_UNICAST_IF): Likewise.
1680         (IPV6_RECVFRAGSIZE): Likewise.
1682 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1684         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1686 2017-03-12  Alexey Neyman <stilor@att.net>
1688         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1689         in R_SH_DIR32 case is always false when inlined from
1690         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1692 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1695         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1696         __ASSUME_SEND_SYSCALL.
1698 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1700         * sunrpc/Makefile: don't build and install rpcsvc header
1701         files, rpcgen and librpcsvc.a by default.
1703 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705         * math/auto-libm-test-out-catan: Regenerated.
1706         * math/auto-libm-test-out-catanh: Likewise.
1707         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1709 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1711         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1712         for long double with corrected test expectations.
1714 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1716         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1717         Define.
1718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1719         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1720         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1721         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1722         * sysdeps/unix/sysv/linux/tile/sysdep.h
1723         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1725         (__ASSUME_RECV_SYSCALL): Define.
1726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1727         (__ASSUME_RECV_SYSCALL): Likewise.
1728         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1729         (__ASSUME_RECV_SYSCALL): Likewise.
1730         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1731         (__ASSUME_RECV_SYSCALL): Likewise.
1732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1733         (__ASSUME_RECV_SYSCALL): Likewise.
1734         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1735         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1736         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1737         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1738         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1739         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1740         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1741         auto-generation list.
1742         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1743         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1744         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1745         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1746         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1747         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1748         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1749         __ASSUME_SENDTO_SYSCALL.
1750         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1751         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1752         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1754         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1755         auto-generation list.
1756         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1757         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1758         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1759         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1760         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1761         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1762         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1763         * sysdeps/unix/sysv/linux/kernel-features.h
1764         (__ASSUME_SENDTO_SYSCALL): Define by default.
1765         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1766         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1767         __NR_sendto.
1768         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1769         (__ASSUME_SENDTO_SYSCALL): Likewise.
1770         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1771         (__ASSUME_SENDTO_SYSCALL): Likewise.
1772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1773         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1774         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1775         (__ASSUME_SENDTO_SYSCALL): Likewise.
1776         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1777         (__ASSUME_SENDTO_SYSCALL): Likewise.
1778         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1780         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1781         auto-generation list.
1782         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1783         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1784         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1785         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1788         (__ASSUME_RECV_SYSCALL): New define.
1789         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1790         (__ASSUME_RECV_SYSCALL): Likewise.
1791         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1792         (__ASSUME_RECV_SYSCALL): Likewise.
1793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1794         (__ASSUME_RECV_SYSCALL): Likewise.
1795         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1796         (__ASSUME_RECV_SYSCALL): Likewise.
1797         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1798         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1799         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1800         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1801         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1802         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1803         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1804         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1805         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1806         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1807         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1808         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1810         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1811         auto-generation list.
1812         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1813         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1814         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1815         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1816         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1817         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1818         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1819         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1820         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1821         * sysdeps/unix/sysv/linux/kernel-features.h
1822         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1823         __NR_recvfrom.
1824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1825         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1826         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1827         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1829         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1830         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1831         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1832         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1833         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1834         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1835         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1836         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1838         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1839         auto-generation list.
1840         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1841         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1842         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1843         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1844         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1845         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1846         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1847         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1848         * sysdeps/unix/sysv/linux/kernel-features.h
1849         (__ASSUME_CONNECT_SYSCALL): Define.
1850         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1851         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1852         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1853         (__ASSUME_CONNECT_SYSCALL): Likewise.
1854         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1855         (__ASSUME_CONNECT_SYSCALL): Likewise.
1856         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1857         (__ASSUME_CONNECT_SYSCALL): Likewise.
1859         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1860         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1861         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1862         auto-generation list.
1863         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1864         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1865         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1866         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1867         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1869         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1870         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1871         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1872         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1873         * sysdeps/unix/sysv/linux/kernel-features.h
1874         (__ASSUME_ACCEPT_SYSCALL): New define.
1875         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1876         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1877         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1879         (__ASSUME_ACCEPT_SYSCALL): Define.
1880         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1881         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1882         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1883         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1884         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1885         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1886         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1887         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1888         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1890 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1891             Zack Weinberg  <zackw@panix.com>
1893         * posix/test-errno.c: New file.
1894         * posix/Makefile (tests): Add test-errno.
1895         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1896         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1898 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1900         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1902 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1904         * time/tzset.c (compute_offset): Open-code min macro.
1905         (min, max, sign): Remove.
1907 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1909         [BZ #15576]
1910         Remove TZNAME_MAX limit from sysconf.
1911         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1912         declaration.
1913         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1914         compute_tzname_max.
1915         (compute_tzname_max): Remove.
1916         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1917         (update_vars): Do not update __tzname_cur_max.
1918         (tzset_internal): Remove argument.
1919         (__tzset): Adjust call to tzset_internal.
1920         (__tz_convert): Likewise.
1922         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1923         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1924         * manual/conf.texi (Sysconf Definition): Update comment.
1926 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1928         [BZ #21209]
1929         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1930         AT_SECURE processes.
1931         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1932         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1933         (test_child): Likewise.
1934         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1936 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1938         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1940 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1942         * sysdeps/s390/atomic-machine.h
1943         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1944         (__arch_compare_and_exchange_val_8_acq,
1945         __arch_compare_and_exchange_val_16_acq,
1946         __arch_compare_and_exchange_val_32_acq,
1947         __arch_compare_and_exchange_val_64_acq):
1948         Delete macro.
1949         (atomic_compare_and_exchange_val_acq,
1950         atomic_compare_and_exchange_val_rel,
1951         atomic_compare_and_exchange_bool_acq,
1952         catomic_compare_and_exchange_bool_acq,
1953         atomic_exchange_acq, atomic_exchange_rel,
1954         atomic_exchange_and_add_acq,
1955         atomic_exchange_and_add_rel,
1956         catomic_exchange_and_add, atomic_or_val,
1957         atomic_or, catomic_or, atomic_bit_test_set,
1958         atomic_and_val, atomic_and, catomic_and):
1959         Define macros with help of C11 atomic builtins.
1961 2017-03-03  Justus Winter <justus@gnupg.org>
1963         * sysdeps/mach/hurd/ftruncate64.c: New file.
1964         * sysdeps/mach/hurd/truncate64.c: Likewise.
1966 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1968         * time/tzfile.c (NOID): Do not define.
1969         * time/tzset.c (NOID): Likewise.
1971 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1973         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1975 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1977         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1979 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1981         [BZ #21015]
1982         * manual/install.texi (Configuring and compiling): Document
1983         --enable-bind-now.
1984         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1985         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1986         (format.lds): Likewise.
1987         [bind-now] (LDFLAGS-c.so): Remove.
1988         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1989         be R_X86_64_GLOB_DAT.
1990         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1991         relocation can be R_386_GLOB_DAT.
1992         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1993         relocaiton can be R_ALPHA_GLOB_DAT.
1994         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1996 2017-03-01  Zack Weinberg  <zackw@panix.com>
1998         * include/libc-pointer-arith.h: New file.  Define
1999         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2000         PTR_ALIGN_DOWN here.
2001         * include/libc-internal.h: Definitions of above macros
2002         moved from here.  Don't include libc-diag.h anymore either.
2003         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2004         Don't include libc-internal.h.
2006         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2007         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2008         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2009         * string/strcoll_l.c, sysdeps/nacl/brk.c
2010         * sysdeps/unix/clock_settime.c
2011         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2012         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2015         Don't include libc-internal.h.
2017         * elf/get-dynamic-info.h, iconv/loop.c
2018         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2019         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2020         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2021         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2022         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2023         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2025         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2026         * sysdeps/ieee754/ldbl-128/k_tanl.c
2027         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2028         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2029         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2030         Include libc-diag.h instead of libc-internal.h.
2032         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2033         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2034         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2035         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2036         * sysdeps/unix/sysv/linux/spawni.c
2037         * sysdeps/x86_64/nptl/tls.h:
2038         Include libc-pointer-arith.h instead of libc-internal.h.
2040         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2041         * sysdeps/x86_64/atomic-machine.h:
2042         Add multiple include guard.
2044         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2045         * string/strcasestr.c: No need to include config.h.
2046         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2047         sys/auxv.h. Don't include sysdep.h.
2048         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2050         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2051         DL_LOOKUP_ADDRESS.
2052         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2053         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2054         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2055         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2056         of ARTIFICIAL_LIMIT.
2057         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2058         declaration of __clone2.
2060 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2062         * scripts/backport-support.sh (latest_commit): New file.
2064 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2066         [BZ #20257]
2067         * inet/Makefile (routines): Add deadline.
2068         (tests-static): Add tst-deadline.
2069         * inet/net-internal.h (struct deadline_current_time)
2070         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2071         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2072         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2073         * inet/deadline.c: New file.
2074         * inet/tst-deadline.c: Likewise.
2075         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2076         tst-udp-timeout, tst-udp-garbage.
2077         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2078         explicitly.
2079         (tst-udp-garbage): Likewise.  Also link against thread library.
2080         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2081         struct layout is part of the ABI.
2082         (clntudp_call): Rework timeout handling.
2083         * sunrpc/tst-udp-garbage.c: New file.
2084         * sunrpc/tst-udp-nonblocking.c: Likewise.
2085         * sunrpc/tst-udp-timeout.c: Likewise.
2087 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2089         [BZ #5010]
2090         * sunrpc/svc.c (svc_is_mapped): Remove.
2091         (svc_unregister): Obtain mapped status while the service is still
2092         registered.
2093         * sunrpc/Makefile [have-thread-library] (tests): Add
2094         tst-svc_register.
2095         (tst-svc_register): Link against libc.so explicitly and the thread
2096         library.
2097         * sunrpc/tst-svc_register.c: New file.
2099 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2101         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2102         * sysdeps/pthread/bits/sigthread.h: Likewise.
2104 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2106         [BZ #21115]
2107         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2108         * sunrpc/Makefile (tests): Add tst-udp-error.
2109         (tst-udp-error): Link against libc.so explicitly.
2110         * sunrpc/tst-udp-error: New file.
2112 2017-02-25  Zack Weinberg  <zackw@panix.com>
2114         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2115         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2117         * sysdeps/generic/math_ldbl.h
2118         * sysdeps/ia64/fpu/math_ldbl.h
2119         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2120         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2121         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2122         * sysdeps/powerpc/fpu/math_ldbl.h
2123         * sysdeps/x86_64/fpu/math_ldbl.h:
2124         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2125         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2126         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2127         Add copyright notices.
2129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2130         Don't use EXTRACT_WORDS64.
2132         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2133         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2134         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2135         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2136         Include math_ldbl.h, not math_private.h.
2138 2017-02-25  Zack Weinberg  <zackw@panix.com>
2140         * include/libc-diag.h: New file.  Define ignore_value,
2141         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2142         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2144         * include/libc-internal.h: Definitions of above macros moved from
2145         here.  Include libc-diag.h.  Add copyright notice.
2147         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2148         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2149         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2150         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2151         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2152         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2153         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2154         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2155         Include libc-diag.h instead of libc-internal.h.
2157         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2158         call to unsetenv (NULL).
2159         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2160         call to pthread_mutexattr_destroy (NULL).
2162 2017-02-25  Zack Weinberg  <zackw@panix.com>
2164         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2165         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2166         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2167         gets was removed from C++ in C++14.
2168         * include/stdio.h: Remove redundant declaration of gets.
2169         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2170         be declared, since we are testing it.
2171         * stdio-common/Makefile (tst-gets.c): Compile with
2172         -Wno-deprecated-declarations.
2173         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2174         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2175         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2176         Compile with -Wno-deprecated-declarations.
2178 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2180         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2181         numbers.
2183 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2185         * resolv/tst-resolv-qtypes.c (domain):
2186         Change type to const pointer to const char.
2188 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2190         * math/Makefile (libm-tests-generated): Remove variable.
2191         (libm-tests-base-normal): New variable.
2192         (libm-tests-base-finite): Likewise.
2193         (libm-tests-base-inline): Likewise.
2194         (libm-tests-base): Likewise.
2195         (libm-tests-normal): Likewise.
2196         (libm-tests-finite): Likewise.
2197         (libm-tests-inline): Likewise.
2198         (libm-tests-vector): Likewise.
2199         (libm-tests): Define in terms of these new variables.
2200         (libm-tests-for-type): New variable.
2201         (libm-tests.o): Move definition.
2202         (tests): Move addition of $(libm-tests).
2203         (generated): Update for new and removed libm test files.
2204         ($(objpfx)libm-test.c): Remove target.
2205         ($(objpfx)libm-have-vector-test.h): Likewise.
2206         (CFLAGS-test-double-vlen2.c): Remove variable.
2207         (CFLAGS-test-double-vlen4.c): Likewise.
2208         (CFLAGS-test-double-vlen8.c): Likewise.
2209         (CFLAGS-test-float-vlen4.c): Likewise.
2210         (CFLAGS-test-float-vlen8.c): Likewise.
2211         (CFLAGS-test-float-vlen16.c): Likewise.
2212         (CFLAGS-test-float.c): Likewise.
2213         (CFLAGS-test-float-finite.c): Likewise.
2214         (CFLAGS-libm-test-support-float.c): Likewise.
2215         (CFLAGS-test-double.c): Likewise.
2216         (CFLAGS-test-double-finite.c): Likewise.
2217         (CFLAGS-libm-test-support-double.c): Likewise.
2218         (CFLAGS-test-ldouble.c): Likewise.
2219         (CFLAGS-test-ldouble-finite.c): Likewise.
2220         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2221         (libm-test-inline-cflags): New variable.
2222         (CFLAGS-test-ifloat.c): Remove variable.
2223         (CFLAGS-test-idouble.c): Likewise.
2224         (CFLAGS-test-ildouble.c): Likewise.
2225         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2226         dependencies.
2227         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2228         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2229         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2230         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2231         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2232         Likewise.
2233         (dependencies on libm-test-support-*.o): Remove.
2234         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2235         rules using iterators.
2236         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2237         Likewise.
2238         ($(objpfx)libm-test-support-$(o).o): Likewise.
2239         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2240         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2241         instead.
2242         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2243         define rule instead.
2244         * math/README.libm-test: Update.
2245         * math/libm-test-acos.inc: Include libm-test-driver.c.
2246         (do_test): New function.
2247         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2248         (do_test): New function.
2249         * math/libm-test-asin.inc: Include libm-test-driver.c.
2250         (do_test): New function.
2251         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2252         (do_test): New function.
2253         * math/libm-test-atan.inc: Include libm-test-driver.c.
2254         (do_test): New function.
2255         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2256         (do_test): New function.
2257         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2258         (do_test): New function.
2259         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2260         (do_test): New function.
2261         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2262         (do_test): New function.
2263         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2264         (do_test): New function.
2265         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2266         (do_test): New function.
2267         * math/libm-test-carg.inc: Include libm-test-driver.c.
2268         (do_test): New function.
2269         * math/libm-test-casin.inc: Include libm-test-driver.c.
2270         (do_test): New function.
2271         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2272         (do_test): New function.
2273         * math/libm-test-catan.inc: Include libm-test-driver.c.
2274         (do_test): New function.
2275         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2276         (do_test): New function.
2277         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2278         (do_test): New function.
2279         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2280         (do_test): New function.
2281         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2282         (do_test): New function.
2283         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2284         (do_test): New function.
2285         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2286         (do_test): New function.
2287         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2288         (do_test): New function.
2289         * math/libm-test-clog.inc: Include libm-test-driver.c.
2290         (do_test): New function.
2291         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2292         (do_test): New function.
2293         * math/libm-test-conj.inc: Include libm-test-driver.c.
2294         (do_test): New function.
2295         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2296         (do_test): New function.
2297         * math/libm-test-cos.inc: Include libm-test-driver.c.
2298         (do_test): New function.
2299         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2300         (do_test): New function.
2301         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2302         (do_test): New function.
2303         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2304         (do_test): New function.
2305         * math/libm-test-creal.inc: Include libm-test-driver.c.
2306         (do_test): New function.
2307         * math/libm-test-csin.inc: Include libm-test-driver.c.
2308         (do_test): New function.
2309         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2310         (do_test): New function.
2311         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2312         (do_test): New function.
2313         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2314         (do_test): New function.
2315         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2316         (do_test): New function.
2317         * math/libm-test-erf.inc: Include libm-test-driver.c.
2318         (do_test): New function.
2319         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2320         (do_test): New function.
2321         * math/libm-test-exp.inc: Include libm-test-driver.c.
2322         (do_test): New function.
2323         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2324         (do_test): New function.
2325         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2326         (do_test): New function.
2327         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2328         (do_test): New function.
2329         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2330         (do_test): New function.
2331         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2332         (do_test): New function.
2333         * math/libm-test-floor.inc: Include libm-test-driver.c.
2334         (do_test): New function.
2335         * math/libm-test-fma.inc: Include libm-test-driver.c.
2336         (do_test): New function.
2337         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2338         (do_test): New function.
2339         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2340         (do_test): New function.
2341         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2342         (do_test): New function.
2343         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2344         (do_test): New function.
2345         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2346         (do_test): New function.
2347         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2348         (do_test): New function.
2349         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2350         (do_test): New function.
2351         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2352         (do_test): New function.
2353         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2354         (do_test): New function.
2355         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2356         (do_test): New function.
2357         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2358         (do_test): New function.
2359         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2360         (do_test): New function.
2361         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2362         (do_test): New function.
2363         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2364         (do_test): New function.
2365         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2366         (do_test): New function.
2367         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2368         (do_test): New function.
2369         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2370         (do_test): New function.
2371         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2372         (do_test): New function.
2373         * math/libm-test-isless.inc: Include libm-test-driver.c.
2374         (do_test): New function.
2375         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2376         (do_test): New function.
2377         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2378         (do_test): New function.
2379         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2380         (do_test): New function.
2381         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2382         (do_test): New function.
2383         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2384         (do_test): New function.
2385         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2386         (do_test): New function.
2387         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2388         (do_test): New function.
2389         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2390         (do_test): New function.
2391         * math/libm-test-j0.inc: Include libm-test-driver.c.
2392         (do_test): New function.
2393         * math/libm-test-j1.inc: Include libm-test-driver.c.
2394         (do_test): New function.
2395         * math/libm-test-jn.inc: Include libm-test-driver.c.
2396         (do_test): New function.
2397         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2398         (do_test): New function.
2399         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2400         (do_test): New function.
2401         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2402         (do_test): New function.
2403         * math/libm-test-llround.inc: Include libm-test-driver.c.
2404         (do_test): New function.
2405         * math/libm-test-log.inc: Include libm-test-driver.c.
2406         (do_test): New function.
2407         * math/libm-test-log10.inc: Include libm-test-driver.c.
2408         (do_test): New function.
2409         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2410         (do_test): New function.
2411         * math/libm-test-log2.inc: Include libm-test-driver.c.
2412         (do_test): New function.
2413         * math/libm-test-logb.inc: Include libm-test-driver.c.
2414         (do_test): New function.
2415         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2416         (do_test): New function.
2417         * math/libm-test-lround.inc: Include libm-test-driver.c.
2418         (do_test): New function.
2419         * math/libm-test-modf.inc: Include libm-test-driver.c.
2420         (do_test): New function.
2421         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2422         (do_test): New function.
2423         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2424         (do_test): New function.
2425         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2426         (do_test): New function.
2427         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2428         (do_test): New function.
2429         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2430         (do_test): New function.
2431         * math/libm-test-pow.inc: Include libm-test-driver.c.
2432         (do_test): New function.
2433         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2434         (do_test): New function.
2435         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2436         (do_test): New function.
2437         * math/libm-test-rint.inc: Include libm-test-driver.c.
2438         (do_test): New function.
2439         * math/libm-test-round.inc: Include libm-test-driver.c.
2440         (do_test): New function.
2441         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2442         (do_test): New function.
2443         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2444         (do_test): New function.
2445         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2446         (do_test): New function.
2447         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2448         (do_test): New function.
2449         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2450         (do_test): New function.
2451         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2452         (do_test): New function.
2453         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2454         (do_test): New function.
2455         * math/libm-test-significand.inc: Include libm-test-driver.c.
2456         (do_test): New function.
2457         * math/libm-test-sin.inc: Include libm-test-driver.c.
2458         (do_test): New function.
2459         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2460         (do_test): New function.
2461         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2462         (do_test): New function.
2463         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2464         (do_test): New function.
2465         * math/libm-test-tan.inc: Include libm-test-driver.c.
2466         (do_test): New function.
2467         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2468         (do_test): New function.
2469         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2470         (do_test): New function.
2471         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2472         (do_test): New function.
2473         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2474         (do_test): New function.
2475         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2476         (do_test): New function.
2477         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2478         (do_test): New function.
2479         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2480         (do_test): New function.
2481         * math/libm-test-y0.inc: Include libm-test-driver.c.
2482         (do_test): New function.
2483         * math/libm-test-y1.inc: Include libm-test-driver.c.
2484         (do_test): New function.
2485         * math/libm-test-yn.inc: Include libm-test-driver.c.
2486         (do_test): New function.
2487         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2488         (HAVE_VECTOR): Remove macro.
2489         (START): Do not call HAVE_VECTOR.
2490         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2491         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2492         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2493         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2494         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2495         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2496         * math/test-math-vector.h (FUNC_TEST): New macro.
2497         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2498         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2499         (double-vlen4-funcs): Likewise.
2500         (double-vlen4-avx2-funcs): Likewise.
2501         (double-vlen8-funcs): Likewise.
2502         (float-vlen4-funcs): Likewise.
2503         (float-vlen8-funcs): Likewise.
2504         (float-vlen8-avx2-funcs): Likewise.
2505         (float-vlen16-funcs): Likewise.
2506         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2507         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2508         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2509         macro.
2510         (TEST_VECTOR_sin): Likewise.
2511         (TEST_VECTOR_sincos): Likewise.
2512         (TEST_VECTOR_log): Likewise.
2513         (TEST_VECTOR_exp): Likewise.
2514         (TEST_VECTOR_pow): Likewise.
2515         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2516         Likewise.
2517         (TEST_VECTOR_sin): Likewise.
2518         (TEST_VECTOR_sincos): Likewise.
2519         (TEST_VECTOR_log): Likewise.
2520         (TEST_VECTOR_exp): Likewise.
2521         (TEST_VECTOR_pow): Likewise.
2522         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2523         Likewise.
2524         (TEST_VECTOR_sinf): Likewise.
2525         (TEST_VECTOR_sincosf): Likewise.
2526         (TEST_VECTOR_logf): Likewise.
2527         (TEST_VECTOR_expf): Likewise.
2528         (TEST_VECTOR_powf): Likewise.
2529         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2530         Likewise.
2531         (TEST_VECTOR_sinf): Likewise.
2532         (TEST_VECTOR_sincosf): Likewise.
2533         (TEST_VECTOR_logf): Likewise.
2534         (TEST_VECTOR_expf): Likewise.
2535         (TEST_VECTOR_powf): Likewise.
2536         * math/gen-libm-have-vector-test.sh: Remove file.
2537         * math/libm-test.inc: Likewise.
2538         * math/libm-test-support-double.c: Likewise.
2539         * math/libm-test-support-float.c: Likewise.
2540         * math/libm-test-support-ldouble.c: Likewise.
2541         * math/test-double-finite.c: Likewise.: Likewise.
2542         * math/test-double.c: Likewise.
2543         * math/test-float-finite.c: Likewise.
2544         * math/test-float.c: Likewise.
2545         * math/test-idouble.c: Likewise.
2546         * math/test-ifloat.c: Likewise.
2547         * math/test-ildouble.c: Likewise.
2548         * math/test-ldouble-finite.c: Likewise.
2549         * math/test-ldouble.c: Likewise.
2550         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2551         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2553         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2554         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2555         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2556         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2557         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2559         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2561 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2562            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2564         * math/Makefile: Add wrappers to gen-libm-calls.
2565         * math/w_acos_template.c: New file.
2566         * math/w_acosh_template.c: Likewise.
2567         * math/w_asin_template.c: Likewise.
2568         * math/w_atan2_template.c: Likewise.
2569         * math/w_atanh_template.c: Likewise.
2570         * math/w_cosh_template.c: Likewise.
2571         * math/w_exp10_template.c: Likewise.
2572         * math/w_exp2_template.c: Likewise.
2573         * math/w_exp_template.c: Likewise.
2574         * math/w_fmod_template.c: Likewise.
2575         * math/w_hypot_template.c: Likewise.
2576         * math/w_j0_template.c: Likewise.
2577         * math/w_j1_template.c: Likewise.
2578         * math/w_jn_template.c: Likewise.
2579         * math/w_lgamma_r_template.c: Likewise.
2580         * math/w_lgamma_template.c: Likewise.
2581         * math/w_log10_template.c: Likewise.
2582         * math/w_log2_template.c: Likewise.
2583         * math/w_log_template.c: Likewise.
2584         * math/w_pow_template.c: Likewise.
2585         * math/w_remainder_template.c: Likewise.
2586         * math/w_sinh_template.c: Likewise.
2587         * math/w_sqrt_template.c: Likewise.
2588         * math/w_tgamma_template.c: Likewise.: Likewise.
2589         * sysdeps/generic/math-type-macros-double.h
2590         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2591         the new wrappers.
2592         * sysdeps/generic/math-type-macros-float.h: Likewise.
2593         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2595 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2597         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2598         New enum constant and macro.
2600         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2601         kernel version to 4.10.
2603 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2605         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2607 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2611 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2613         * sysdeps/powerpc/tst-set_ppr.c: New file.
2614         Implement test cases for __ppc_set_ppr_* functions.
2615         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2616         in the list of tests.
2618 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2620         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2621         instead of test-skeleton.c.
2622         (do_test): Replaced pthread_create and pthread_join with
2623         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2624         Removed unneeded status variable.
2625         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2626         instead of test-skeleton.c.
2627         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2629 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2631         [BZ #20313]
2632         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2633         201605L, for Unicode 9.
2635 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2637         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2638         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2639         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2640         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2641         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2642         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2644 2017-02-19  Zack Weinberg  <zackw@panix.com>
2646         * rt/tst-mqueue4.c: Include stdint.h.
2648 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2650         * sysdeps/arm/libm-test-ulps: Update.
2651         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2652         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2653         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2655 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2657         [BZ #21029]
2658         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2659         * sysdeps/unix/sysv/linux/i386/Makefile
2660         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2661         (uses-6-syscall-arguments): Remove.
2662         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2663         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2664         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2665         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2666         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2667         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2668         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2669         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2670         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2671         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2672         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2673         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2674         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2675         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2676         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2677         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2678         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2679         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2680         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2681         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2682         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2683         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2684         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2685         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2686         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2687         Likewise.
2688         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2689         Likewise.
2690         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2691         Likewise.
2692         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2693         Likewise.
2694         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2695         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2696         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2697         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2698         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2699         ebp on inline assembly.
2700         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2701         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2702         Set if CAN_USE_REGISTER_ASM_EBP is set.
2704 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2706         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2707         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2709 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2711         * math/auto-libm-test-in: Add tests of catan and catanh.
2712         * math/auto-libm-test-out-catan: New generated file.
2713         * math/auto-libm-test-out-catanh: Likewise.
2714         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2715         Move tests with finite inputs, except divide-by-zero cases, to
2716         auto-libm-test-in.
2717         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2718         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2719         (libm-test-funcs-noauto): Remove catan and catanh.
2720         * sysdeps/i386/fpu/libm-test-ulps: Update.
2721         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2724         * math/auto-libm-test-in: Add tests of casin and casinh.
2725         * math/auto-libm-test-out-casin: New generated file.
2726         * math/auto-libm-test-out-casinh: Likewise.
2727         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2728         Move tests with finite inputs to auto-libm-test-in.
2729         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2730         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2731         (libm-test-funcs-noauto): Remove casin and casinh.
2732         * sysdeps/i386/fpu/libm-test-ulps: Update.
2733         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2736         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2737         * math/auto-libm-test-out-cacos: New generated file.
2738         * math/auto-libm-test-out-cacosh: Likewise.
2739         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2740         Move tests with finite inputs to auto-libm-test-in.
2741         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2742         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2743         (libm-test-funcs-noauto): Remove cacos and cacosh.
2744         * sysdeps/i386/fpu/libm-test-ulps: Update.
2745         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2748         Revert:
2749         2017-02-16  Zack Weinberg  <zackw@panix.com>
2751         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2752         Don't include init-arch.h.
2753         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2754         Don't include init-arch.h.
2756 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2758         [BZ #21171]
2759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2760         +Inf and raise divide-by-zero when x is negative.
2761         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2762         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2763         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2764         -Inf and raise divide-by-zero when x = +-0.
2765         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2766         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2767         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2768         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2769         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2770         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2771         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2773 2017-02-16  Zack Weinberg  <zackw@panix.com>
2775         * scripts/build-many-glibcs.py (bot_build_mail): If the
2776         bot_config does not contain all of the necessary email-
2777         related settings, just print a warning and continue.
2779 2017-02-16  Zack Weinberg  <zackw@panix.com>
2781         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2782         * dirent/opendir-tst1.c: Include sys/stat.h.
2783         * dirent/tst-fdopendir.c: Include sys/stat.h.
2784         * dirent/tst-fdopendir2.c: Include stdlib.h.
2785         * dirent/tst-scandir.c: Include stdbool.h.
2786         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2787         * elf/tst-tls15.c: Include stdlib.h.
2788         * elf/tst-tls16.c: Include stdlib.h.
2789         * elf/tst-tls17.c: Include stdlib.h.
2790         * elf/tst-tls18.c: Include stdlib.h.
2791         * iconv/tst-iconv6.c: Include endian.h.
2792         * iconvdata/bug-iconv11.c: Include limits.h.
2793         * io/test-utime.c: Include stdint.h.
2794         * io/tst-faccessat.c: Include sys/stat.h.
2795         * io/tst-fchmodat.c: Include sys/stat.h.
2796         * io/tst-fchownat.c: Include sys/stat.h.
2797         * io/tst-fstatat.c: Include sys/stat.h.
2798         * io/tst-futimesat.c: Include sys/stat.h.
2799         * io/tst-linkat.c: Include sys/stat.h.
2800         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2801         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2802         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2803         * io/tst-openat.c: Include stdbool.h.
2804         * io/tst-readlinkat.c: Include sys/stat.h.
2805         * io/tst-renameat.c: Include sys/stat.h.
2806         * io/tst-symlinkat.c: Include sys/stat.h.
2807         * io/tst-unlinkat.c: Include stdbool.h.
2808         * libio/bug-memstream1.c: Include stdlib.h.
2809         * libio/bug-wmemstream1.c: Include stdlib.h.
2810         * libio/tst-fwrite-error.c: Include stdlib.h.
2811         * libio/tst-memstream1.c: Include stdlib.h.
2812         * libio/tst-memstream2.c: Include stdlib.h.
2813         * libio/tst-memstream3.c: Include stdlib.h.
2814         * malloc/tst-interpose-aux.c: Include stdint.h.
2815         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2816         * nptl/tst-basic7.c: Include limits.h.
2817         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2818         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2819         * nptl/tst-cancel4_1.c: Include stddef.h.
2820         * nptl/tst-cancel4_2.c: Include stddef.h.
2821         * nptl/tst-cond16.c: Include limits.h.
2822         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2823         * nptl/tst-cond18.c: Include limits.h.
2824         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2825         * nptl/tst-cond4.c: Include stdint.h.
2826         * nptl/tst-cond6.c: Include stdint.h.
2827         * nptl/tst-stack2.c: Include limits.h.
2828         * nptl/tst-stackguard1.c: Include stddef.h.
2829         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2830         * nptl/tst-tls4moda.c: Include stddef.h.
2831         Don't include stdio.h, unistd.h, or tls.h.
2832         * nptl/tst-tls4modb.c: Include stddef.h.
2833         Don't include stdio.h, unistd.h, or tls.h.
2834         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2835         * posix/tst-getaddrinfo2.c: Include stdio.h.
2836         * posix/tst-getaddrinfo5.c: Include stdio.h.
2837         * posix/tst-pathconf.c: Include sys/stat.h.
2838         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2839         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2840         * posix/tst-regex.c: Include stdint.h.
2841         Don't include spawn.h or spawn_int.h.
2842         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2843         * posix/tst-vfork3.c: Include sys/stat.h.
2844         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2845         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2846         * resolv/tst-resolv-search.c: Include stdlib.h.
2847         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2848         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2849         * stdlib/test-canon.c: Include sys/stat.h.
2850         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2851         * string/test-memchr.c: Include stdint.h.
2852         * string/tst-cmp.c: Include stdint.h.
2853         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2854         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2855         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2856         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2857         Don't include init-arch.h.
2858         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2859         Don't include init-arch.h.
2860         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2861         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2862         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2863         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2864         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2865         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2866         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2867         * time/clocktest.c: Include stdint.h.
2868         * time/tst-posixtz.c: Include stdint.h.
2869         * timezone/tst-timezone.c: Include stdint.h.
2871 2017-02-16  Zack Weinberg  <zackw@panix.com>
2873         * string/string.h [__USE_MISC]: Include strings.h.
2874         (__bzero, bcmp, bcopy, bzero, index, rindex)
2875         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2876         (ffs, ffsl, ffsll): Don't declare.
2877         * string/strings.h: Do not suppress the file if string.h has
2878         already been included.
2879         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2880         annotations.
2881         (index, rindex): Define inline forwarders even if
2882         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2883         (ffs): Use __attribute_const__.
2884         (ffsl, ffsll): Declare here.
2885         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2886         have now been standardized.
2887         * include/string.h (__bzero): Declare here.
2889         * bits/types.h: Move to posix/bits.
2890         * include/bits/types.h: New wrapper.
2892 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2894         * string/bits/string2.h (strcmp): Remove define.
2895         (__strcmp_cg): Likewise.
2896         (strncmp): Likewise.
2898 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2900         * include/string.h: Add __cplusplus check.
2902 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2904         [BZ #21134]
2905         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2906         "divide by zero" exception when the input is zero.
2907         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2908         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2909         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2910         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2911         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2913 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2915         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2916         and include ...
2917         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2919         to, and include ...
2920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2921         file.
2922         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2923         and include ...
2924         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2925         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2926         and include ...
2927         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2928         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2929         and include ...
2930         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2931         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2932         and include ...
2933         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2935         to, and include ...
2936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2937         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2938         and include ...
2939         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2941 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2943         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2944         here.
2945         * math/libm-test-support.c (libm_test_init): Do not call
2946         INIT_ARCH_EXT here.
2947         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2948         (main): Call INIT_ARCH_EXT.
2950 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2952         [BZ #21130]
2953         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2954         with the "invalid" exception raised when x is -Inf.
2955         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2957 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2959         * string/bits/string2.h (strchr): Remove define.
2961 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2963         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2964         tst-avx512.
2965         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2966         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2967         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2968         ($(objpfx)tst-sse): New rule.
2969         ($(objpfx)tst-avx): Likewise.
2970         ($(objpfx)tst-avx512): Likewise.
2971         (CFLAGS-tst-avx-aux.c): New.
2972         (CFLAGS-tst-avxmod.c): Likewise.
2973         (CFLAGS-tst-avx512-aux.c): Likewise.
2974         (CFLAGS-tst-avx512mod.c): Likewise.
2975         * sysdeps/x86_64/tst-avx-aux.c: New file.
2976         * sysdeps/x86_64/tst-avx.c: Likewise.
2977         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2978         * sysdeps/x86_64/tst-avx512.c: Likewise.
2979         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2980         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2981         * sysdeps/x86_64/tst-sse.c: Likewise.
2982         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2984 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2986         * math/auto-libm-test-in: Add more tests of csin and csinh.
2987         * math/auto-libm-test-out-csin: Regenerated.
2988         * math/auto-libm-test-out-csinh: Likewise.
2989         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2990         auto-libm-test-in.
2991         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2993 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2995         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2996         libm-compat-calls-auto.
2997         (libm-compat-calls): Likewise.
2998         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2999         w_lgamma_compatF and k_standardF (merged from the items above).
3000         (libm-routines): Use libm-compat-calls, instead of
3001         libm-compat-calls-auto, with type-foreach.
3003 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3005         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3006         macro.
3007         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3008         (CFLAGS-test-ifloat.c): ... this.  Remove
3009         -U__LIBC_INTERNAL_MATH_INLINES.
3010         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3011         (CFLAGS-test-idouble.c): ... this.  Remove
3012         -U__LIBC_INTERNAL_MATH_INLINES.
3013         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3014         (CFLAGS-test-ildouble.c): ... this.  Remove
3015         -U__LIBC_INTERNAL_MATH_INLINES.
3017 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3019         * math/libm-test-support.c: New file.  Content from
3020         math/libm-test-driver.c.
3021         * math/libm-test-support.h: Likewise.
3022         * math/libm-test-support-double.c: New file.
3023         * math/libm-test-support-float.c: Likewise.
3024         * math/libm-test-support-ldouble.c: Likewise.
3025         * math/libm-test-driver.c: Remove main comment and header
3026         includes.  Include libm-test-support.h.
3027         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3028         (flag_test_errno): Remove static.
3029         (flag_test_exceptions): Likewise.
3030         (flag_test_finite): Likewise.
3031         (flag_test_inline): Likewise.
3032         (flag_test_mathvec): Likewise.
3033         (test_msg): Likewise.
3034         (NO_EXCEPTION): Remove.
3035         (INVALID_EXCEPTION): Likewise.
3036         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3037         (OVERFLOW_EXCEPTION): Likewise.
3038         (UNDERFLOW_EXCEPTION): Likewise.
3039         (INEXACT_EXCEPTION): Likewise.
3040         (INVALID_EXCEPTION_OK): Likewise.
3041         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3042         (OVERFLOW_EXCEPTION_OK): Likewise.
3043         (UNDERFLOW_EXCEPTION_OK): Likewise.
3044         (NO_INEXACT_EXCEPTION): Likewise.
3045         (EXCEPTIONS_OK): Likewise.
3046         (IGNORE_ZERO_INF_SIGN): Likewise.
3047         (TEST_NAN_SIGN): Likewise.
3048         (TEST_NAN_PAYLOAD): Likewise.
3049         (NO_TEST_INLINE): Likewise.
3050         (XFAIL_TEST): Likewise.
3051         (ERRNO_UNCHANGED): Likewise.
3052         (ERRNO_EDOM): Likewise.
3053         (ERRNO_ERANGE): Likewise.
3054         (IGNORE_RESULT): Likewise.
3055         (NON_FINITE): Likewise.
3056         (TEST_SNAN): Likewise.
3057         (NO_TEST_MATHVEC): Likewise.
3058         (__CONCATX): Likewise.
3059         (TYPE_MIN): Likewise.
3060         (TYPE_TRUE_MIN): Likewise.
3061         (TYPE_MAX): Likewise.
3062         (MIN_EXP): Likewise.
3063         (MAX_EXP): Likewise.
3064         (MANT_DIG): Likewise.
3065         (FSTR_MAX): Likewise.
3066         (ulp_idx): Likewise.
3067         (qtype_str): Remove static.
3068         (TEST_COND_binary32): Remove.
3069         (TEST_COND_binary64): Likewise.
3070         (TEST_COND_binary128): Likewise.
3071         (TEST_COND_ibm128): Likewise.
3072         (TEST_COND_intel96): Likewise.
3073         (TEST_COND_m68k96): Likewise.
3074         (TEST_COND_ibm128_libgcc): Likewise.
3075         (XFAIL_IBM128_LIBGCC): Likewise.
3076         (PAYLOAD_DIG): Likewise.
3077         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3078         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3079         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3080         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3081         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3082         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3083         (TEST_COND_long32): Likewise.
3084         (TEST_COND_long64): Likewise.
3085         (TEST_COND_before_rounding): Likewise.
3086         (TEST_COND_after_rounding): Likewise.
3087         (ulps_file_name): Likewise.
3088         (ulps_file): Likewise.
3089         (output_ulps): Likewise.
3090         (output_dir): Likewise.
3091         (noErrors): Likewise.
3092         (noTests): Likewise.
3093         (noExcTests): Likewise.
3094         (noErrnoTests): Likewise.
3095         (verbose): Likewise.
3096         (output_max_error): Likewise.
3097         (output_points): Likewise.
3098         (ignore_max_ulp): Likewise.
3099         (max_error): Likewise.
3100         (real_max_error): Likewise.
3101         (imag_max_error): Likewise.
3102         (prev_max_error): Likewise.
3103         (prev_real_max_error): Likewise.
3104         (prev_imag_max_error): Likewise.
3105         (max_valid_error): Likewise.
3106         (TYPE_DECIMAL_DIG): Likewise.
3107         (TYPE_HEX_DIG): Likewise.
3108         (fmt_ftostr): Likewise.
3109         (compare_ulp_data): Likewise.
3110         (find_ulps): Likewise.
3111         (init_max_error): Likewise.
3112         (set_max_error): Likewise.
3113         (print_float): Likewise.
3114         (print_screen): Likewise.
3115         (print_screen_max_error): Likewise.
3116         (update_stats): Likewise.
3117         (print_function_ulps): Likewise.
3118         (print_complex_function_ulps): Likewise.
3119         (fpstack_test): Likewise.
3120         (print_max_error): Likewise.
3121         (print_complex_max_error): Likewise.
3122         (test_single_exception): Likewise.
3123         (test_exceptions): Likewise.
3124         (test_single_errno): Likewise.
3125         (test_errno): Likewise.
3126         (ULPDIFF): Likewise.
3127         (ulp): Likewise.
3128         (check_float_internal): Likewise.
3129         (check_float): Likewise.
3130         (check_complex): Likewise.
3131         (check_int): Likewise.
3132         (check_long): Likewise.
3133         (check_bool): Likewise.
3134         (check_longlong): Likewise.
3135         (check_intmax_t): Likewise.
3136         (check_uintmax_t): Likewise.
3137         (enable_test): Likewise.
3138         (matherr): Likewise.
3139         (initialize): Likewise.
3140         (options): Likewise.
3141         (doc): Remove static.
3142         (argp): Likewise.
3143         (parse_opt): Remove.
3144         (check_ulp): Likewise.
3145         (libm_test_init): Likewise.
3146         (libm_test_finish): Likewise.
3147         * math/Makefile (libm-test-support): New variable.
3148         (test-extras): Add libm-test-support files.
3149         (extra-test-objs): Likewise.
3150         (CFLAGS-libm-test-support-float.c): New variable.
3151         (CFLAGS-libm-test-support-double.c): Likewise.
3152         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3153         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3154         libm-test-support objects.
3156 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3158         * math/Makefile (libm-calls): Move w_exp...
3159         (libm-compat-calls-auto): Here.
3161         * math/w_expl.c: Add suffix "_compat" to filename.
3162         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3163         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3164         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3165         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3166         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3167         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3168         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3169         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3171         * math/w_expl_compat.c: New file, copied from above.
3172         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3173         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3174         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3175         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3176         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3177         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3178         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3179         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3181         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3182         to filename.
3183         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3185         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3186         copied from above and adjusted for the new filenames.
3187         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3189 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3191         * math/Makefile (libm-calls): Move w_lgammaF...
3192         (libm-compat-calls-auto): Here.
3194         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3195         * math/w_lgammaf.c: Likewise.
3196         * math/w_lgammal.c: Likewise.
3198         * math/w_lgamma_compat2.c: New file, copied from above.
3199         * math/w_lgammaf_compat2.c: Likewise.
3200         * math/w_lgammal_compat2.c: Likewise.
3202 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3204         * math/Makefile (libm-calls): Move w_lgammaF_r...
3205         (libm-compat-calls-auto): Here.
3207         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3208         * math/w_lgammaf_r.c: Likewise.
3209         * math/w_lgammal_r.c: Likewise.
3210         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3211         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3212         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3214         * math/w_lgamma_r_compat.c: New file, copied from above.
3215         * math/w_lgammaf_r_compat.c: Likewise.
3216         * math/w_lgammal_r_compat.c: Likewise.
3217         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3218         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3219         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3221         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3222         to filename.
3223         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3225         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3226         copied from above and adjusted for the new filenames.
3227         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3229 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3232         calculation in SYSCALL_ERROR_HANDLER().
3234 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3236         * manual/contrib.texi: Fix typo.
3238 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3240         [BZ #21109]
3241         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3242         tunable_val_t as argument.
3243         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3244         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3245         argument.
3246         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3248 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3250         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3251         Add PTRACE_EVENT_STOP.
3252         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3254         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3256         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3257         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3259 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3261         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3262         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3263         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3264         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3265         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3266         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3267         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3268         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3269         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3270         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3272         [BZ #21112]
3273         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3274         12 bits zero.
3275         (cp_l): Update for new value of cp_h.
3276         * math/auto-libm-test-in: Add another test of pow.
3277         * math/auto-libm-test-out-pow: Regenerated.
3279 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3281         * manual/contrib.texi: Fix typo.
3283 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3285         [BZ #15998]
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3287         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3290 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3292         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3293         STRCHR as __strchr_power8.
3294         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3295         strlen as __strlen_power8.
3297 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3299         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3300         unaligned load for shorter strings.
3301         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3303 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3305         * math/libm-test-driver.c (flag_test_errno): New variable.
3306         (flag_test_exceptions): Likewise.
3307         (flag_test_finite): Likewise.
3308         (flag_test_inline): Likewise.
3309         (flag_test_mathvec): Likewise.
3310         (test_msg): Likewise.
3311         (ulp_idx): Likewise.
3312         (qtype_str): Likewise.
3313         (ULP_IDX): Remove macro.
3314         (QTYPE_STR): Likewise.
3315         (find_ulps): Use ulp_idx not ULP_IDX.
3316         (print_function_ulps): Use qtype_str, printed with %s, not
3317         QTYPE_STR, printed with concatentation to format string.
3318         (print_complex_function_ulps): Likewise.
3319         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3320         (test_errno): Use flag_test_errno not TEST_ERRNO.
3321         (enable_test): Use flag_test_inline, flag_test_finite and
3322         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3323         TEST_MATHVEC.
3324         (libm_test_init): New function.  Factored out of main.
3325         (libm_test_finish): Likewise.
3326         (main): Call libm_test_init and libm_test_finish and move most
3327         code to those functions.
3329         * math/libm-test-driver.c (STRX): New macro.
3330         (STR): Likewise.
3331         (STR_FLOAT): Likewise.
3332         (STR_VEC_LEN): Likewise.
3333         (TEST_MSG): Likewise.  Define here instead of expecting to be
3334         defined by including file.
3335         * math/test-double-finite.c (TEST_MSG): Remove macro.
3336         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3337         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3338         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3339         * math/test-double.c (TEST_MSG): Likewise.
3340         * math/test-float-finite.c (TEST_MSG): Likewise.
3341         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3342         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3343         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3344         * math/test-float.c (TEST_MSG): Likewise.
3345         * math/test-idouble.c (TEST_MSG): Likewise.
3346         * math/test-ifloat.c (TEST_MSG): Likewise.
3347         * math/test-ildouble.c (TEST_MSG): Likewise.
3348         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3349         * math/test-ldouble.c (TEST_MSG): Likewise.
3351         * math/libm-test.inc: Move all tests of individual functions to
3352         libm-test-*.inc and #include libm-test-*.c files.
3353         (acos_test_data): Remove.
3354         (acos_test): Likewise.
3355         (acosh_test_data): Likewise.
3356         (acosh_test): Likewise.
3357         (asin_test_data): Likewise.
3358         (asin_test): Likewise.
3359         (asinh_test_data): Likewise.
3360         (asinh_test): Likewise.
3361         (atan_test_data): Likewise.
3362         (atan_test): Likewise.
3363         (atanh_test_data): Likewise.
3364         (atanh_test): Likewise.
3365         (atan2_test_data): Likewise.
3366         (atan2_test): Likewise.
3367         (cabs_test_data): Likewise.
3368         (cabs_test): Likewise.
3369         (cacos_test_data): Likewise.
3370         (cacos_test): Likewise.
3371         (cacosh_test_data): Likewise.
3372         (cacosh_test): Likewise.
3373         (canonicalize_test_data): Likewise.
3374         (canonicalize_test): Likewise.
3375         (carg_test_data): Likewise.
3376         (carg_test): Likewise.
3377         (casin_test_data): Likewise.
3378         (casin_test): Likewise.
3379         (casinh_test_data): Likewise.
3380         (casinh_test): Likewise.
3381         (catan_test_data): Likewise.
3382         (catan_test): Likewise.
3383         (catanh_test_data): Likewise.
3384         (catanh_test): Likewise.
3385         (cbrt_test_data): Likewise.
3386         (cbrt_test): Likewise.
3387         (ccos_test_data): Likewise.
3388         (ccos_test): Likewise.
3389         (ccosh_test_data): Likewise.
3390         (ccosh_test): Likewise.
3391         (ceil_test_data): Likewise.
3392         (ceil_test): Likewise.
3393         (cexp_test_data): Likewise.
3394         (cexp_test): Likewise.
3395         (cimag_test_data): Likewise.
3396         (cimag_test): Likewise.
3397         (clog_test_data): Likewise.
3398         (clog_test): Likewise.
3399         (clog10_test_data): Likewise.
3400         (clog10_test): Likewise.
3401         (conj_test_data): Likewise.
3402         (conj_test): Likewise.
3403         (copysign_test_data): Likewise.
3404         (copysign_test): Likewise.
3405         (cos_test_data): Likewise.
3406         (cos_test): Likewise.
3407         (cosh_test_data): Likewise.
3408         (cosh_test): Likewise.
3409         (cpow_test_data): Likewise.
3410         (cpow_test): Likewise.
3411         (cproj_test_data): Likewise.
3412         (cproj_test): Likewise.
3413         (creal_test_data): Likewise.
3414         (creal_test): Likewise.
3415         (csin_test_data): Likewise.
3416         (csin_test): Likewise.
3417         (csinh_test_data): Likewise.
3418         (csinh_test): Likewise.
3419         (csqrt_test_data): Likewise.
3420         (csqrt_test): Likewise.
3421         (ctan_test_data): Likewise.
3422         (ctan_test): Likewise.
3423         (ctanh_test_data): Likewise.
3424         (ctanh_test): Likewise.
3425         (erf_test_data): Likewise.
3426         (erf_test): Likewise.
3427         (erfc_test_data): Likewise.
3428         (erfc_test): Likewise.
3429         (exp_test_data): Likewise.
3430         (exp_test): Likewise.
3431         (exp10_test_data): Likewise.
3432         (exp10_test): Likewise.
3433         (pow10_test): Likewise.
3434         (exp2_test_data): Likewise.
3435         (exp2_test): Likewise.
3436         (expm1_test_data): Likewise.
3437         (expm1_test): Likewise.
3438         (fabs_test_data): Likewise.
3439         (fabs_test): Likewise.
3440         (fdim_test_data): Likewise.
3441         (fdim_test): Likewise.
3442         (floor_test_data): Likewise.
3443         (floor_test): Likewise.
3444         (fma_test_data): Likewise.
3445         (fma_test): Likewise.
3446         (fmax_test_data): Likewise.
3447         (fmax_test): Likewise.
3448         (fmaxmag_test_data): Likewise.
3449         (fmaxmag_test): Likewise.
3450         (fmin_test_data): Likewise.
3451         (fmin_test): Likewise.
3452         (fminmag_test_data): Likewise.
3453         (fminmag_test): Likewise.
3454         (fmod_test_data): Likewise.
3455         (fmod_test): Likewise.
3456         (fpclassify_test_data): Likewise.
3457         (fpclassify_test): Likewise.
3458         (frexp_test_data): Likewise.
3459         (frexp_test): Likewise.
3460         (fromfp_test_data): Likewise.
3461         (fromfp_test): Likewise.
3462         (fromfpx_test_data): Likewise.
3463         (fromfpx_test): Likewise.
3464         (getpayload_test_data): Likewise.
3465         (getpayload_test): Likewise.
3466         (hypot_test_data): Likewise.
3467         (hypot_test): Likewise.
3468         (ilogb_test_data): Likewise.
3469         (ilogb_test): Likewise.
3470         (iscanonical_test_data): Likewise.
3471         (iscanonical_test): Likewise.
3472         (iseqsig_test_data): Likewise.
3473         (iseqsig_test): Likewise.
3474         (isfinite_test_data): Likewise.
3475         (isfinite_test): Likewise.
3476         (finite_test): Likewise.
3477         (isgreater_test_data): Likewise.
3478         (isgreater_test): Likewise.
3479         (isgreaterequal_test_data): Likewise.
3480         (isgreaterequal_test): Likewise.
3481         (isinf_test_data): Likewise.
3482         (isinf_test): Likewise.
3483         (isless_test_data): Likewise.
3484         (isless_test): Likewise.
3485         (islessequal_test_data): Likewise.
3486         (islessequal_test): Likewise.
3487         (islessgreater_test_data): Likewise.
3488         (islessgreater_test): Likewise.
3489         (isnan_test_data): Likewise.
3490         (isnan_test): Likewise.
3491         (isnormal_test_data): Likewise.
3492         (isnormal_test): Likewise.
3493         (issignaling_test_data): Likewise.
3494         (issignaling_test): Likewise.
3495         (issubnormal_test_data): Likewise.
3496         (issubnormal_test): Likewise.
3497         (isunordered_test_data): Likewise.
3498         (isunordered_test): Likewise.
3499         (iszero_test_data): Likewise.
3500         (iszero_test): Likewise.
3501         (j0_test_data): Likewise.
3502         (j0_test): Likewise.
3503         (j1_test_data): Likewise.
3504         (j1_test): Likewise.
3505         (jn_test_data): Likewise.
3506         (jn_test): Likewise.
3507         (lgamma_test_data): Likewise.
3508         (lgamma_test): Likewise.
3509         (gamma_test): Likewise.
3510         (llogb_test_data): Likewise.
3511         (llogb_test): Likewise.
3512         (lrint_test_data): Likewise.
3513         (lrint_test): Likewise.
3514         (llrint_test_data): Likewise.
3515         (llrint_test): Likewise.
3516         (log_test_data): Likewise.
3517         (log_test): Likewise.
3518         (log10_test_data): Likewise.
3519         (log10_test): Likewise.
3520         (log1p_test_data): Likewise.
3521         (log1p_test): Likewise.
3522         (log2_test_data): Likewise.
3523         (log2_test): Likewise.
3524         (logb_test_data): Likewise.
3525         (logb_test): Likewise.
3526         (lround_test_data): Likewise.
3527         (lround_test): Likewise.
3528         (llround_test_data): Likewise.
3529         (llround_test): Likewise.
3530         (modf_test_data): Likewise.
3531         (modf_test): Likewise.
3532         (nearbyint_test_data): Likewise.
3533         (nearbyint_test): Likewise.
3534         (nextafter_test_data): Likewise.
3535         (nextafter_test): Likewise.
3536         (nextup_test_data): Likewise.
3537         (nextup_test): Likewise.
3538         (nextdown_test_data): Likewise.
3539         (nextdown_test): Likewise.
3540         (nexttoward_test_data): Likewise.
3541         (nexttoward_test): Likewise.
3542         (pow_test_data): Likewise.
3543         (pow_test): Likewise.
3544         (remainder_test_data): Likewise.
3545         (remainder_test): Likewise.
3546         (drem_test): Likewise.
3547         (remquo_test_data): Likewise.
3548         (remquo_test): Likewise.
3549         (rint_test_data): Likewise.
3550         (rint_test): Likewise.
3551         (round_test_data): Likewise.
3552         (round_test): Likewise.
3553         (roundeven_test_data): Likewise.
3554         (roundeven_test): Likewise.
3555         (scalb_test_data): Likewise.
3556         (scalb_test): Likewise.
3557         (scalbn_test_data): Likewise.
3558         (scalbn_test): Likewise.
3559         (ldexp_test): Likewise.
3560         (scalbln_test_data): Likewise.
3561         (scalbln_test): Likewise.
3562         (setpayload_test_data): Likewise.
3563         (setpayload_test): Likewise.
3564         (setpayloadsig_test_data): Likewise.
3565         (setpayloadsig_test): Likewise.
3566         (signbit_test_data): Likewise.
3567         (signbit_test): Likewise.
3568         (sin_test_data): Likewise.
3569         (sin_test): Likewise.
3570         (sincos_test_data): Likewise.
3571         (sincos_test): Likewise.
3572         (sinh_test_data): Likewise.
3573         (sinh_test): Likewise.
3574         (sqrt_test_data): Likewise.
3575         (sqrt_test): Likewise.
3576         (tan_test_data): Likewise.
3577         (tan_test): Likewise.
3578         (tanh_test_data): Likewise.
3579         (tanh_test): Likewise.
3580         (tgamma_test_data): Likewise.
3581         (tgamma_test): Likewise.
3582         (totalorder_test_data): Likewise.
3583         (totalorder_test): Likewise.
3584         (totalordermag_test_data): Likewise.
3585         (totalordermag_test): Likewise.
3586         (trunc_test_data): Likewise.
3587         (trunc_test): Likewise.
3588         (ufromfp_test_data): Likewise.
3589         (ufromfp_test): Likewise.
3590         (ufromfpx_test_data): Likewise.
3591         (ufromfpx_test): Likewise.
3592         (y0_test_data): Likewise.
3593         (y0_test): Likewise.
3594         (y1_test_data): Likewise.
3595         (y1_test): Likewise.
3596         (yn_test_data): Likewise.
3597         (yn_test): Likewise.
3598         (significand_test_data): Likewise.
3599         (significand_test): Likewise.
3600         * math/Makefile (auto-libm-test-out-files): Remove variable.
3601         (libm-test-funcs-noauto): New variable.
3602         (libm-test-funcs-all): Likewise.
3603         (libm-test-c-auto): Likewise.
3604         (libm-test-c-noauto): Likewise.
3605         (libm-tests-generated): Add $(libm-test-c-auto) and
3606         $(libm-test-c-noauto).
3607         (generated): Do not add auto-libm-test-out.
3608         (libm-test-c-auto-obj): New variable.
3609         (libm-test-c-noauto-obj): Likewise.
3610         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3611         ($(libm-test-c-noauto-obj)): New static pattern rule.
3612         ($(libm-test-c-auto-obj)): Likewise.
3613         (libm-test-incs): New variable.
3614         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3615         and pass it to gen-libm-have-vector-test.sh.
3616         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3617         be passed on command line.
3618         * math/libm-test-acos.inc: New file.  Content from
3619         math/libm-test.inc.
3620         * math/libm-test-acosh.inc: Likewise.
3621         * math/libm-test-asin.inc: Likewise.
3622         * math/libm-test-asinh.inc: Likewise.
3623         * math/libm-test-atan.inc: Likewise.
3624         * math/libm-test-atan2.inc: Likewise.
3625         * math/libm-test-atanh.inc: Likewise.
3626         * math/libm-test-cabs.inc: Likewise.
3627         * math/libm-test-cacos.inc: Likewise.
3628         * math/libm-test-cacosh.inc: Likewise.
3629         * math/libm-test-canonicalize.inc: Likewise.
3630         * math/libm-test-carg.inc: Likewise.
3631         * math/libm-test-casin.inc: Likewise.
3632         * math/libm-test-casinh.inc: Likewise.
3633         * math/libm-test-catan.inc: Likewise.
3634         * math/libm-test-catanh.inc: Likewise.
3635         * math/libm-test-cbrt.inc: Likewise.
3636         * math/libm-test-ccos.inc: Likewise.
3637         * math/libm-test-ccosh.inc: Likewise.
3638         * math/libm-test-ceil.inc: Likewise.
3639         * math/libm-test-cexp.inc: Likewise.
3640         * math/libm-test-cimag.inc: Likewise.
3641         * math/libm-test-clog.inc: Likewise.
3642         * math/libm-test-clog10.inc: Likewise.
3643         * math/libm-test-conj.inc: Likewise.
3644         * math/libm-test-copysign.inc: Likewise.
3645         * math/libm-test-cos.inc: Likewise.
3646         * math/libm-test-cosh.inc: Likewise.
3647         * math/libm-test-cpow.inc: Likewise.
3648         * math/libm-test-cproj.inc: Likewise.
3649         * math/libm-test-creal.inc: Likewise.
3650         * math/libm-test-csin.inc: Likewise.
3651         * math/libm-test-csinh.inc: Likewise.
3652         * math/libm-test-csqrt.inc: Likewise.
3653         * math/libm-test-ctan.inc: Likewise.
3654         * math/libm-test-ctanh.inc: Likewise.
3655         * math/libm-test-erf.inc: Likewise.
3656         * math/libm-test-erfc.inc: Likewise.
3657         * math/libm-test-exp.inc: Likewise.
3658         * math/libm-test-exp10.inc: Likewise.
3659         * math/libm-test-exp2.inc: Likewise.
3660         * math/libm-test-expm1.inc: Likewise.
3661         * math/libm-test-fabs.inc: Likewise.
3662         * math/libm-test-fdim.inc: Likewise.
3663         * math/libm-test-floor.inc: Likewise.
3664         * math/libm-test-fma.inc: Likewise.
3665         * math/libm-test-fmax.inc: Likewise.
3666         * math/libm-test-fmaxmag.inc: Likewise.
3667         * math/libm-test-fmin.inc: Likewise.
3668         * math/libm-test-fminmag.inc: Likewise.
3669         * math/libm-test-fmod.inc: Likewise.
3670         * math/libm-test-fpclassify.inc: Likewise.
3671         * math/libm-test-frexp.inc: Likewise.
3672         * math/libm-test-fromfp.inc: Likewise.
3673         * math/libm-test-fromfpx.inc: Likewise.
3674         * math/libm-test-getpayload.inc: Likewise.
3675         * math/libm-test-hypot.inc: Likewise.
3676         * math/libm-test-ilogb.inc: Likewise.
3677         * math/libm-test-iscanonical.inc: Likewise.
3678         * math/libm-test-iseqsig.inc: Likewise.
3679         * math/libm-test-isfinite.inc: Likewise.
3680         * math/libm-test-isgreater.inc: Likewise.
3681         * math/libm-test-isgreaterequal.inc: Likewise.
3682         * math/libm-test-isinf.inc: Likewise.
3683         * math/libm-test-isless.inc: Likewise.
3684         * math/libm-test-islessequal.inc: Likewise.
3685         * math/libm-test-islessgreater.inc: Likewise.
3686         * math/libm-test-isnan.inc: Likewise.
3687         * math/libm-test-isnormal.inc: Likewise.
3688         * math/libm-test-issignaling.inc: Likewise.
3689         * math/libm-test-issubnormal.inc: Likewise.
3690         * math/libm-test-isunordered.inc: Likewise.
3691         * math/libm-test-iszero.inc: Likewise.
3692         * math/libm-test-j0.inc: Likewise.
3693         * math/libm-test-j1.inc: Likewise.
3694         * math/libm-test-jn.inc: Likewise.
3695         * math/libm-test-lgamma.inc: Likewise.
3696         * math/libm-test-llogb.inc: Likewise.
3697         * math/libm-test-llrint.inc: Likewise.
3698         * math/libm-test-llround.inc: Likewise.
3699         * math/libm-test-log.inc: Likewise.
3700         * math/libm-test-log10.inc: Likewise.
3701         * math/libm-test-log1p.inc: Likewise.
3702         * math/libm-test-log2.inc: Likewise.
3703         * math/libm-test-logb.inc: Likewise.
3704         * math/libm-test-lrint.inc: Likewise.
3705         * math/libm-test-lround.inc: Likewise.
3706         * math/libm-test-modf.inc: Likewise.
3707         * math/libm-test-nearbyint.inc: Likewise.
3708         * math/libm-test-nextafter.inc: Likewise.
3709         * math/libm-test-nextdown.inc: Likewise.
3710         * math/libm-test-nexttoward.inc: Likewise.
3711         * math/libm-test-nextup.inc: Likewise.
3712         * math/libm-test-pow.inc: Likewise.
3713         * math/libm-test-remainder.inc: Likewise.
3714         * math/libm-test-remquo.inc: Likewise.
3715         * math/libm-test-rint.inc: Likewise.
3716         * math/libm-test-round.inc: Likewise.
3717         * math/libm-test-roundeven.inc: Likewise.
3718         * math/libm-test-scalb.inc: Likewise.
3719         * math/libm-test-scalbln.inc: Likewise.
3720         * math/libm-test-scalbn.inc: Likewise.
3721         * math/libm-test-setpayload.inc: Likewise.
3722         * math/libm-test-setpayloadsig.inc: Likewise.
3723         * math/libm-test-signbit.inc: Likewise.
3724         * math/libm-test-significand.inc: Likewise.
3725         * math/libm-test-sin.inc: Likewise.
3726         * math/libm-test-sincos.inc: Likewise.
3727         * math/libm-test-sinh.inc: Likewise.
3728         * math/libm-test-sqrt.inc: Likewise.
3729         * math/libm-test-tan.inc: Likewise.
3730         * math/libm-test-tanh.inc: Likewise.
3731         * math/libm-test-tgamma.inc: Likewise.
3732         * math/libm-test-totalorder.inc: Likewise.
3733         * math/libm-test-totalordermag.inc: Likewise.
3734         * math/libm-test-trunc.inc: Likewise.
3735         * math/libm-test-ufromfp.inc: Likewise.
3736         * math/libm-test-ufromfpx.inc: Likewise.
3737         * math/libm-test-y0.inc: Likewise.
3738         * math/libm-test-y1.inc: Likewise.
3739         * math/libm-test-yn.inc: Likewise.
3740         * math/README.libm-test: Update.
3742         * math/gen-auto-libm-tests.c: Update comment about use of program.
3743         (generate_output): Add argument FUNCTION.
3744         (main): Require extra argument.  Pass function name to
3745         generate_output.
3746         * math/Makefile (generated): Add auto-libm-test-out.
3747         (libm-test-funcs-auto): New variable.
3748         (auto-libm-test-out-files): New variable.
3749         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3750         Concatenate those files to form $(objpfx)auto-libm-test-out and
3751         use it as input to gen-libm-test.pl.
3752         * math/README.libm-test: Update.
3753         * math/auto-libm-test-out: Remove.
3754         * math/auto-libm-test-out-acos: New generated file.
3755         * math/auto-libm-test-out-acosh: Likewise.
3756         * math/auto-libm-test-out-asin: Likewise.
3757         * math/auto-libm-test-out-asinh: Likewise.
3758         * math/auto-libm-test-out-atan: Likewise.
3759         * math/auto-libm-test-out-atan2: Likewise.
3760         * math/auto-libm-test-out-atanh: Likewise.
3761         * math/auto-libm-test-out-cabs: Likewise.
3762         * math/auto-libm-test-out-carg: Likewise.
3763         * math/auto-libm-test-out-cbrt: Likewise.
3764         * math/auto-libm-test-out-ccos: Likewise.
3765         * math/auto-libm-test-out-ccosh: Likewise.
3766         * math/auto-libm-test-out-cexp: Likewise.
3767         * math/auto-libm-test-out-clog: Likewise.
3768         * math/auto-libm-test-out-clog10: Likewise.
3769         * math/auto-libm-test-out-cos: Likewise.
3770         * math/auto-libm-test-out-cosh: Likewise.
3771         * math/auto-libm-test-out-cpow: Likewise.
3772         * math/auto-libm-test-out-csin: Likewise.
3773         * math/auto-libm-test-out-csinh: Likewise.
3774         * math/auto-libm-test-out-csqrt: Likewise.
3775         * math/auto-libm-test-out-ctan: Likewise.
3776         * math/auto-libm-test-out-ctanh: Likewise.
3777         * math/auto-libm-test-out-erf: Likewise.
3778         * math/auto-libm-test-out-erfc: Likewise.
3779         * math/auto-libm-test-out-exp: Likewise.
3780         * math/auto-libm-test-out-exp10: Likewise.
3781         * math/auto-libm-test-out-exp2: Likewise.
3782         * math/auto-libm-test-out-expm1: Likewise.
3783         * math/auto-libm-test-out-fma: Likewise.
3784         * math/auto-libm-test-out-hypot: Likewise.
3785         * math/auto-libm-test-out-j0: Likewise.
3786         * math/auto-libm-test-out-j1: Likewise.
3787         * math/auto-libm-test-out-jn: Likewise.
3788         * math/auto-libm-test-out-lgamma: Likewise.
3789         * math/auto-libm-test-out-log: Likewise.
3790         * math/auto-libm-test-out-log10: Likewise.
3791         * math/auto-libm-test-out-log1p: Likewise.
3792         * math/auto-libm-test-out-log2: Likewise.
3793         * math/auto-libm-test-out-pow: Likewise.
3794         * math/auto-libm-test-out-sin: Likewise.
3795         * math/auto-libm-test-out-sincos: Likewise.
3796         * math/auto-libm-test-out-sinh: Likewise.
3797         * math/auto-libm-test-out-sqrt: Likewise.
3798         * math/auto-libm-test-out-tan: Likewise.
3799         * math/auto-libm-test-out-tanh: Likewise.
3800         * math/auto-libm-test-out-tgamma: Likewise.
3801         * math/auto-libm-test-out-y0: Likewise.
3802         * math/auto-libm-test-out-y1: Likewise.
3803         * math/auto-libm-test-out-yn: Likewise.
3805         * math/Makefile (generated): Do not include libm-test.stmp.
3806         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3807         on $(objpfx)libm-test.stmp.
3808         ($(objpfx)libm-test.stmp): Remove rule.
3809         ($(objpfx)libm-test-ulps.h): New rule.
3810         ($(objpfx)libm-test.c): Likewise.
3811         ($(objpfx)libm-have-vector-test.h): Likewise.
3812         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3813         individual generated files, not libm-test.stmp.
3815         * math/gen-libm-test.pl ($output_dir): Remove variable.
3816         ($srcdir): Likewise.
3817         ($opt_a): New variable.
3818         ($opt_c): Likewise.
3819         ($opt_C): Likewise.
3820         ($opt_H): Likewise.
3821         (-n): Make option take argument and use it as NewUlps output.
3822         (-a): New option.  Use its argument for auto-libm-test-out input.
3823         (-c): New option.  Use its argument for libm-test.inc input.
3824         (-C): New option.  Use its argument for libm-test.c output.
3825         (-H): New option.  Use its argument for libm-test-ulps.h output.
3826         (top level): Only process inputs needed to generate outputs
3827         specified by command-line options.  Only generate outputs
3828         specified by command-line options.
3829         * math/README.libm-test: Update example gen-libm-test.pl command.
3830         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3831         commands.
3832         (regen-ulps): Likewise.
3834 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3836         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3837         * include/string.h (index): Remove define.
3838         (rindex): Likewise.
3839         * misc/getttyent.c (__getttyent): Rename index to strchr.
3840         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3841         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3843 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3845         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3846         * math/libm-test.inc: Move all contents, other than tests of
3847         individual functions, to libm-test-driver.c.
3848         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3849         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3850         [!FE_UPWARD] (FE_UPWARD): Likewise.
3851         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3852         (NO_EXCEPTION): Likewise.
3853         (INVALID_EXCEPTION): Likewise.
3854         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3855         (OVERFLOW_EXCEPTION): Likewise.
3856         (UNDERFLOW_EXCEPTION): Likewise.
3857         (INEXACT_EXCEPTION): Likewise.
3858         (INVALID_EXCEPTION_OK): Likewise.
3859         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3860         (OVERFLOW_EXCEPTION_OK): Likewise.
3861         (UNDERFLOW_EXCEPTION_OK): Likewise.
3862         (NO_INEXACT_EXCEPTION): Likewise.
3863         (EXCEPTIONS_OK): Likewise.
3864         (IGNORE_ZERO_INF_SIGN): Likewise.
3865         (TEST_NAN_SIGN): Likewise.
3866         (TEST_NAN_PAYLOAD): Likewise.
3867         (NO_TEST_INLINE): Likewise.
3868         (XFAIL_TEST): Likewise.
3869         (ERRNO_UNCHANGED): Likewise.
3870         (ERRNO_EDOM): Likewise.
3871         (ERRNO_ERANGE): Likewise.
3872         (IGNORE_RESULT): Likewise.
3873         (NON_FINITE): Likewise.
3874         (TEST_SNAN): Likewise.
3875         (NO_TEST_MATHVEC): Likewise.
3876         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3877         (__CONCATX): Likewise.
3878         (TYPE_MIN): Likewise.
3879         (TYPE_TRUE_MIN): Likewise.
3880         (TYPE_MAX): Likewise.
3881         (MIN_EXP): Likewise.
3882         (MAX_EXP): Likewise.
3883         (MANT_DIG): Likewise.
3884         (FSTR_MAX): Likewise.
3885         (ULP_IDX): Likewise.
3886         (QTYPE_STR): Likewise.
3887         (TEST_COND_binary32): Likewise.
3888         (TEST_COND_binary64): Likewise.
3889         (TEST_COND_binary128): Likewise.
3890         (TEST_COND_ibm128): Likewise.
3891         (TEST_COND_intel96): Likewise.
3892         (TEST_COND_m68k96): Likewise.
3893         (TEST_COND_ibm128_libgcc): Likewise.
3894         (XFAIL_IBM128_LIBGCC): Likewise.
3895         (PAYLOAD_DIG): Likewise.
3896         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3897         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3898         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3899         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3900         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3901         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3902         (TEST_COND_long32): Likewise.
3903         (TEST_COND_long64): Likewise.
3904         (TEST_COND_before_rounding): Likewise.
3905         (TEST_COND_after_rounding): Likewise.
3906         (lit_pi_3_m_4_d): Likewise.
3907         (lit_pi_3_m_4_ln10_m_d): Likewise.
3908         (lit_pi_2_ln10_m_d): Likewise.
3909         (lit_pi_4_ln10_m_d): Likewise.
3910         (lit_pi_ln10_d): Likewise.
3911         (lit_pi_2_d): Likewise.
3912         (lit_pi_4_d): Likewise.
3913         (lit_pi): Likewise.
3914         (lit_e): Likewise.
3915         (ulps_file_name): Likewise.
3916         (ulps_file): Likewise.
3917         (output_ulps): Likewise.
3918         (output_dir): Likewise.
3919         (noErrors): Likewise.
3920         (noTests): Likewise.
3921         (noExcTests): Likewise.
3922         (noErrnoTests): Likewise.
3923         (verbose): Likewise.
3924         (output_max_error): Likewise.
3925         (output_points): Likewise.
3926         (ignore_max_ulp): Likewise.
3927         (plus_zero): Likewise.
3928         (minus_zero): Likewise.
3929         (plus_infty): Likewise.
3930         (minus_infty): Likewise.
3931         (qnan_value_pl): Likewise.
3932         (qnan_value): Likewise.
3933         (snan_value_pl): Likewise.
3934         (snan_value): Likewise.
3935         (max_value): Likewise.
3936         (min_value): Likewise.
3937         (min_subnorm_value): Likewise.
3938         (snan_value_ld): Likewise.
3939         (max_error): Likewise.
3940         (real_max_error): Likewise.
3941         (imag_max_error): Likewise.
3942         (prev_max_error): Likewise.
3943         (prev_real_max_error): Likewise.
3944         (prev_imag_max_error): Likewise.
3945         (max_valid_error): Likewise.
3946         (TYPE_DECIMAL_DIG): Likewise.
3947         (TYPE_HEX_DIG): Likewise.
3948         (fmt_ftostr): Likewise.
3949         (compare_ulp_data): Likewise.
3950         (find_ulps): Likewise.
3951         (init_max_error): Likewise.
3952         (set_max_error): Likewise.
3953         (print_float): Likewise.
3954         (print_screen): Likewise.
3955         (print_screen_max_error): Likewise.
3956         (update_stats): Likewise.
3957         (print_function_ulps): Likewise.
3958         (print_complex_function_ulps): Likewise.
3959         (fpstack_test): Likewise.
3960         (print_max_error): Likewise.
3961         (print_complex_max_error): Likewise.
3962         (test_single_exception): Likewise.
3963         (test_exceptions): Likewise.
3964         (test_single_errno): Likewise.
3965         (test_errno): Likewise.
3966         (ULPDIFF): Likewise.
3967         (ulp): Likewise.
3968         (check_float_internal): Likewise.
3969         (check_float): Likewise.
3970         (check_complex): Likewise.
3971         (check_int): Likewise.
3972         (check_long): Likewise.
3973         (check_bool): Likewise.
3974         (check_longlong): Likewise.
3975         (check_intmax_t): Likewise.
3976         (check_uintmax_t): Likewise.
3977         (enable_test): Likewise.
3978         (struct test_f_f_data): Likewise.
3979         (struct test_ff_f_data): Likewise.
3980         (struct test_fj_f_data): Likewise.
3981         (struct test_fi_f_data): Likewise.
3982         (struct test_fl_f_data): Likewise.
3983         (struct test_if_f_data): Likewise.
3984         (struct test_fff_f_data): Likewise.
3985         (struct test_fiu_M_data): Likewise.
3986         (struct test_fiu_U_data): Likewise.
3987         (struct test_c_f_data): Likewise.
3988         (struct test_f_f1_data): Likewise.
3989         (struct test_fF_f1_data): Likewise.
3990         (struct test_ffI_f1_data): Likewise.
3991         (struct test_c_c_data): Likewise.
3992         (struct test_cc_c_data): Likewise.
3993         (struct test_f_i_data): Likewise.
3994         (struct test_ff_i_data): Likewise.
3995         (struct test_f_l_data): Likewise.
3996         (struct test_f_L_data): Likewise.
3997         (struct test_fFF_11_data): Likewise.
3998         (struct test_Ff_b1_data): Likewise.
3999         (IF_ROUND_INIT_): Likewise.
4000         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4001         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4002         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4003         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4004         (ROUND_RESTORE_): Likewise.
4005         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4006         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4007         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4008         (ROUND_RESTORE_FE_UPWARD): Likewise.
4009         (RM_): Likewise.
4010         (RM_FE_DOWNWARD): Likewise.
4011         (RM_FE_TONEAREST): Likewise.
4012         (RM_FE_TOWARDZERO): Likewise.
4013         (RM_FE_UPWARD): Likewise.
4014         (COMMON_TEST_SETUP): Likewise.
4015         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4016         (COMMON_TEST_CLEANUP): Likewise.
4017         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4018         (RUN_TEST_f_f): Likewise.
4019         (RUN_TEST_LOOP_f_f): Likewise.
4020         (RUN_TEST_fp_f): Likewise.
4021         (RUN_TEST_LOOP_fp_f): Likewise.
4022         (RUN_TEST_2_f): Likewise.
4023         (RUN_TEST_LOOP_2_f): Likewise.
4024         (RUN_TEST_ff_f): Likewise.
4025         (RUN_TEST_LOOP_ff_f): Likewise.
4026         (RUN_TEST_LOOP_fj_f): Likewise.
4027         (RUN_TEST_fi_f): Likewise.
4028         (RUN_TEST_LOOP_fi_f): Likewise.
4029         (RUN_TEST_fl_f): Likewise.
4030         (RUN_TEST_LOOP_fl_f): Likewise.
4031         (RUN_TEST_if_f): Likewise.
4032         (RUN_TEST_LOOP_if_f): Likewise.
4033         (RUN_TEST_fff_f): Likewise.
4034         (RUN_TEST_LOOP_fff_f): Likewise.
4035         (RUN_TEST_fiu_M): Likewise.
4036         (RUN_TEST_LOOP_fiu_M): Likewise.
4037         (RUN_TEST_fiu_U): Likewise.
4038         (RUN_TEST_LOOP_fiu_U): Likewise.
4039         (RUN_TEST_c_f): Likewise.
4040         (RUN_TEST_LOOP_c_f): Likewise.
4041         (RUN_TEST_f_f1): Likewise.
4042         (RUN_TEST_LOOP_f_f1): Likewise.
4043         (RUN_TEST_fF_f1): Likewise.
4044         (RUN_TEST_LOOP_fF_f1): Likewise.
4045         (RUN_TEST_fI_f1): Likewise.
4046         (RUN_TEST_LOOP_fI_f1): Likewise.
4047         (RUN_TEST_ffI_f1_mod8): Likewise.
4048         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4049         (RUN_TEST_Ff_b1): Likewise.
4050         (RUN_TEST_LOOP_Ff_b1): Likewise.
4051         (RUN_TEST_Ffp_b1): Likewise.
4052         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4053         (RUN_TEST_c_c): Likewise.
4054         (RUN_TEST_LOOP_c_c): Likewise.
4055         (RUN_TEST_cc_c): Likewise.
4056         (RUN_TEST_LOOP_cc_c): Likewise.
4057         (RUN_TEST_f_i): Likewise.
4058         (RUN_TEST_LOOP_f_i): Likewise.
4059         (RUN_TEST_f_i_tg): Likewise.
4060         (RUN_TEST_LOOP_f_i_tg): Likewise.
4061         (RUN_TEST_ff_b): Likewise.
4062         (RUN_TEST_LOOP_ff_b): Likewise.
4063         (RUN_TEST_ff_i_tg): Likewise.
4064         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4065         (RUN_TEST_f_b): Likewise.
4066         (RUN_TEST_LOOP_f_b): Likewise.
4067         (RUN_TEST_f_b_tg): Likewise.
4068         (RUN_TEST_LOOP_f_b_tg): Likewise.
4069         (RUN_TEST_f_l): Likewise.
4070         (RUN_TEST_LOOP_f_l): Likewise.
4071         (RUN_TEST_f_L): Likewise.
4072         (RUN_TEST_LOOP_f_L): Likewise.
4073         (RUN_TEST_fFF_11): Likewise.
4074         (RUN_TEST_LOOP_fFF_11): Likewise.
4075         (VEC_SUFF): Likewise.
4076         (STR_CONCAT): Likewise.
4077         (STR_CON3): Likewise.
4078         (HAVE_VECTOR): Likewise.
4079         (START): Likewise.
4080         (END): Likewise.
4081         (END_COMPLEX): Likewise.
4082         (ALL_RM_TEST): Likewise.
4083         (matherr): Likewise.
4084         (initialize): Likewise.
4085         (options): Likewise.
4086         (doc): Likewise.
4087         (parse_opt): Likewise.
4088         (argp): Likewise.
4089         (check_ulp): Likewise.
4090         (main): Likewise.
4091         (do_test): New function.  Call tests of individual functions
4092         previously called from main.
4094         * math/libm-test.inc: Remove comment listing functions tested and
4095         not tested.
4097 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4099         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4100         (allocate_stack): Remove COLORING_INCREMENT usage.
4101         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4102         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4104 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4106         * manual/libm-err-tab.pl (@all_functions): Change to
4107         %all_functions.  Initialize as empty.
4108         (parse_ulps): Add to %all_functions based on functions found in
4109         ulps files.  Ignore results for non-default rounding modes and
4110         vector functions.
4111         (print_platforms): Use %all_platforms.
4112         * manual/math.texi (Errors in Math Functions): Document omissions
4113         from the table.
4115         * math/Makefile (before-compile): Remove.
4117 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4119         [BZ #21075]
4120         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4121         unused assignment.
4122         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4124 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4126         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4127         Add __glibc_unlikely hint.
4129 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4131         [BZ #16640]
4132         * sysdeps/i386/i686/strtok.S: Remove file.
4133         * sysdeps/i386/i686/strtok_r.S: Likewise.
4134         * sysdeps/i386/strtok.S: Likewise.
4135         * sysdeps/i386/strtok_r.S: Likewise.
4136         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4137         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4138         * sysdeps/x86_64/strtok.S: Likewise.
4139         * sysdeps/x86_64/strtok_r.S: Likewise.
4141         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4142         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4143         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4144         (__ASSUME_FADVISE64_AS_64_64): Define.
4145         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4146         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4147         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4148         __ALIGNMENT_ARG usage.
4149         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4150         __NR_fadvise64_64 if it is not defined.
4152 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4154         * version.h (RELEASE): Set to "development"
4155         (VERSION): Set to 2.25.90.
4156         * NEWS: Add 2.26 section.
4158         * version.h (RELEASE): Set to "stable"
4159         (VERSION): Set to 2.25.
4160         * include/features.h (__GLIBC_MINOR__): Set to 25.
4162         * manual/contrib.texi: Add more contributors from this release
4163         and past releases.
4165         * NEWS (2.25): Add list of bugs fixed.
4167         * NEWS: Add missing news items.
4169 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4171         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4172         parent if child exited in that manner.  Print WEXITSTATUS
4173         instead of the raw status.
4174         (do_test_prep): Rename to do_test.
4175         (do_test): Return the result of run_executable_sgid.
4176         (TEST_FUNCTION_ARGV): Adjust.
4178 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4179             Florian Weimer  <fweimer@redhat.com>
4180             Carlos O'Donell  <carlos@redhat.com>
4182         [BZ #20915]
4183         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4184         Do not initialize DTV.
4185         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4187 2017-02-03  David S. Miller  <davem@davemloft.net>
4189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4197         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4198         (libm-sysdep_routines): Update.
4199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4204         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4205         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4206         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4207         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4209         Likewise.
4210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4212         Likewise.
4213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4215         Likewise.
4216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4218         Likewise.
4219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4221         (libm-sysdep_routines): Update.
4223 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4225         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4226         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4227         against unrelocated shared library.
4228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4230 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4232         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4233         * elf/tst-env-setuid-tunables.c
4234         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4235         GLIBC_TUNABLES is removed in a setgid process.
4237         [BZ #21073]
4238         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4239         * elf/dl-tunables.c (tunables_strdup): Remove.
4240         (get_next_env): Also return the previous envp.
4241         (parse_tunables): Erase tunables of category
4242         TUNABLES_SECLEVEL_SXID_ERASE.
4243         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4244         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4245         (__tunables_init)[TUNABLES_FRONTEND ==
4246         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4247         after parsing.
4248         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4249         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4250         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4251         to security_level.
4252         * elf/dl-tunables.list: Add security_level annotations for all
4253         tunables.
4254         * scripts/gen-tunables.awk: Recognize and generate enum values
4255         for security_level.
4256         * elf/tst-env-setuid.c: New test case.
4257         * elf/tst-env-setuid-tunables: new test case.
4258         * elf/Makefile (tests-static): Add them.
4260 2017-02-01  Richard Henderson  <rth@twiddle.net>
4262         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4263         adjusting the byte count.
4265 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4267         * conform/Makefile (linknamespace-libs): Define.
4269         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4270         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4271         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4272         operands.
4274 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4276         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4278 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4280         [BZ #21081]
4281         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4282         (L(stosb)): Add VZEROUPPER before ret.
4284 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4285             Alexey Makhalov <amakhalov@vmware.com>
4286             Florian Weimer <fweimer@redhat.com>
4288         [BZ #20116]
4289         * nptl/pthread_create.c: Document concurrency notes.
4290         Enhance thread creation notes.
4291         (create_thread): Use bool *stopped_start.
4292         (START_THREAD_DEFN): Comment ownership of PD.
4293         (__pthread_create_2_1): Add local bool stopped_start and use
4294         that instead of pd->stopped_start where appropriate.
4295         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4296         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4297         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4298         * nptl/tst-create-detached.c: New file.
4299         * nptl/Makefile (tests): Add tst-create-detached.
4300         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4301         Reference the enhanced thread creation notes.
4302         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4303         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4304         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4305         (__pthread_current_priority): Likewise.
4306         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4307         xpthread_attr_init, xpthread_attr_setdetachstate, and
4308         xpthread_attr_setstacksize.
4309         * support/xpthread_attr_destroy.c: New file.
4310         * support/xpthread_attr_init.c: New file.
4311         * support/xpthread_attr_setdetachstate.c: New file.
4312         * support/xpthread_attr_setstacksize.c: New file.
4313         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4314         xpthread_attr_init, xpthread_attr_setdetachstate, and
4315         xpthread_attr_setstacksize.
4317 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4319         * nptl/Makefile (tests): Add tst-robust-fork.
4320         * nptl/tst-robust-fork.c: New file.
4321         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4322         xpthread_mutex_consistent, xpthread_mutex_destroy,
4323         xpthread_mutex_init, xpthread_mutexattr_destroy,
4324         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4325         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4326         xpthread_mutexattr_settype.
4327         * support/xmmap.c: New file.
4328         * support/xmunmap.c: Likewise.
4329         * support/xpthread_mutex_consistent.c: Likewise.
4330         * support/xpthread_mutex_destroy.c: Likewise.
4331         * support/xpthread_mutex_init.c: Likewise.
4332         * support/xpthread_mutexattr_destroy.c: Likewise.
4333         * support/xpthread_mutexattr_init.c: Likewise.
4334         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4335         * support/xpthread_mutexattr_setpshared.c: Likewise.
4336         * support/xpthread_mutexattr_setrobust.c: Likewise.
4337         * support/xpthread_mutexattr_settype.c: Likewise.
4338         * support/xthread.h (xpthread_mutexattr_destroy)
4339         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4340         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4341         (xpthread_mutexattr_settype, xpthread_mutex_init)
4342         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4343         * support/xunistd.h (xmmap, xmunmap): Likewise.
4345 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4347         * string/Makefile (xtests): Add comment.
4348         (LOCALES): Add en_GB.UTF-8.
4349         (tst-strcoll-overflow.out): Depend on generated locales.
4350         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4351         (SIZE, TIMEOUT): Update comments.
4352         (do_test): Define as static.  Fail test if setlocale fails.
4353         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4354         messages.
4355         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4356         TIMEOUT at 300 seconds should be enough to run this test
4357         successfully.
4359 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4361         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4362         /* FALLTHRU */ comments.
4364 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4366         [BZ #21053]
4367         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4368         constants instead of the old R* ones.
4369         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4370         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4371         (NGREG): ... to this, to fit in with other architectures.
4372         (gpregset_t): Use new NGREG macro.
4373         [__USE_GNU]: Remove condition; all architectures other than tile
4374         are unconditional.
4375         (R*): Rename to REG_R*.
4377 2017-01-20  DJ Delorie  <dj@redhat.com>
4379         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4380         (tunable_set_val_if_valid_range_signed) ... this, and ...
4381         (tunable_set_val_if_valid_range_unsigned) ... this.
4382         (tunable_initialize): Call the correct one of the above based on type.
4384 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4386         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4387         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4388         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4389         * sysdeps/microblaze/libm-test-ulps: Likewise.
4390         * sysdeps/sh/libm-test-ulps: Likewise.
4392         * math/README.libm-test: Update list of characters for input and
4393         output types.
4395 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4397         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4398         (__lll_unlock_elision): Fix adapt_count decrement.
4400 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4402         * README.pretty-printers (Known issues): Warn about printers not
4403         always covering everything.
4404         * nptl/nptl-printers.py (MutexPrinter): Change output.
4405         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4407 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4409         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4410         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4411         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4412         (__lll_lock_elision): Do not test futex before starting a
4413         transaction.  Use __glibc_likely instead of __builtin_expect.
4414         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4415         (__lll_trylock_elision): Do not test futex before starting a
4416         transaction.  Use __glibc_likely instead of __builtin_expect.
4418 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4420         * po/Makefile (update-translations): New target.
4422 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4424         [BZ #21061]
4425         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4427 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4429         * elf/dl-tunables (get_next_env): Always advance envp.
4430         * stdlib/tst-empty-env.c: New test case.
4431         * stdlib/Makefile (tests): Use it.
4433 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4435         [BZ #21047]
4436         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4437         name for instruction.
4438         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4440 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4442         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4443         for make install.
4445 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4447         * po/bg.po: Merge from Translation Project.
4448         * po/fr.po: Likewise.
4449         * po/ko.po: Likewise.
4450         * po/nl.po: Likewise.
4451         * po/sv.po: Likewise.
4453 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4455         * manual/install.texi (Tools for Compilation): Update GCC version
4456         known to work to build glibc.
4457         * INSTALL: Regenerated.
4459 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4461         [BZ #21006]
4462         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4464 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4466         [BZ #21045]
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4468         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4469         to __sigprocmask.
4471 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4473         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4474         wrap-around.
4475         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4477         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4479 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4481         * NEWS: Fix typo.
4483 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4485         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4486         barriers and comments.
4487         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4488         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4489         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4491 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4493         [BZ #19402]
4494         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4495         mutexes.
4497 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4499         [BZ #20985]
4500         * nptl/Makefile: Adapt.
4501         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4502         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4503         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4504         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4505         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4506         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4507         lll_robust* functions and adapt.
4508         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4509         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4510         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4511         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4513         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4515         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4516         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4517         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4518         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4519         * nptl/lowlevelrobustlock.c: Remove file.
4520         * nptl/lowlevelrobustlock.sym: Likewise.
4521         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4522         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4524 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4526         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4528 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4530         * po/cs.po: Merge translations from the Translation Project.
4531         * po/de.po: Likewise.
4532         * po/pl.po: Likewise.
4533         * po/ru.po: Likewise.
4534         * po/tr.po: Likewise.
4535         * po/uk.po: Likewise.
4536         * po/vi.po: Likewise.
4537         * po/zh_CN.po: Likewise.
4539 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4541         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4543         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4544         object.
4546 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4548         [BZ #16458]
4549         * bits/uintn-identity.h: New file.
4550         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4551         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4552         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4553         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4554         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4555         * string/endian.h: Include <bits/uintn-identity.h>.
4556         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4557         __uint16_identity.
4558         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4559         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4560         __uint32_identity.
4561         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4562         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4563         __uint64_identity.
4564         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4565         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4566         __uint16_identity.
4567         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4568         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4569         __uint32_identity.
4570         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4571         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4572         __uint64_identity.
4573         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4574         * string/Makefile (headers): Add bits/uintn-identity.h.
4575         (tests): Add test-endian-types.
4576         * string/test-endian-types.c: New file.
4577         * inet/Makefile (tests): Add test-hnto-types.
4578         * inet/test-hnto-types.c: New file.
4580 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4582         * po/be.po: Update from Translation Project.
4583         * po/bg.po: Likewise.
4584         * po/ca.po: Likewise.
4585         * po/cs.po: Likewise.
4586         * po/da.po: Likewise.
4587         * po/de.po: Likewise.
4588         * po/el.po: Likewise.
4589         * po/eo.po: Likewise.
4590         * po/es.po: Likewise.
4591         * po/fi.po: Likewise.
4592         * po/fr.po: Likewise.
4593         * po/gl.po: Likewise.
4594         * po/hr.po: Likewise.
4595         * po/hu.po: Likewise.
4596         * po/ia.po: Likewise.
4597         * po/id.po: Likewise.
4598         * po/it.po: Likewise.
4599         * po/ja.po: Likewise.
4600         * po/ko.po: Likewise.
4601         * po/lt.po: Likewise.
4602         * po/nb.po: Likewise.
4603         * po/nl.po: Likewise.
4604         * po/pl.po: Likewise.
4605         * po/pt_BR.po: Likewise.
4606         * po/ru.po: Likewise.
4607         * po/rw.po: Likewise.
4608         * po/sk.po: Likewise.
4609         * po/sl.po: Likewise.
4610         * po/sv.po: Likewise.
4611         * po/tr.po: Likewise.
4612         * po/uk.po: Likewise.
4613         * po/vi.po: Likewise.
4614         * po/zh_CN.po: Likewise.
4615         * po/zh_TW.po: Likewise.
4617 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4619         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4620         -Wformat-truncation instead of -Wformat-length.
4621         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4622         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4623         GCC 7.
4624         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4625         (do_test): Ignore -Wformat-truncation for GCC 7.
4627         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4628         buffer used to print long int value.
4630         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4631         one byte.  Print it with %ld, cast to long int.
4633 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4635         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4636         (re.fullmatch, subprocess.run): Likewise.
4638 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4640         * po/libc.pot: Regenerate.
4642 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4644         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4645         (min_strlen): Likewise.
4646         (disable_tunable): Likewise.
4647         (maybe_disable_malloc_check): Rename to
4648         maybe_enable_malloc_check.
4649         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4650         if /etc/suid-debug file exists.
4651         (__tunables_init): Update caller.
4652         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4653         secure.
4655 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4657         * nptl/DESIGN-rwlock.txt: Remove.
4658         * nptl/lowlevelrwlock.sym: Remove.
4659         * nptl/Makefile: Add new tests.
4660         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4661         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4662         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4663         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4664         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4665         PTHREAD_RWLOCK_FUTEX_USED): New.
4666         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4667         implementation.
4668         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4669         (__pthread_rwlock_rdlock): Adapt.
4670         * nptl/pthread_rwlock_timedrdlock.c
4671         (pthread_rwlock_timedrdlock): Adapt.
4672         * nptl/pthread_rwlock_timedwrlock.c
4673         (pthread_rwlock_timedwrlock): Adapt.
4674         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4675         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4676         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4677         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4678         (__pthread_rwlock_wrlock): Adapt.
4679         * nptl/tst-rwlock10.c: Adapt.
4680         * nptl/tst-rwlock11.c: Adapt.
4681         * nptl/tst-rwlock17.c: New file.
4682         * nptl/tst-rwlock18.c: New file.
4683         * nptl/tst-rwlock19.c: New file.
4684         * nptl/tst-rwlock2b.c: New file.
4685         * nptl/tst-rwlock8.c: Adapt.
4686         * nptl/tst-rwlock9.c: Adapt.
4687         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4688         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4689         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4690         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4691         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4692         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4693         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4694         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4695         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4696         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4697         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4698         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4699         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4700         (pthread_rwlock_t): Adapt.
4701         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4702         (pthread_rwlock_t): Adapt.
4703         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4704         * nptl/nptl-printers.py (): Adapt.
4705         * nptl/nptl_lock_constants.pysym: Adapt.
4706         * nptl/test-rwlock-printers.py: Adapt.
4707         * nptl/test-rwlockattr-printers.c: Adapt.
4708         * nptl/test-rwlockattr-printers.py: Adapt.
4710 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4712         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4713         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4714         (fma_test_data): Likewise.
4715         (hypot_test_data): Likewise.
4716         (log1p_test_data): Likewise.
4717         (modf_test_data): Likewise.
4718         (pow_test_data): Likewise.
4719         (remainder_test_data): Likewise.
4720         (remquo_test_data): Likewise.
4721         (scalb_test_data): Likewise.
4722         (scalbn_test_data): Likewise.
4723         (scalbln_test_data): Likewise.
4724         * math/gen-libm-test.pl (parse_args): Transform
4725         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4726         on the rounding mode.
4728 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4730         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4731         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4732         and those that can underflow to zero.
4733         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4734         add others.
4735         * math/auto-libm-test-out: Regenerated.
4737         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4738         supported.
4739         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4740         modes support if not supported.
4742         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4743         Add libc.so PLT entry.
4744         (__tls_get_addr): Make ld.so PLT entry optional.
4746 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4748         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4749         * string/bits/string3.h: ... here.
4751 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4753         [BZ #21028]
4754         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4755         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4756         if EXCEPTION_TESTS returns false.
4758 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4760         [BZ #20558]
4761         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4762         strings_fortified.h.
4763         [__USE_MISC] (bzero): Likewise.
4764         [__USE_MISC] (explicit_bzero): Likewise.
4765         * string/strings.h: Include strings_fortified.h.
4766         * string/Makefile (headers): Add strings_fortified.h.
4767         * string/bits/strings_fortified.h: New file.
4768         * include/bits/strings_fortified.h: Likewise.
4770 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4772         * elf/tst-tls13.c (TIMEOUT): Remove.
4773         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4774         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4775         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4776         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4777         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4779         [BZ #21026]
4780         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4781         (readahead): New syscall entry.
4783 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4785         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4786         around tests of strncat with large sizes.
4788         * malloc/tst-malloc.c: Include <libc-internal.h>.
4789         (do_test): Disable -Walloc-size-larger-than= around tests of
4790         malloc with negative sizes.
4791         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4792         (do_test): Disable -Walloc-size-larger-than= around tests of
4793         malloc and realloc with negative sizes.
4794         * malloc/tst-realloc.c: Include <libc-internal.h>.
4795         (do_test): Disable -Walloc-size-larger-than= around tests of
4796         realloc with negative sizes.
4798         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4799         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4800         allowed to 16 ulps.
4801         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4802         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4803         * math/auto-libm-test-out: Regenerated.
4805 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4807         * math/Makefile (libm-calls): Move wrappers...
4808         (libm-compat-call-auto): Here.
4809         (libm-routines): Add items in libm-compat-calls-auto.
4810         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4811         the filenames of the wrappers that have been renamed.
4812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4815         * math/w_acos.c: Add _compat suffix to filename.
4816         * math/w_acosf.c: Likewise.
4817         * math/w_acosh.c: Likewise.
4818         * math/w_acoshf.c: Likewise.
4819         * math/w_acoshl.c: Likewise.
4820         * math/w_acosl.c: Likewise.
4821         * math/w_asin.c: Likewise.
4822         * math/w_asinf.c: Likewise.
4823         * math/w_asinl.c: Likewise.
4824         * math/w_atan2.c: Likewise.
4825         * math/w_atan2f.c: Likewise.
4826         * math/w_atan2l.c: Likewise.
4827         * math/w_atanh.c: Likewise.
4828         * math/w_atanhf.c: Likewise.
4829         * math/w_atanhl.c: Likewise.
4830         * math/w_cosh.c: Likewise.
4831         * math/w_coshf.c: Likewise.
4832         * math/w_coshl.c: Likewise.
4833         * math/w_exp10.c: Likewise.
4834         * math/w_exp10f.c: Likewise.
4835         * math/w_exp10l.c: Likewise.
4836         * math/w_exp2.c: Likewise.
4837         * math/w_exp2f.c: Likewise.
4838         * math/w_exp2l.c: Likewise.
4839         * math/w_fmod.c: Likewise.
4840         * math/w_fmodf.c: Likewise.
4841         * math/w_fmodl.c: Likewise.
4842         * math/w_hypot.c: Likewise.
4843         * math/w_hypotf.c: Likewise.
4844         * math/w_hypotl.c: Likewise.
4845         * math/w_j0.c: Likewise.
4846         * math/w_j0f.c: Likewise.
4847         * math/w_j0l.c: Likewise.
4848         * math/w_j1.c: Likewise.
4849         * math/w_j1f.c: Likewise.
4850         * math/w_j1l.c: Likewise.
4851         * math/w_jn.c: Likewise.
4852         * math/w_jnf.c: Likewise.
4853         * math/w_jnl.c: Likewise.
4854         * math/w_log10.c: Likewise.
4855         * math/w_log10f.c: Likewise.
4856         * math/w_log10l.c: Likewise.
4857         * math/w_log2.c: Likewise.
4858         * math/w_log2f.c: Likewise.
4859         * math/w_log2l.c: Likewise.
4860         * math/w_log.c: Likewise.
4861         * math/w_logf.c: Likewise.
4862         * math/w_logl.c: Likewise.
4863         * math/w_pow.c: Likewise.
4864         * math/w_powf.c: Likewise.
4865         * math/w_powl.c: Likewise.
4866         * math/w_remainder.c: Likewise.
4867         * math/w_remainderf.c: Likewise.
4868         * math/w_remainderl.c: Likewise.
4869         * math/w_scalb.c: Likewise.
4870         * math/w_scalbf.c: Likewise.
4871         * math/w_scalbl.c: Likewise.
4872         * math/w_sinh.c: Likewise.
4873         * math/w_sinhf.c: Likewise.
4874         * math/w_sinhl.c: Likewise.
4875         * math/w_sqrt.c: Likewise.
4876         * math/w_sqrtf.c: Likewise.
4877         * math/w_sqrtl.c: Likewise.
4878         * math/w_tgamma.c: Likewise.
4879         * math/w_tgammaf.c: Likewise.
4880         * math/w_tgammal.c: Likewise.
4882         * math/w_acos_compat.c: New file copied from above and
4883         adjusted for new #includes path
4884         * math/w_acosf_compat.c: Likewise.
4885         * math/w_acosh_compat.c: Likewise.
4886         * math/w_acoshf_compat.c: Likewise.
4887         * math/w_acoshl_compat.c: Likewise.
4888         * math/w_acosl_compat.c: Likewise.
4889         * math/w_asin_compat.c: Likewise.
4890         * math/w_asinf_compat.c: Likewise.
4891         * math/w_asinl_compat.c: Likewise.
4892         * math/w_atan2_compat.c: Likewise.
4893         * math/w_atan2f_compat.c: Likewise.
4894         * math/w_atan2l_compat.c: Likewise.
4895         * math/w_atanh_compat.c: Likewise.
4896         * math/w_atanhf_compat.c: Likewise.
4897         * math/w_atanhl_compat.c: Likewise.
4898         * math/w_cosh_compat.c: Likewise.
4899         * math/w_coshf_compat.c: Likewise.
4900         * math/w_coshl_compat.c: Likewise.
4901         * math/w_exp10_compat.c: Likewise.
4902         * math/w_exp10f_compat.c: Likewise.
4903         * math/w_exp10l_compat.c: Likewise.
4904         * math/w_exp2_compat.c: Likewise.
4905         * math/w_exp2f_compat.c: Likewise.
4906         * math/w_exp2l_compat.c: Likewise.
4907         * math/w_fmod_compat.c: Likewise.
4908         * math/w_fmodf_compat.c: Likewise.
4909         * math/w_fmodl_compat.c: Likewise.
4910         * math/w_hypot_compat.c: Likewise.
4911         * math/w_hypotf_compat.c: Likewise.
4912         * math/w_hypotl_compat.c: Likewise.
4913         * math/w_j0_compat.c: Likewise.
4914         * math/w_j0f_compat.c: Likewise.
4915         * math/w_j0l_compat.c: Likewise.
4916         * math/w_j1_compat.c: Likewise.
4917         * math/w_j1f_compat.c: Likewise.
4918         * math/w_j1l_compat.c: Likewise.
4919         * math/w_jn_compat.c: Likewise.
4920         * math/w_jnf_compat.c: Likewise.
4921         * math/w_jnl_compat.c: Likewise.
4922         * math/w_log10_compat.c: Likewise.
4923         * math/w_log10f_compat.c: Likewise.
4924         * math/w_log10l_compat.c: Likewise.
4925         * math/w_log2_compat.c: Likewise.
4926         * math/w_log2f_compat.c: Likewise.
4927         * math/w_log2l_compat.c: Likewise.
4928         * math/w_log_compat.c: Likewise.
4929         * math/w_logf_compat.c: Likewise.
4930         * math/w_logl_compat.c: Likewise.
4931         * math/w_pow_compat.c: Likewise.
4932         * math/w_powf_compat.c: Likewise.
4933         * math/w_powl_compat.c: Likewise.
4934         * math/w_remainder_compat.c: Likewise.
4935         * math/w_remainderf_compat.c: Likewise.
4936         * math/w_remainderl_compat.c: Likewise.
4937         * math/w_scalb_compat.c: Likewise.
4938         * math/w_scalbf_compat.c: Likewise.
4939         * math/w_scalbl_compat.c: Likewise.
4940         * math/w_sinh_compat.c: Likewise.
4941         * math/w_sinhf_compat.c: Likewise.
4942         * math/w_sinhl_compat.c: Likewise.
4943         * math/w_sqrt_compat.c: Likewise.
4944         * math/w_sqrtf_compat.c: Likewise.
4945         * math/w_sqrtl_compat.c: Likewise.
4946         * math/w_tgamma_compat.c: Likewise.
4947         * math/w_tgammaf_compat.c: Likewise.
4948         * math/w_tgammal_compat.c: Likewise.
4950         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4951         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4952         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4953         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4954         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4955         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4956         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4957         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4958         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4959         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4960         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4961         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4962         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4963         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4964         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4965         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4966         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4967         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4968         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4969         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4970         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4971         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4972         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4973         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4974         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4975         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4976         * sysdeps/ia64/fpu/w_log.c: Likewise.
4977         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4978         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4979         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4980         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4981         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4982         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4983         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4984         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4985         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4986         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4987         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4988         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4989         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4990         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4991         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4992         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4993         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4994         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4995         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4996         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4997         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4998         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4999         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5000         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5001         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5002         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5003         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5004         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5005         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5006         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5007         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5008         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5009         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5010         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5011         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5012         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5013         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5014         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5015         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5016         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5017         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5018         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5019         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5020         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5021         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5022         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5023         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5024         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5025         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5026         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5027         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5028         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5029         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5030         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5031         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5032         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5033         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5034         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5035         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5036         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5037         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5038         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5039         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5040         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5041         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5042         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5043         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5044         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5045         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5046         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5047         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5048         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5049         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5051         Likewise.
5052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5053         Likewise.
5054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5056         Likewise.
5057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5058         Likewise.
5059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5060         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5061         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5062         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5063         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5064         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5065         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5070         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5071         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5072         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5073         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5075         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5076         and adjusted for new #includes path
5077         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5078         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5079         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5080         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5081         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5082         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5083         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5084         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5085         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5086         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5087         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5088         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5089         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5090         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5091         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5092         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5093         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5094         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5095         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5096         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5097         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5098         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5099         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5100         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5101         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5102         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5103         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5104         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5105         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5106         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5107         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5108         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5109         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5110         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5111         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5112         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5113         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5114         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5115         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5116         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5117         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5118         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5119         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5120         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5121         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5122         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5123         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5124         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5125         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5126         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5127         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5128         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5129         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5130         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5131         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5132         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5133         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5134         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5135         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5136         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5137         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5138         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5139         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5140         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5141         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5142         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5143         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5144         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5145         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5146         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5147         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5148         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5149         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5150         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5151         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5152         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5153         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5154         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5155         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5156         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5157         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5158         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5159         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5160         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5161         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5162         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5163         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5164         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5165         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5166         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5167         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5168         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5169         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5170         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5171         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5172         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5173         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5174         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5175         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5177         Likewise.
5178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5179         Likewise.
5180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5181         Likewise.
5182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5183         Likewise.
5184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5185         Likewise.
5186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5187         Likewise.
5188         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5189         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5190         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5191         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5192         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5193         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5195         Likewise.
5196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5197         Likewise.
5198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5199         Likewise.
5200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5201         Likewise.
5202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5204         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5205         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5207 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5209         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5210         __jmp_buf_internal_tag.
5212         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5213         preserve NaN payload if [__mips_nan2008].
5214         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5216         [BZ #21022]
5217         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5219 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5221         * sysdeps/i386/fpu/libm-test-ulps: Update.
5223 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5225         * sysdeps/ia64/strcat.c: Remove file.
5226         * sysdeps/powerpc/strcat.c: Likewise.
5227         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5228         C implementation.
5229         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5230         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5232 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5233             Steven Munroe  <sjmunroe@us.ibm.com>
5234             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5236         [BZ #20822]
5237         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5238         (__lll_lock_elision): Access adapt_count via C11 atomics.
5239         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5240         (__lll_trylock_elision): Likewise.
5241         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5242         (__lll_unlock_elision):  Update adapt_count variable inside the
5243         critical section using C11 atomics.
5245 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5247         * math/test-fenvinline.c (do_test): Disable tests of raised
5248         exceptions if !EXCEPTION_TESTS (FLOAT).
5250 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5252         [BZ #19390]
5253         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5254         maximum string size.
5255         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5256         in pointer addition.
5257         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5258         Likewise.
5260 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5262         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5263         passed to tst-ldconfig-X.sh.
5265 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5267         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5269 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #21019]
5272         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5273         New syscall entry.
5274         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5275         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5276         lseek.
5278         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5279         power4 glibc for powerpc-linux-gnu.
5281 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5283         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5284         semctl.
5286 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5288         * math/test-nearbyint-except.c: Include <stdbool.h>.
5289         (any_supported): New variable.
5290         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5291         set any_supported.
5292         (do_test): Return 77 if no floating-point type supported
5293         exceptions.
5295         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5296         condition on [__mips_hard_float].
5298 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5300         [BZ #21014]
5301         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5302         in pointer addition.
5303         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5305 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5307         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5308         new condvar.
5310 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5312         * scripts/build-many-glibcs.py (Context.checkout): Default
5313         binutils version to 2.28 branch.
5315 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5317         * support/support_format_netent.c (support_format_netent): Work
5318         around alpha struct netent definition difference.
5320 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5322         * support/xwrite.c (xwrite): Use %td for pointer difference.
5324 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5326         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5327         have-tunables only.
5328         (tests-static): Add tst-malloc-usable-static-tunables for
5329         have-tunables only.
5331 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5333         * scripts/config.guess: Update to version 2017-01-01.
5334         * scripts/config.sub: Update to version 2017-01-01.
5336         * NEWS: Update copyright dates.
5337         * catgets/gencat.c (print_version): Likewise.
5338         * csu/version.c (banner): Likewise.
5339         * debug/catchsegv.sh: Likewise.
5340         * debug/pcprofiledump.c (print_version): Likewise.
5341         * debug/xtrace.sh (do_version): Likewise.
5342         * elf/ldconfig.c (print_version): Likewise.
5343         * elf/ldd.bash.in: Likewise.
5344         * elf/pldd.c (print_version): Likewise.
5345         * elf/sotruss.sh: Likewise.
5346         * elf/sprof.c (print_version): Likewise.
5347         * iconv/iconv_prog.c (print_version): Likewise.
5348         * iconv/iconvconfig.c (print_version): Likewise.
5349         * locale/programs/locale.c (print_version): Likewise.
5350         * locale/programs/localedef.c (print_version): Likewise.
5351         * login/programs/pt_chown.c (print_version): Likewise.
5352         * malloc/memusage.sh (do_version): Likewise.
5353         * malloc/memusagestat.c (print_version): Likewise.
5354         * malloc/mtrace.pl: Likewise.
5355         * manual/libc.texinfo: Likewise.
5356         * nptl/version.c (banner): Likewise.
5357         * nscd/nscd.c (print_version): Likewise.
5358         * nss/getent.c (print_version): Likewise.
5359         * nss/makedb.c (print_version): Likewise.
5360         * posix/getconf.c (main): Likewise.
5361         * scripts/test-installation.pl: Likewise.
5362         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5364         * All files with FSF copyright notices: Update copyright dates
5365         using scripts/update-copyrights.
5366         * intl/plural.c: Regenerated.
5367         * locale/programs/charmap-kw.h: Likewise.
5368         * locale/programs/locfile-kw.h: Likewise.
5370 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5372         [BZ #20593]
5373         Update DNS RR type definitions.
5374         * scripts/gen-rrtypes.py: New file.
5375         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5376         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5377         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5378         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5379         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5380         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5381         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5382         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5383         ns_t_ta, ns_t_dlv.
5384         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5385         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5386         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5387         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5388         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5389         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5390         Define.
5391         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5392         entry for ns_t_zxfr.
5394 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5396         [BZ #18784]
5397         CVE-2015-5180
5398         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5399         T_UNSPEC.  Adjust value.
5400         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5401         * resolv/res_query.c (__libc_res_nquery): Likewise.
5402         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5403         QTYPEs.
5404         * resolv/tst-resolv-qtypes.c: New file.
5405         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5406         (tst-resolv-qtypes): Link against libresolv and libpthread.
5408 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5410         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5412 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5414         * manual/tunables.texi: New chapter.
5415         * manual/Makefile (chapters): Add it.
5416         * manual/probes.texi (@node): Point to the Tunables chapter.
5418         * Makeconfig (have-tunables): Check for non-negative instead
5419         of positive.
5420         * configure.ac: Add 'valstring' as a valid value for
5421         --enable-tunables.
5422         * configure: Regenerate.
5423         * elf/Makefile (have-tunables): Check for non-negative instead
5424         of positive.
5425         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5426         dl-tunables.c.
5427         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5428         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5429         (tunables_strdup): Likewise.
5430         (disable_tunables): Likewise.
5431         (parse_tunables): Likewise.
5432         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5433         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5434         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5435         (TUNABLES_FRONTEND_yes): New macro, define as
5436         TUNABLES_FRONTEND_valstring by default.
5437         * manual/install.texi: Document new acceptable values for
5438         --enable-tunables.
5439         * INSTALL: Regenerate.
5441         * config.make.in (have-loop-to-function): Define.
5442         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5443         -fno-tree-loop-distribute-patterns.
5444         * elf/dl-tunables.c: Include libc-internals.h.
5445         (GLIBC_TUNABLES): New macro.
5446         (tunables_strdup): New function.
5447         (parse_tunables): New function.
5448         (min_strlen): New function.
5449         (__tunables_init): Use the new functions and macro.
5450         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5451         * malloc/tst-malloc-usable-tunables.c: New test case.
5452         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5453         * malloc/Makefile (tests, tests-static): Add tests.
5455         * manual/install.texi: Add --enable-tunables option.
5456         * INSTALL: Regenerate.
5457         * README.tunables: New file.
5458         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5459         (before-compile): Generate dl-tunable-list.h early.
5460         * config.h.in: Add HAVE_TUNABLES.
5461         * config.make.in: Add have-tunables.
5462         * configure.ac: Add --enable-tunables option.
5463         * configure: Regenerate.
5464         * csu/init-first.c (__libc_init_first): Move
5465         __libc_init_secure earlier...
5466         * csu/init-first.c (LIBC_START_MAIN):... to here.
5467         Include dl-tunables.h, libc-internal.h.
5468         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5469         binaries.
5470         * elf/Makefile (dl-routines): Add dl-tunables.
5471         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5472         namespace.
5473         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5474         only when !HAVE_TUNABLES.
5475         * elf/rtld.c (process_envvars): Likewise.
5476         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5477         (_dl_sysdep_start): Call __tunables_init.
5478         * elf/dl-tunable-types.h: New file.
5479         * elf/dl-tunables.c: New file.
5480         * elf/dl-tunables.h: New file.
5481         * elf/dl-tunables.list: New file.
5482         * malloc/tst-malloc-usable-static.c: New test case.
5483         * malloc/Makefile (tests-static): Add it.
5484         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5485         Define TUNABLE_NAMESPACE.
5486         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5487         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5488         callback functions.
5489         (ptmalloc_init): Set tunable values.
5490         * scripts/gen-tunables.awk: New file.
5491         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5492         (_dl_sysdep_start): Call __tunables_init.
5494 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5496         * resolv/resolv.h (RES_BLAST): Deprecate.
5497         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5498         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5499         to RES_BLAST.
5501 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5503         [BZ #19582]
5504         Deprecate RES_USE_INET6.
5505         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5506         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5507         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5508         RES_USE_INET6.
5509         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5510         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5511         (_nss_nisplus_gethostbyaddr_r): Likewise.
5512         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5513         of res_use_inet6.
5514         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5515         instead of RES_USE_INET6.
5516         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5517         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5518         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5519         Likewise.
5520         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5521         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5522         Likewise.
5523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5524         (_nss_dns_gethostbyname_r): Likewise.
5525         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5526         alternate RES_USE_INET6 handling.
5527         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5528         instead of RES_USE_INET6.
5529         * resolv/res_init.c (res_setoptions): Likewise.
5530         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5531         * resolv/resolv-internal.h: New file.
5532         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5533         make the deprecation warning non-fatal.
5534         * resolv/README (Using the resolver in multi-threaded code): Drop
5535         reference to RES_USE_INET6.
5536         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5537         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5539 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5541         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5542         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5543         tst-resolv-search.
5544         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5545         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5546         with libresolv and libpthread.
5547         * resolv/tst-bug18665.c: New file.
5548         * resolv/tst-bug18665-tcp: Likewise.
5549         * resolv/tst-res_use_inet6: Likewise.
5550         * resolv/tst-resolv-basic: Likewise.
5551         * resolv/tst-resolv-network: Likewise.
5552         * resolv/tst-resolv-search: Likewise.
5553         * support/Makefile (libsupport-routines): Add check_addrinfo,
5554         check_dns_packet, check_hostent, check_netent, resolv_test,
5555         support_format_address_family, support_format_addrinfo,
5556         support_format_dns_packet, support_format_herrno,
5557         support_format_hostent, support_format_netent, support_run_diff,
5558         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5559         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5560         xstrdup, xwrite.
5561         * support/check_addrinfo.c: New file.
5562         * support/check_dns_packet.c: Likewise.
5563         * support/check_hostent.c: Likewise.
5564         * support/check_netent.c: Likewise.
5565         * support/check_nss.h: Likewise.
5566         * support/format_nss.h: Likewise.
5567         * support/resolv_test.c: Likewise.
5568         * support/resolv_test.h: Likewise.
5569         * support/run_diff.h: Likewise.
5570         * support/support_format_address_family.c: Likewise.
5571         * support/support_format_addrinfo.c: Likewise.
5572         * support/support_format_dns_packet.c: Likewise.
5573         * support/support_format_herrno.c: Likewise.
5574         * support/support_format_hostent.c: Likewise.
5575         * support/support_format_netent.c: Likewise.
5576         * support/support_run_diff.c: Likewise.
5577         * support/xaccept.c: Likewise.
5578         * support/xbind.c: Likewise.
5579         * support/xconnect.c: Likewise.
5580         * support/xfclose.c: Likewise.
5581         * support/xfopen.c: Likewise.
5582         * support/xgetsockname.c: Likewise.
5583         * support/xlisten.c: Likewise.
5584         * support/xmemstream.c: Likewise.
5585         * support/xmemstream.h: Likewise.
5586         * support/xpoll.c: Likewise.
5587         * support/xpthread_once.c: Likewise.
5588         * support/xrecvfrom.c: Likewise.
5589         * support/xsendto.c: Likewise.
5590         * support/xsetsockopt.c: Likewise.
5591         * support/xstdio.h: Likewise.
5592         * support/xstrdup.c: Likewise.
5593         * support/support.h (xstrdup): Declare.
5594         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5595         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5596         * support/xthread.h (xpthread_once): Likwise.
5597         * support/xunistd.h (xwrite): Declare.
5599 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5601         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5602         (test_verbose): Declare.
5603         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5604         * support/support_test_main.c (default_options): Likewise.
5605         (usage, support_test_main): Handle 'v'.
5606         (test_verbose): Define.
5607         * support/tst-support_record_failure.c (do_test): Use
5608         test_verbose.
5609         * support/tst-support_record_failure-2.sh (different_status): Add
5610         --verbose test.
5612 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5614         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5615         test failures are recorded.
5616         * support/check.c (support_print_failure_impl): Call
5617         support_record_failure.
5618         (support_exit_failure_impl): Call support_record_failure if status
5619         indicates failure.
5620         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5621         * support/xasprintf.c (xasprintf): Likewise.
5622         * support/xfork.c (xfork): Likewise.
5623         * support/xpthread_check_return.c (xpthread_check_return):
5624         Likewise.
5625         * support/xsocket.c (xsocket): Likeweise.
5626         * support/xwaitpid.c (xwaitpid): Likewise.
5627         * support/support_record_failure.c (struct test_failures): Adjust
5628         to coding style.
5629         * support/support_test_verify_impl.c (support_test_verify_impl):
5630         Adjust error messages.
5631         * support/tst-support_record_failure-2.sh (different_status):
5632         Adjust error messages.
5634 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5636         * support/namespace.h: New file.
5637         * support/support_become_root.c: Likewise.
5638         * support/support_enter_network_namespace.c: Likewise.
5639         * support/tst-support-namespace.c: Likewise.
5640         * support/xsocket.c: Likewise.
5641         * support/xsocket.h: Likewise.
5642         * support/Makefile (libsupport-routines): Add support_become_root,
5643         support_enter_network_namespace, xsocket.
5644         (tests): Add tst-support-namespace.
5646 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5648         [BZ #17252]
5649         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5650         __USE_GNU.
5652 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5654         [BZ #13165]
5655         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5656         use new algorithm.
5657         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5658         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5659         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5660         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5661         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5662         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5663         __condvar_cleanup_waiting, __condvar_dec_grefs,
5664         __pthread_cond_wait_common): New.
5665         (__condvar_cleanup): Remove.
5666         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5667         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5668         Likewise.
5669         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5670         Likewise.
5671         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5672         * nptl/tst-cond1.c: Add comment.
5673         * nptl/tst-cond20.c (do_test): Adapt.
5674         * nptl/tst-cond22.c (do_test): Likewise.
5675         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5676         structure.
5677         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5678         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5679         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5680         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5681         Likewise.
5682         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5683         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5684         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5685         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5686         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5687         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5688         Likewise.
5689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5690         Likewise.
5691         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5692         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5693         (COND_CLOCK_BITS): Adapt.
5694         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5695         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5696         __PTHREAD_COND_SHARED_MASK): New.
5697         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5698         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5699         * nptl/nptl_lock_constants.pysym: Adapt.
5700         * nptl/test-cond-printers.py: Adapt.
5701         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5702         cond_compat_check_and_clear): Adapt.
5703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5704         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5705         (__pthread_cond_timedwait): ... and move here.
5706         * nptl/DESIGN-condvar.txt: Remove file.
5707         * nptl/lowlevelcond.sym: Likewise.
5708         * nptl/pthread_cond_timedwait.c: Likewise.
5709         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5710         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5711         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5713         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5715         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5716         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5717         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5718         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5719         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5720         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5721         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5722         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5726 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5728         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5729         (fromfp): New declaration.
5730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5733         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5738         * math/math.h: Include <bits/types.h>.
5739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5740         constant and macro.
5741         (FP_INT_DOWNWARD): Likewise.
5742         (FP_INT_TOWARDZERO): Likewise.
5743         (FP_INT_TONEARESTFROMZERO): Likewise.
5744         (FP_INT_TONEAREST): Likewise.
5745         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5746         (fromfpf): Likewise.
5747         (fromfpl): Likewise.
5748         (ufromfp): Likewise.
5749         (ufromfpf): Likewise.
5750         (ufromfpl): Likewise.
5751         (fromfpx): Likewise.
5752         (fromfpxf): Likewise.
5753         (fromfpxl): Likewise.
5754         (ufromfpx): Likewise.
5755         (ufromfpxf): Likewise.
5756         (ufromfpxl): Likewise.
5757         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5758         s_fromfpxF and s_ufromfpxF.
5759         * math/gen-fromfp-tests.py: New file.
5760         * math/gen-fromfp-tests-inputs: Likewise.
5761         * math/libm-test.inc: Include <stdint.h>
5762         (check_intmax_t): New function.
5763         (check_uintmax_t): Likewise.
5764         (struct test_fiu_M_data): New type.
5765         (struct test_fiu_U_data): Likewise.
5766         (RUN_TEST_fiu_M): New macro.
5767         (RUN_TEST_LOOP_fiu_M): Likewise.
5768         (RUN_TEST_fiu_U): Likewise.
5769         (RUN_TEST_LOOP_fiu_U): Likewise.
5770         (fromfp_test_data): New array.
5771         (fromfp_test): New function.
5772         (fromfpx_test_data): New array.
5773         (fromfpx_test): New function.
5774         (ufromfp_test_data): New array.
5775         (ufromfp_test): New function.
5776         (ufromfpx_test_data): New array.
5777         (ufromfpx_test): New function.
5778         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5779         ufromfpx_test.
5780         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5781         characters.
5782         * math/test-tgmath-ret.c: Include <stdint.h>.
5783         (rm): New variable.
5784         (width): Likewise.
5785         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5786         called function.
5787         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5788         CHECK_RET_CONST_TYPE.
5789         (CHECK_RET_CONST_DOUBLE): Likewise.
5790         (CHECK_RET_CONST_LDOUBLE): Likewise.
5791         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5792         macros.
5793         (fromfp): New CHECK_RET_CONST call.
5794         (ufromfp): Likewise.
5795         (fromfpx): Likewise.
5796         (ufromfpx): Likewise.
5797         (do_test): Call check_return_fromfp, check_return_ufromfp,
5798         check_return_fromfpx and check_return_ufromfpx.
5799         * math/test-tgmath.c: Include <stdint.h>
5800         (NCALLS): Increase to 138.
5801         (F(compile_test)): Initialize i.  Call fromfp functions.
5802         (F(fromfp)): New function.
5803         (F(fromfpx)): Likewise.
5804         (F(ufromfp)): Likewise.
5805         (F(ufromfpx)): Likewise.
5806         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5807         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5808         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5809         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5810         ufromfpxl.
5811         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5812         ufromfp and ufromfpx.
5813         * math/fromfp.h: New file.
5814         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5815         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5816         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5817         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5818         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5819         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5820         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5821         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5822         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5823         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5824         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5825         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5826         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5827         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5828         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5829         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5830         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5831         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5832         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5833         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5834         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5835         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5836         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5837         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5838         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5839         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5840         ufromfp, fromfpx and ufromfpx.
5841         (CFLAGS-nldbl-fromfp.c): New variable.
5842         (CFLAGS-nldbl-fromfpx.c): Likewise.
5843         (CFLAGS-nldbl-ufromfp.c): Likewise.
5844         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5845         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5846         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5847         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5848         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5849         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5850         * sysdeps/nacl/libm.abilist: Update.
5851         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5852         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5853         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5854         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5855         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5856         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5857         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5858         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5859         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5860         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5861         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5862         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5864         Likewise.
5865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5866         Likewise.
5867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5868         Likewise.
5869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5870         Likewise.
5871         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5873         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5875         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5877         Likewise.
5878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5879         Likewise.
5880         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5881         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5882         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5884 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5886         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5887         compat-gethnamaddr.
5888         (CPPFLAGS): Remove.
5889         * resolv/gethnamaddr.c: Rename ...
5890         * resolv/compat-gethnamaddr.c: ... to this file.
5891         (_endhtent): Make static.
5892         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5893         symbol.
5894         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5895         compat symbol.
5896         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5897         symbol.
5898         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5899         Turn into compat symbol.
5900         * include/resolv.h (_endhtent): Remove declaration.
5902 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5904         * bits/types.h (__intmax_t): New typedef.
5905         (__uintmax_t): Likewise.
5906         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5907         (intmax_t): Define using __intmax_t.
5908         (uintmax_t): Define using __uintmax_t.
5910         * support/Makefile (tests-special): Make definition conditional on
5911         [$(run-built-tests) = yes].
5912         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5913         on [$(run-built-tests) = yes].
5915 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5917         * Rules (tests): Add tests-printers-programs to tests to be
5918         built.
5920 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5922         * sysvipc/Makefile (tests): Add test-sysvshm.
5923         * sysvipc/test-sysvshm.c: New file.
5925         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5926         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5927         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5928         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5929         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5930         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5931         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5932         Likewise.
5933         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5934         Likewise.
5935         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5936         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5937         is defined.
5939         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5940         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5941         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5942         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5943         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5944         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5945         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5946         Likewise.
5947         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5950         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5951         defined.
5953         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5954         oldshmctl.
5955         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5956         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5957         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5958         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5959         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5960         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5961         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5962         Likewise.
5963         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5964         Likewise.
5965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5966         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5967         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5968         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5969         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5970         implementation.
5971         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5972         if it is defined.
5974         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5975         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5976         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5977         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5978         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5979         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5980         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5985         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5986         Define to __NR_osf_shmat.
5987         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5988         defined.
5990         * sysvipc/Makefile (tests): Add test-sysvsem.
5991         * sysvipc/test-sysvsem.c: New file.
5993         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5994         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5995         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5996         Likewise.
5997         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5998         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5999         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6000         Likewise.
6001         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6004         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6005         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6006         add a comment about s390 syscall difference from default one.
6007         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6008         syscall if it is defined.
6010         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6011         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6012         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6013         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6014         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6015         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6016         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6017         Likewise.
6018         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6019         Likewise.
6020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6021         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6022         defined.
6024         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6025         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6026         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6027         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6028         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6029         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6030         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6035         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6036         if it is defined.
6038         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6039         oldsemctl.
6040         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6041         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6042         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6043         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6044         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6045         implementation.
6046         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6047         syscall if it is defined.
6048         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6049         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6050         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6051         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6052         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6053         Likewise.
6054         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6056         * sysvipc/Makefile (tests): Add test-sysvmsg.
6057         * sysvipc/test-sysvmsg.c: New file.
6058         * support/check.h (FAIL_UNSUPPORTED): New define.
6060         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6061         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6062         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6063         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6064         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6065         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6066         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6067         Likewise.
6068         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6069         Likewise.
6070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6071         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6072         define.
6074         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6075         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6076         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6077         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6078         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6079         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6080         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6081         Likewise.
6082         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6083         Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6085         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6086         if defined.
6088         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6089         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6090         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6091         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6092         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6093         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6094         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6095         Likewise.
6096         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6097         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6098         Likewise.
6099         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6100         if defined.
6101         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6103         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6104         oldmsgctl.
6105         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6106         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6107         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6108         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6109         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6110         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6111         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6112         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6113         Likewise.
6114         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6115         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6116         implementation.
6117         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6118         if defined.
6120         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6121         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6122         definition and define its own.
6123         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6124         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6125         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6126         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6127         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6128         definitions to common header.
6129         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6130         operation from ipc_ops.h.
6132         * sysdeps/unix/sysv/linux/kernel-features.h
6133         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6134         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6135         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6136         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6137         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6138         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6139         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6140         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6141         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6142         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6143         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6144         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6145         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6146         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6147         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6149 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6151         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6152         overflow in pointer addition.
6154 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6156         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6157         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6159         (strchr): Add __strchr_power8 to list of strchr functions.
6160         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6161         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6162         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6163         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6164         (strchr): Add __strchr_power8 to ifunc list.
6165         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6166         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6167         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6168         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6170 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6172         * support/Makefile (libsupport-routines): Add
6173         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6174         (tests): Add tst-support_record_failure.
6175         (tests-special): tst-support_record_failure-2.
6176         (tst-support_record_failure-2.out): Depend on
6177         tst-support_record_failure-2.sh and tst-support_record_failure.
6178         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6179         (support_test_verify_impl, support_record_failure)
6180         (support_report_failure, support_report_failure_reset): Declare.
6181         * support/support_test_main.c (adjust_exit_status): New function.
6182         (support_test_main): Call it to incorporate record test failures.
6183         * support/support_test_verify_impl.c: New file.
6184         * support/support_record_failure.c: Likewise.
6185         * support/tst-support_record_failure.c: Likewise.
6186         * support/tst-support_record_failure-2.sh: Likewise.
6187         * support/xunistd.h: Likewise.
6188         * support/xfork.c: Likewise.
6189         * support/xwaitpid.c: Likewise.
6191 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6193         * scripts/check-c++-types.sh: Add comments.
6195 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6197         [BZ #19514]
6198         * resolv/res_send.c: Fix typo in comment.
6199         * sysdeps/i386/i386-mcount.S: Likewise.
6200         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6201         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6202         * sysdeps/sparc/sparc-mcount.S: Likewise.
6204 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6206         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6207         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6208         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6209         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6210         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6211         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6212         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6213         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6215 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6217         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6219 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6221         [BZ #17252]
6222         * posix/unistd.h (getentropy): Declare.
6224 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6226         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6227         Remove.
6228         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6229         (cmd): Remove spoof, nospoof, spoofalert.
6230         (parse_line): Ignore spoof-related lines.
6231         (do_init): Do not process RESOLV_SPOOF_CHECK.
6233 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6235         [BZ #20964]
6236         sunrpc: Always obtain AF_INET addresses from NSS.
6237         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6238         * sunrpc/rpc_gethostbyname.c: New file.
6239         * sunrpc/Makefile (routines): Add it.
6240         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6241         * sunrpc/clnt_simp.c (callrpc): Likewise.
6242         * sunrpc/getrpcport.c (getrpcport): Likewise.
6244 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6246         * sunrpc/rpcinfo.c: Remove.
6247         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6249 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6251         [BZ #19387]
6252         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6253         addition.
6254         * string/test-memchr.c (do_test): Remove alignment limitation.
6255         (test_main): Add test that trigger BZ #19387.
6257 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6259         [BZ #7065]
6260         Enable stack protectore if requested by ./configure.
6261         * Makeconfig (+stack-protector): New variable.
6262         (+cflags): Use it.
6264 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6266         [BZ #7065]
6267         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6269         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6271         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6273 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6275         [BZ #7065]
6276         * login/Makefile (pt_chown-cflags): Remove.
6277         * nscd/Makefile (CFLAGS-nscd): Likewise.
6278         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6280 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6282         [BZ #7065]
6283         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6284         non-libc-linking testcase.
6286 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6287             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6288             Florian Weimer  <fweimer@redhat.com>
6290         [BZ #7065]
6291         PLT avoidance for __stack_chk_fail*.
6292         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6293         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6294         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6295         __stack_chk_fail_local alias.
6296         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6297         (__stack_chk_fail): Turn into hidden reference to
6298         __stack_chk_fail_local.
6300 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6302         [BZ #7065]
6303         * configure.ac: Add check for unsupported stack-protection level.
6304         (libc_cv_predef_stack_protector): Remove.
6305         (no_ssp): New variable.
6306         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6307         (stack_protector): Set to -fno-stack-protector similarly.
6308         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6309         (libc_cv_asm_set_directive): Likewise.
6310         (libc_cv_protected_data): Likewise.
6311         (libc_cv_z_combreloc): Likewise.
6312         (libc_cv_hashstyle): Likewise.
6313         (libc_cv_has_glob_dat): Likewise.
6314         (libc_cv_output_format): Likewise.
6315         (libc_cv_output_format): Likewise.
6316         (libc_cv_ehdr_start): Likewise.
6317         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6318         (LIBC_LINKER_FEATURE): Likewise.
6319         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6321 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6323         [BZ #7065]
6324         * elf/Makefile (dummy-stack-chk-fail): New.
6325         (librtld.map): Use it.
6327 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6329         [BZ #7065]
6330         Compile the dynamic linker without stack protection.
6331         * elf/Makefile (elide-stack-protector): New.
6332         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6333         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6334         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6335         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6337 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6339         [BZ #7065]
6340         * config.make.in (have-ssp, no-stack-protector): New.
6341         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6342         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6343         (CFLAGS-sbrk.op): Likewise.
6344         (CFLAGS-brk.o): Likewise.
6345         (CFLAGS-brk.op): Likewise.
6346         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6347         (CFLAGS-wordcopy.c): Likewise.
6349 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6351         [BZ #7065]
6352         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6353         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6354         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6355         (__ifunc_resolver): Use it.
6356         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6357         inhibit_stack_protector.
6358         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6359         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6360         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6361         (foo_protected_ifunc): Likewise.
6362         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6363         (foo_protected_ifunc): Likewise.
6364         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6365         * sysdeps/nacl/nacl_interface_query.c
6366         (nacl_interface_query_ifunc): Likewise.
6367         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6368         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6369         Likewise.
6370         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6371         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6372         the generated vDSO syscall resolver.
6374 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6375             Florian Weimer  <fweimer@redhat.com>
6377         [BZ #7065]
6378         Initialize the stack guard earlier when linking statically.
6379         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6380         (__pthread_initialize_minimal): Declare.
6381         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6382         declaration.
6383         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6384         stack canary and apply_irel initialization up.  Call
6385         __pthread_initialize_minimal only if linked in.
6386         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6387         constant values.
6388         (__pthread_initialize_minimal): Remove.
6389         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6390         (__pthread_initialize_minimal_internal): Do not call
6391         __libc_setup_tls.
6393 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6395         [BZ #7065]
6396         * configure.ac (libc_cv_ssp): Move up.
6397         (libc_cv_ssp_strong): Likewise.
6398         (libc_cv_ssp_all): New.
6399         (stack_protector): Augment, adding -fstack-protector-all.
6400         (no_stack_protector): New.
6401         (STACK_PROTECTOR_LEVEL): New.
6402         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6403         * manual/install.texi (--enable-stack-protector): Document it.
6404         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6406 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6408         * README.pretty-printers: Must specify CPPFLAGS-* also.
6409         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6410         (CPPFLAGS-test-mutex-printers.c): Define.
6411         (CPPFLAGS-test-condattr-printers.c): Define.
6412         (CPPFLAGS-test-cond-printers.c): Define.
6413         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6414         (CPPFLAGS-test-rwlock-printers.c): Define.
6416         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6417         (tests): Add tst-cancel-getpwuid_r.
6418         * nss/tst-cancel-getpwuid_r.c: New file.
6420         [BZ #11941]
6421         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6422         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6423         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6424         tst-nodelete-dlclose.
6425         (modules-names): Add tst-nodelete-dlclose-dso and
6426         tst-nodelete-dlclose-plugin.
6427         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6428         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6429         ($(objpfx)tst-nodelete-dlclose): Define.
6430         ($(objpfx)tst-nodelete-dlclose.out): Define.
6432 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6434         * scripts/test_printers_common.py: Log GDB output in case of
6435         Python detection failure.
6437 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6439         * configure.ac: Check for python3 or python.
6440         * configure: Regenerated.
6441         * config.make.in (PYTHON): New variable.
6442         * benchtests/Makefile: Don't define PYTHON.
6443         (bench): Define target only if PYTHON was defined.
6444         * Rules: Don't define PYTHON.
6445         Define pretty printer targets only if PYTHON was defined.
6446         (tests-printers): Add to tests-unsupported if PYTHON is not
6447         found.
6448         (python-flags, python-invoke): Remove.
6449         (tests-printers-out): Use PYTHON instead of python-invoke.
6451 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #20978]
6454         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6455         Compare name == NULL, not name != NULL.
6457         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6458         trailing whitespace removed.
6459         * scripts/config.guess: Update to version 2016-10-02.
6460         * scripts/config.sub: Update to version 2016-11-19.
6461         * scripts/install-sh: Update to version 2016-01-11.22.
6462         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6463         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6465 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6467         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6468         (do_one_test) Restore original string so iteration works.
6469         * string/string-inlines.c (do_test): Create better input strings.
6470         (test_main) Reduce number of testruns.
6471         * string/string-inlines.c (__old_strsep_1c): New function.
6472         (__old_strsep_2c): Likewise.
6473         (__old_strsep_3c): Likewise.
6474         * string/strsep.c (__strsep): Remove case of small delim string.
6475         Call strcspn directly rather than strpbrk.
6476         * string/bits/string2.h (__strsep): Remove define.
6477         (__strsep_1c): Remove.
6478         (__strsep_2c): Remove.
6479         (__strsep_3c): Remove.
6480         (strsep): Remove.
6481         * sysdeps/unix/sysv/linux/internal_statvfs.c
6482         (__statvfs_getflags): Rename to __strsep.
6484 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6486         * csu/libc-tls.c (_dl_tls_setup): Remove.
6487         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6488         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6489         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6491 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6493         [BZ #7065]
6494         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6495         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6497 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6498             Florian Weimer  <fweimer@redhat.com>
6500         [BZ #7065]
6501         * csu/Makefile (tests): Empty assignment and document it.
6502         (tests-static): Remove.
6503         * csu/tst-empty.c: Move to...
6504         * misc/tst-empty.c: ... here.  Switch to new test driver.
6505         * csu/tst-atomic.c: Move to...
6506         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6507         * csu/tst-atomic-long.c: Move to...
6508         * misc/tst-atomic-long.c: ... here.
6509         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6510         tst-atomic-long.
6511         (tests-static): Add tst-empty.
6513 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6515         * manual/nss.texi: Change incorrect @vtable to @table.
6516         * manual/arith.texi: Convert @tables of variables to @vtables
6517         and remove unnecessary indexing.
6518         * manual/filesys.texi: Likewise.
6519         * manual/llio.texi: Likewise.
6520         * manual/memory.texi: Likewise.
6521         * manual/process.texi: Likewise.
6522         * manual/resource.texi: Likewise.
6523         * manual/search.texi: Likewise.
6524         * manual/signal.texi: Likewise.
6525         * manual/socket.texi: Likewise.
6526         * manual/stdio.texi: Likewise.
6527         * manual/sysinfo.texi: Likewise.
6528         * manual/syslog.texi: Likewise.
6529         * manual/terminal.texi: Likewise.
6530         * manual/time.texi: Likewise.
6531         * manual/users.texi: Likewise.
6533 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6535         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6536         (roundeven): New declaration.
6537         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6538         macro.
6539         * math/Versions (roundeven): New libm symbol at version
6540         GLIBC_2.25.
6541         (roundevenf): Likewise.
6542         (roundevenl): Likewise.
6543         * math/Makefile (libm-calls): Add s_roundevenF.
6544         * math/libm-test.inc (roundeven_test_data): New array.
6545         (roundeven_test): New function.
6546         (main): Call roundeven_test.
6547         * math/test-tgmath.c (NCALLS): Increase to 134.
6548         (F(compile_test)): Call roundeven.
6549         (F(roundeven)): New function.
6550         * manual/arith.texi (Rounding Functions): Document roundeven,
6551         roundevenf and roundevenl.
6552         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6553         * include/math.h (roundeven): Use libm_hidden_proto.
6554         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6555         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6556         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6557         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6558         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6559         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6560         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6561         roundeven.
6562         (CFLAGS-nldbl-roundeven.c): New variable.
6563         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6564         * sysdeps/nacl/libm.abilist: Update.
6565         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6566         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6568         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6569         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6570         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6574         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6578         Likewise.
6579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6589         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6591         Likewise.
6592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6593         Likewise.
6594         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6595         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6598 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6600         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6601         preprocessor indentation inside #if.
6603 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6605         * math/libm-test.inc (fmt_ftostr): New function.
6606         (print_float, check_float_internal): Replace some uses of
6607         FTOSTR with uses of fmt_ftostr.
6608         (print_max_error, print_complex_max_error, print_function_ulps)
6609         (print_complex_function_ulps): Remove uses of the macros
6610         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6611         * math/test-double.h (FTOSTR): Define to strfromd.
6612         (PRINTF_EXPR): Delete.
6613         (PRINTF_XEXPR): Likewise.
6614         (PRINTF_NEXPR): Likewise.
6615         * math/test-float.h (FTOSTR): Define to strfromf.
6616         (PRINTF_EXPR): Delete.
6617         (PRINTF_XEXPR): Likewise.
6618         (PRINTF_NEXPR): Likewise.
6619         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6620         (PRINTF_EXPR): Delete.
6621         (PRINTF_XEXPR): Likewise.
6622         (PRINTF_NEXPR): Likewise.
6624 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6626         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6627         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6628         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6629         (__lll_lock_elision): Decrement adapt_count while unlocking
6630         instead of before locking.
6631         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6632         (__lll_trylock_elision): Likewise.
6633         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6634         (__lll_unlock_elision): Likewise.
6636 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6638         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6639         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6640         Use __libc_tbegin_retry macro.
6642 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6644         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6645         Add -msoft-float.
6646         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6647         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6648         Use __libc_t* transaction macros instead of __builtin_t*.
6649         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6650         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6652 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6654         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6655         (__lll_lock_elision): Use atomics to load / store adapt_count.
6656         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6657         (__lll_trylock_elision): Likewise.
6659 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6661         Do not require memset elimination in explicit_bzero test.
6662         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6663         (enum test_expectation): Add NO_EXPECTATIONS.
6664         (subtests): NO_EXPECTATIONS for ordinary clear.
6665         (check_test_buffer): Handle NO_EXPECTATIONS.
6666         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6668 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6670         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6671         (fmaxmag): New declaration.
6672         (fminmag): Likewise.
6673         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6674         macro.
6675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6676         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6677         (fmaxmagf): Likewise.
6678         (fmaxmagl): Likewise.
6679         (fminmag): Likewise.
6680         (fminmagf): Likewise.
6681         (fminmagl): Likewise.
6682         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6683         * math/s_fmaxmag_template.c: New file.
6684         * math/s_fminmag_template.c: Likewise.
6685         * math/libm-test.inc (fmaxmag_test_data): New array.
6686         (fmaxmag_test): New function.
6687         (fminmag_test_data): New array.
6688         (fminmag_test): New function.
6689         (main): Call fmaxmag_test and fminmag_test.
6690         * math/test-tgmath.c (NCALLS): Increase to 132.
6691         (F(compile_test)): Call fmaxmag and fminmag.
6692         (F(fminmag)): New function.
6693         (F(fmaxmag)): Likewise.
6694         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6695         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6696         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6697         fminmag.
6698         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6699         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6700         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6701         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6702         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6703         and fminmag.
6704         (CFLAGS-nldbl-fmaxmag.c): New variable.
6705         (CFLAGS-nldbl-fminmag.c): Likewise.
6706         * sysdeps/nacl/libm.abilist: Update.
6707         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6714         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6715         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6717         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6718         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6720         Likewise.
6721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6722         Likewise.
6723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6724         Likewise.
6725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6726         Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6730         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6733         Likewise.
6734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6740 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6742         [BZ #20973]
6743         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6744         wake-up in robust mutexes.
6745         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6747 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6749         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6750         (CFLAGS-bench-fmaxf.c): New rule.
6751         (CFLAGS-bench-fminf.c): Likewise.
6752         * benchtests/fmaxf-inputs: New file.
6753         * benchtests/fminf-inputs: Likewise.
6755         * benchtests/Makefile (bench-math): Add fmin and fmax.
6756         (CFLAGS-bench-fmax.c): New rule.
6757         (CFLAGS-bench-fmin.c): Likewise.
6758         * benchtests/fmax-inputs: New file.
6759         * benchtests/fmin-inputs: Likewise.
6761         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6762         parenthesis.
6763         (CMDLINE_PROCESS): Define using function instead of macro.
6764         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6765         of test-skeleton.
6766         * benchtests/bench-memchr.c: Likewise.
6767         * benchtests/bench-memcmp.c: Likewise.
6768         * benchtests/bench-memcpy-large.c: Likewise.
6769         * benchtests/bench-memcpy.c: Likewise.
6770         * benchtests/bench-memmem.c: Likewise.
6771         * benchtests/bench-memmove-large.c: Likewise.
6772         * benchtests/bench-memmove.c: Likewise.
6773         * benchtests/bench-memset-large.c: Likewise.
6774         * benchtests/bench-memset.c: Likewise.
6775         * benchtests/bench-rawmemchr.c: Likewise.
6776         * benchtests/bench-strcasecmp.c: Likewise.
6777         * benchtests/bench-strcasestr.c: Likewise.
6778         * benchtests/bench-strcat.c: Likewise.
6779         * benchtests/bench-strchr.c: Likewise.
6780         * benchtests/bench-strcmp.c: Likewise.
6781         * benchtests/bench-strcpy.c: Likewise.
6782         * benchtests/bench-strcpy_chk.c: Likewise.
6783         * benchtests/bench-strlen.c: Likewise.
6784         * benchtests/bench-strncasecmp.c: Likewise.
6785         * benchtests/bench-strncmp.c: Likewise.
6786         * benchtests/bench-strncpy.c: Likewise.
6787         * benchtests/bench-strnlen.c: Likewise.
6788         * benchtests/bench-strpbrk.c: Likewise.
6789         * benchtests/bench-strrchr.c: Likewise.
6790         * benchtests/bench-strsep.c: Likewise.
6791         * benchtests/bench-strspn.c: Likewise.
6792         * benchtests/bench-strstr.c: Likewise.
6793         * benchtests/bench-strtok.c: Likewise.
6795 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6797         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6798         stepping identification.
6799         (init_cpu_features): Add handle of Haswell.
6801 2016-11-25  Jim Meyering  <meyering@fb.com>
6803         [BZ #20386]
6804         Let gcc detect assert(a = 1) errors.
6805         * assert/assert.h (assert): Rewrite, retaining the old definintion
6806         when required, but otherwise putting the expression as-is in an "if"
6807         expression (hence, with no added parentheses) within a statement
6808         expression.
6810 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6812         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6813         DSO.
6815 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6817         * Rules (python-flags, python-invoke): New.
6818         ($(test-printers-out)): Use $(python-flags).
6820 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6822         * manual/arith.texi (Math Error Reporting): Document that sNaN
6823         arguments are not considered domain errors.
6825 2016-12-16  Zack Weinberg <zackw@panix.com>
6826             Florian Weimer <fweimer@redhat.com>
6827             Nick Mathewson <nickm@torproject.org>
6829         * string/explicit_bzero.c: New routine.
6830         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6831         * string/Makefile (routines, strop-tests, tests): Add them.
6832         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6833         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6835         * debug/explicit_bzero_chk.c: New routine.
6836         * debug/Makefile (routines): Add it.
6837         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6838         * string/bits/string3.h: Fortify explicit_bzero.
6840         * manual/string.texi: Document explicit_bzero.
6841         * NEWS: Mention addition of explicit_bzero.
6843         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6844         data before returning, using explicit_bzero.
6845         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6846         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6847         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6849         * include/string.h: Redirect internal uses of explicit_bzero
6850         to __explicit_bzero_chk[_internal].
6851         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6852         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6853         * sysdeps/arm/nacl/libc.abilist
6854         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6855         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6856         * sysdeps/unix/sysv/linux/arm/libc.abilist
6857         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6858         * sysdeps/unix/sysv/linux/i386/libc.abilist
6859         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6860         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6861         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6862         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6863         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6864         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6865         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6866         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6867         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6872         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6873         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6874         * sysdeps/unix/sysv/linux/sh/libc.abilist
6875         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6876         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6880         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6881         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6882         Add entries for explicit_bzero and __explicit_bzero_chk.
6884 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6886         * math/fenv.h
6887         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6888         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6889         * math/test-fe-snans-always-signal.c: New file.
6890         * math/Makefile (tests): Add test-fe-snans-always-signal.
6891         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6892         * manual/arith.texi (Infinity and NaN): Document
6893         FE_SNANS_ALWAYS_SIGNAL.
6895 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6897         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6898         bracket.
6900 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6902         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6903         before calling execv.
6905 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6907         [BZ #20971]
6908         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6909         overflow in pointer addition.
6910         * string/test-memchr.c (do_test): Add an argument to pass as
6911         the size on memchr.
6912         (test_main): Add check for SIZE_MAX.
6914 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6916         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6917         (libm-calls): Add w_scalblnF.
6918         * math/w_scalbln.c: Remove.
6919         * math/w_scalblnf.c: Likewise.
6920         * math/w_scalblnl.c: Likewise.
6921         * math/w_scalbln_template.c: New file with type-generic
6922         implementation based on math/w_scalbln.c.
6923         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6924         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6926 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6928         [BZ #20947]
6929         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6930         either is a signaling NaN.
6931         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6932         follow fmaxl more closely.
6933         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6934         when either is a signaling NaN.
6935         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6936         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6937         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6938         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6939         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6940         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6941         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6942         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6943         (fmin_test_data): Likewise.
6945 2016-12-15  Andreas Schwab  <schwab@suse.de>
6947         * support/support_test_main.c (support_test_main): Don't shadow
6948         file-local variable test_pid.
6950 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #20947]
6953         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6954         either is a signaling NaN.
6955         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6957 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #20947]
6960         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6961         when either is a signaling NaN.
6962         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6964         * bits/long-double.h: New file.
6965         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6966         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6967         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6968         * sysdeps/mips/bits/long-double.h: Likewise.
6969         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6970         * math/Makefile (headers): Add bits/long-double.h.
6971         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6972         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6973         <bits/wordsize.h>.
6974         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6975         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6976         * math/math.h: Do not include <bits/mathdef.h>.
6977         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6978         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6979         inclusion.
6980         * sysdeps/ia64/bits/mathdef.h: Remove file.
6981         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6982         * sysdeps/mips/bits/mathdef.h: Likewise.
6983         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6984         * sysdeps/s390/bits/mathdef.h: Likewise.
6985         * sysdeps/sparc/bits/mathdef.h: Likewise.
6986         * sysdeps/x86/bits/mathdef.h: Likewise.
6987         * sysdeps/s390/s390-32/bits/wordsize.h
6988         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6989         conditional code.
6990         * sysdeps/s390/s390-64/bits/wordsize.h
6991         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6994         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6995         Likewise.
6996         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6997         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7000         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7001         Likewise.
7003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7004         <linux/falloc.h>.
7005         (FALLOC_FL_KEEP_SIZE): Remove.
7006         (FALLOC_FL_PUNCH_HOLE): Likewise.
7007         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7008         (FALLOC_FL_ZERO_RANGE): Likewise.
7010 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7012         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7014 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7016         * sysdeps/unix/sysv/linux/renameat.c: New file.
7017         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7019         * sysdeps/unix/sysv/linux/rename.c: New file.
7020         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7022 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7024         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7025         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7026         * string/strtok_r.c (__strtok_r): Optimize for performance.
7027         * string/string-inlines.c (__old_strtok_r_1c): New function.
7028         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7030 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7032         * math/Makefile (gen-libm-calls): Add w_log1pF.
7033         (libm-calls): Remove w_log1pF.
7034         * math/w_log1p.c: Remove.
7035         * math/w_log1pf.c: Likewise.
7036         * math/w_log1pl.c: Likewise.
7037         * math/w_log1p_template.c: New file with type-generic
7038         implementation based on math/w_log1p.c.
7039         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7040         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7042 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7044         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7046 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7048         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7049         kernel version to 4.9.
7051 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7053         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7054         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7056 2016-12-13  Andreas Schwab  <schwab@suse.de>
7058         * sysdeps/powerpc/dl-procinfo.c: Don't define
7059         _dl_powerpc_platforms.
7060         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7061         constants instead of referencing _dl_powerpc_platforms.
7062         (_dl_platform_string): Remove.
7064 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7066         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7068 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7070         * Rules (binaries-shared-tests, binaries-pie-tests)
7071         (binaries-static-tests): Link with $(link-extra-libs-tests).
7072         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7073         Remove $(link-extra-libs-tests).
7075 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7077         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7078         (sysdep_routines): Add strncmp_power9.
7079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7080         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7081         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7082         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7083         (strncmp): Add __strncmp_power9 to ifunc list.
7084         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7086 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7088         [BZ #17252]
7089         Add getentropy, getrandom.
7090         * stdlib/sys/random.h: New file.
7091         (headers): Add it.
7092         * stdlib/Makefile (routines): Add getentropy, getrandom.
7093         (tests): Add tst-getrandom.
7094         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7095         * stdlib/getentropy.c: New file.
7096         * stdlib/getrandom.c: Likewise.
7097         * stdlib/tst-getrandom.c: Likewise.
7098         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7099         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7100         * manual/crypt.texi (Unpredictable Bytes): New section.
7101         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7102         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7103         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7104         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7105         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7110         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7118         Likewise.
7119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7120         Likewise.
7121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7125         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7126         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7127         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7131         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7132         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7134 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7136         [BZ #20956]
7137         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7138         as additional compiler barriers.
7139         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7140         (fn2, do_test): Declare with external linkage.
7141         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7142         (do_test): Declare with external linkage.
7143         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7144         (do_test): Declare with external linkage.
7145         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7146         (do_test): Declare with external linkage.
7148 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7150         * support/support_test_main.c (support_test_main): Use correct
7151         timeout.
7153 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7154             Florian Weimer  <fweimer@redhat.com>
7156         [BZ #16421]
7157         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7158         and __u6_addr32 members.
7159         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7160         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7161         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7162         Use __u6_addr32.
7163         * inet/tst-checks.c: Use <support/test-driver.c>
7164         * inet/tst-checks-posix.c: New file.
7165         * inet/Makefile (tests): Add it.
7166         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7168 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7170         New subdirectory support for build and test infrastructure.
7171         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7172         setting install-lib.
7173         * Makeconfig (link-extra-libs-tests): Define.
7174         (+link-pie-tests, +link-static-tests, +link-tests): Use
7175         link-extra-libs-tests.
7176         (rpath-dirs, all-subdirs): Add support.
7177         (built-modules): Add libsupport.
7178         (libsupport): Define.
7179         * support: New directory.
7180         * support/Makefile: New file.
7181         * support/check.c: Likewise.
7182         * support/check.h: Likewise.
7183         * support/delayed_exit.c: Likewise.
7184         * support/ignore_stderr.c: Likewise.
7185         * support/oom_error.c: Likewise.
7186         * support/set_fortify_handler.c: Likewise.
7187         * support/support.h: Likewise.
7188         * support/temp_file-internal.h: Likewise.
7189         * support/temp_file.c: Likewise.
7190         * support/test-driver.c: Likewise.
7191         * support/test-driver.h: Likewise.
7192         * support/test_main.c: Likewise.
7193         * support/write_message.c: Likewise.
7194         * support/xasprintf.c: Likewise.
7195         * support/xcalloc.c: Likewise.
7196         * support/xmalloc.c: Likewise.
7197         * support/xpthread_barrier_destroy.c: Likewise.
7198         * support/xpthread_barrier_init.c: Likewise.
7199         * support/xpthread_barrier_wait.c: Likewise.
7200         * support/xpthread_cancel.c: Likewise.
7201         * support/xpthread_check_return.c: Likewise.
7202         * support/xpthread_cond_wait.c: Likewise.
7203         * support/xpthread_create.c: Likewise.
7204         * support/xpthread_detach.c: Likewise.
7205         * support/xpthread_join.c: Likewise.
7206         * support/xpthread_mutex_lock.c: Likewise.
7207         * support/xpthread_mutex_unlock.c: Likewise.
7208         * support/xpthread_sigmask.c: Likewise.
7209         * support/xpthread_spin_lock.c: Likewise.
7210         * support/xpthread_spin_unlock.c: Likewise.
7211         * support/xrealloc.c: Likewise.
7212         * support/xsignal.h: Likewise.
7213         * support/xthread.h: Likewise.
7214         * support_tempfile.h: Likewise.
7215         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7216         (TEST_DATA_LIMIT): Remove unused macro.
7217         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7218         <support/check.h>.
7219         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7220         (ignore_stderr, set_fortify_handler): Remove.  Now in
7221         <support/support.h>.
7222         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7223         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7224         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7225         (xpthread_join): Remove.  Now in <support/xthread.h>.
7226         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7227         Introduce legacy wrappers.
7228         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7229         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7230         (write_message): Remove.
7231         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7232         test-skeleton.c.
7233         * io/test-open-tmpfile: Likewise.
7234         * io/tst-posix_fallocate-common.c: Likewise.
7235         * libio/tst-fseek.c: Likewise.
7236         * malloc/tst-malloc-backtrace.c: Likewise.
7237         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7238         * malloc/tst-malloc-thread-exit.c: Likewise.
7239         * nptl/tst-cancel7.c: Likewise.
7240         * nptl/tst-cleanup0.c: Likewise.
7241         * posix/tst-posix_fadvise-common.c: Likewise.
7242         * rt/tst-shm.c: Likewise.
7243         * time/bug-getdate1.c: Likewise.
7244         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7245         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7246         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7248 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7250         * Rules [$(run-built-tests) != no] (tests-expected): Add
7251         $(tests-printers).
7252         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7254 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7256         [BZ #20539]
7257         * math/Makefile (install-lib-ldscripts): Add libm.a.
7258         (install_subdir): Remove.
7259         (install-others): Add.
7260         ($(inst_libdir)/libm.a): Add rule for installation as
7261         linker script.
7262         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7264 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7266         * INSTALL: Regenerated.
7267         * Makeconfig: Add comments and whitespace to make the control flow
7268         clearer.
7269         (+link-printers-tests, +link-pie-printers-tests,
7270         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7271         built-rtld-LDFLAGS, link-libc-rpath,
7272         link-libc-tests-after-rpath-link,
7273         link-libc-printers-tests): New.
7274         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7275         link-libc-tests): Use the new variables as required.
7276         * Makerules ($(py-const)): New rule.
7277         generated: Add $(py-const).
7278         * README.pretty-printers: New file.
7279         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7280         (others): Depend on $(py-const).
7281         (tests): Depend on $(tests-printers-programs) or
7282         $(tests-printers-out),
7283         as required.  Pass $(tests-printers) to merge-test-results.sh.
7284         * manual/install.texi: Add requirements for testing the pretty
7285         printers.
7286         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7287         tests-printers, CFLAGS-test-mutexattr-printers.c
7288         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7289         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7290         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7291         * nptl/nptl-printers.py: New file.
7292         * nptl/nptl_lock_constants.pysym: Likewise.
7293         * nptl/test-cond-printers.c: Likewise.
7294         * nptl/test-cond-printers.py: Likewise.
7295         * nptl/test-condattr-printers.c: Likewise.
7296         * nptl/test-condattr-printers.py: Likewise.
7297         * nptl/test-mutex-printers.c: Likewise.
7298         * nptl/test-mutex-printers.py: Likewise.
7299         * nptl/test-mutexattr-printers.c: Likewise.
7300         * nptl/test-mutexattr-printers.py: Likewise.
7301         * nptl/test-rwlock-printers.c: Likewise.
7302         * nptl/test-rwlock-printers.py: Likewise.
7303         * nptl/test-rwlockattr-printers.c: Likewise.
7304         * nptl/test-rwlockattr-printers.py: Likewise.
7305         * scripts/gen-py-const.awk: Likewise.
7306         * scripts/test_printers_common.py: Likewise.
7307         * scripts/test_printers_exceptions.py: Likewise.
7309 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7311         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7312         argument.
7313         (Glibc.build_glibc): Strip installed shared libraries if
7314         requested.
7315         (get_parser): Add --strip option.
7316         (main): Update Context call.
7318 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7319             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7321         [BZ #20847]
7322         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7323         array bounds for else branch.
7324         (__execvpe): Style fixes.
7325         * posix/tst-vfork3.c (run_script): New function.
7326         (create_script): Likewise.
7327         (do_test): Use run_script internal function.
7328         (do_prepare): Use create_script internal function.
7330 2016-12-07  Andreas Schwab  <schwab@suse.de>
7332         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7333         (__elision_available): Don't declare.
7334         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7335         (__elision_available): Don't define.
7336         (elision_init): Don't set __elision_available.
7338 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7340         [BZ #20940]
7341         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7342         return Inf for arguments Inf and sNaN.
7343         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7344         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7345         Likewise.
7346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7347         Likewise.
7348         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7349         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7350         for arguments Inf and sNaN.  When returning a NaN, compute it by
7351         arithmetic on the arguments.
7352         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7353         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7354         arguments.
7356 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7358         [BZ #20916]
7359         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7360         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7361         to compute result.
7362         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7363         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7365 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7367         * include/atomic.h (__atomic_check_size_ls): New.
7368         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7369         atomic_store_release): Use it.
7370         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7371         (elision_adapt, ELIDE_LOCK): Use atomics.
7372         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7373         atomics and improve code comments.
7374         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7375         (__lll_trylock_elision): Likewise.
7377 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7379         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7380         programs.
7382 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7384         [BZ #20916]
7385         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7386         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7387         arguments to compute result.
7388         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7389         1 for arguments (sNaN, 0) or (1, sNaN).
7390         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7393         [BZ #20919]
7394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7395         NaN first argument when raised to power 0.
7396         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7397         raising to power zero.
7398         * math/w_powf.c (__powf): Likewise.
7399         * math/w_powl.c (__powl): Likewise.
7400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7401         pow (0, 0) or pow (NaN, 0).
7403 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7405         [BZ #20918]
7406         * configure.ac: Test for static NSS cryptographic libraries and set
7407         libc_cv_static_nss_crypt.
7408         * configure: Regenerate.
7409         * config.make.in (static-nss-crypt): Define.
7410         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7411         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7412         (CFLAGS-tst-linkall-static.c): Define.
7413         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7414         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7415         ($(objpfx)tst-linkall-static): Define.
7416         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7417         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7419 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7421         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7422         (one-hundred, tst-tls-many-dynamic-modules): Define.
7423         (modules-names): Add $(tst-tls-many-dynamic-modules).
7424         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7425         macros.
7426         (tst-tls-manydynamic): Link against libdl, libpthread.
7427         (tst-tls-manydynamic.out): The test needs the test modules at run
7428         time.
7429         * elf/tst-tls-manydynamic.c: New file.
7430         * elf/tst-tls-manydynamic.h: Likewise.
7431         * elf/tst-tls-manydynamicmod.c: Likewise.
7433 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7435         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7436         (TLS_DTV_UNALLOCATED): Add.
7437         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7438         offsets.
7440 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7442         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7444 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7446         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7447         Add -fno-optimize-sibling-calls.
7449 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7451         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7452         New declaration.
7453         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7454         macro.
7455         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7456         New macro.
7457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7459         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7460         (llogbf): Likewise.
7461         (llogbl): Likewise.
7462         * math/Makefile (gen-libm-calls): Add w_llogbF.
7463         (tests): Add test-fp-llogb-constants.
7464         * math/w_llogb_template.c: New file.  Based on
7465         math/w_ilogb_template.c.
7466         * math/libm-test.inc (llogb_test_data): New array.
7467         (llogb_test): New function.
7468         (main): Call llogb_test.
7469         * math/test-fp-llogb-constants.c: New file.  Based on
7470         math/test-fp-ilogb-constants.c.
7471         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7472         (do_test): Call check_return_llogb.
7473         * math/test-tgmath.c (NCALLS): Increase to 126.
7474         (F(compile_test)): Call llogb.
7475         (F(llogb)): New function.
7476         * manual/math.texi (Exponents and Logarithms): Document llogb,
7477         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7478         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7479         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7480         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7482         (CFLAGS-nldbl-llogb.c): New variable.
7483         * sysdeps/nacl/libm.abilist: Update.
7484         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7485         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7486         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7487         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7488         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7489         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7490         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7491         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7492         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7493         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7495         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7497         Likewise.
7498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7499         Likewise.
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7503         Likewise.
7504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7510         Likewise.
7511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7517 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7519         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7520         _Float128 instead of long double.
7521         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7523         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7524         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7525         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7526         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7527         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7528         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7529         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7530         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7531         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7532         Likewise.
7534 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7536         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7537         Remove redirection to __strrchr_ppc.
7539 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7541         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7542         (sysdep_routines): Add strcmp_power9.
7543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7544         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7545         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7546         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7547         (strcmp): Add __strcmp_power9 to ifunc list.
7548         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7550 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7552         * bits/fp-logb.h: New file.
7553         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7554         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7555         * sysdeps/x86/bits/fp-logb.h: Likewise.
7556         * math/Makefile (headers): Add bits/fp-logb.h.
7557         * math/math.h: Include <bits/fp-logb.h>.
7558         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7559         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7560         * bits/mathdef.h (FP_ILOGB0): Remove.
7561         (FP_ILOGBNAN): Likewise.
7562         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7563         (FP_ILOGBNAN): Likewise.
7564         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7565         (FP_ILOGBNAN): Likewise.
7566         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7567         (FP_ILOGBNAN): Likewise.
7568         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7569         (FP_ILOGBNAN): Likewise.
7570         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7571         (FP_ILOGBNAN): Likewise.
7572         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7573         (FP_ILOGBNAN): Likewise.
7574         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7575         (FP_ILOGBNAN): Likewise.
7576         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7577         (FP_ILOGBNAN): Likewise.
7578         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7579         (FP_ILOGBNAN): Likewise.
7581         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7582         time module.
7583         (Context.__init__): Initialize self.logsdir_old.
7584         (Context.run_builds): Handle bot action.
7585         (Context.bot_cycle): Copy logs directory before running builds.
7586         (Context.bot_run_self): Take argument for whether to check
7587         subprocess result.  Flush stdout before running subprocess.
7588         (Context.bot): New function.
7589         (get_parser): Allow bot action.
7591 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7593         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7594         Import email.mime.text, email.utils and smtplib modules.
7595         (Context.__init__): Initialize self.bot_config_json.
7596         (Context.run_builds): Handle bot-cycle action.
7597         (Context.load_bot_config_json): New function.
7598         (Context.part_build_old): Likewise.
7599         (Context.bot_cycle): Likewise.
7600         (Context.bot_build_mail): Likewise.
7601         (Context.bot_run_self): Likewise.
7602         (get_parser): Allow bot-cycle action.
7604 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7607         Remove redirection to __stpcpy_ppc.
7609 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7611         Remove __libc_memalign from ld.so because it is unused.
7612         * elf/dl-minimal.c: Update comment on the malloc implementation.
7613         (malloc): Renamed from __libc_memalign, replacing the original
7614         malloc implementation.  Replace the align parameter with
7615         MALLOC_ALIGNMENT.
7616         * elf/Versions (ld): Update comment and remove __libc_memalign.
7617         * sysdeps/nacl/ld.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7619         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7620         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7621         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7622         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7623         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7624         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7625         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7626         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7627         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7628         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7629         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7630         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7637         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7638         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7641         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7642         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7643         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7644         * sysdeps/generic/localplt.data (ld.so): Likewise.
7645         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7646         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7647         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7648         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7649         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7650         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7651         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7652         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7653         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7655         (ld.so): Likewise.
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7657         (ld.so): Likewise.
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7659         Likewise.
7660         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7661         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7662         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7664         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7666 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7668         [BZ #16628]
7669         Implement _dl_catch_error, _dl_signal_error in libc.so.
7670         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7671         (catch_hook): Define as thread-local or regular variable,
7672         depending on DL_ERROR_BOOTSTRAP.
7673         (CATCH_HOOK): Remove.
7674         (dl_signal_error, _dl_catch_error): Use
7675         catch_hook.  Add hidden definition for libc.
7676         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7677         for DL_ERROR_BOOTSTRAP only.
7678         * elf/dl-error.c: New file.
7679         * elf/dl-error-minimal.c: Likewise.
7680         * elf/tst-latepthread.c: Likewise.
7681         * elf/tst-latepthreadmod.c: Likewise.
7682         * elf/Makefile (routines): Add dl-error.
7683         (dl-routines): Remove dl-error.
7684         (rtld-routines): Add dl-error-minimal.
7685         [build-shared] (tests): Add tst-latepthread.
7686         (module-names): Add tst-latepthreadmod.
7687         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7688         symbol.
7689         (tst-latepthreadmod.so): Link against libpthread.
7690         (tst-latepthread): Link against libdbl.
7691         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7692         _dl_catch_error.
7693         [ld] (GLIBC_PRIVATE): Likewise.
7694         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7695         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7696         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7697         directly.
7698         * elf/dl-tsd.c: Remove file.
7699         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7700         _dl_catch_error, _dl_signal_error.
7701         (_dl_initial_error_catch_tsd): Remove definition.
7702         (do_preload): Remove initialization of dl_error_catch_tsd.
7703         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7704         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7705         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7706         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7707         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7708         set dl_error_catch_tsd.
7709         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7710         _dl_error_catch_tsd member.
7711         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7712         members.
7713         (_dl_initial_error_catch_tsd): Remove declaration.
7714         (_dl_dprintf): Provide definition for use outside of ld.so.
7715         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7716         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7717         prototype for libc.
7718         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7719         _dl_catch_error.
7720         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7721         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7722         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7723         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7724         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7725         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7726         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7727         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7728         Likewise.
7729         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7731         (ld.so): Likewise.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7733         (ld.so): Likewise.
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7735         Likewise.
7736         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7737         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7738         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7739         Likewise.
7740         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7741         Likewise.
7742         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7744 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7746         [BZ #4099]
7747         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7748         _IO_BUFSIZ (8192).
7750 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7752         * PROJECTS: Remove file.
7754 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7756         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7758 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7759             Steve Ellcey  <sellcey@caviumnetworks.com>
7761         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7762         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7763         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7764         fxstatat.
7765         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7766         lxstat.
7767         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7768         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7769         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7770         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7771         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7772         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7773         __xstat.
7775 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7777         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7778         Define.
7779         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7780         definition.
7782 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7784         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7785         version and turn into strong alias.  Remove compat symbol.
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7788         (__longjmp): Remove.
7790 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7792         * bits/fp-fast.h: New file.
7793         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7794         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7795         * math/Makefile (headers): Add bits/fp-fast.h.
7796         * math/math.h: Include <bits/fp-fast.h>.
7797         * bits/mathdef.h (FP_FAST_FMA): Remove.
7798         (FP_FAST_FMAF): Likewise.
7799         (FP_FAST_FMAL): Likewise.
7800         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7801         (FP_FAST_FMAF): Likewise.
7802         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7803         (FP_FAST_FMAF): Likewise.
7804         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7805         (FP_FAST_FMAF): Likewise.
7806         (FP_FAST_FMAL): Likewise.
7807         * sysdeps/arm/bits/mathdef.h: Remove file.
7808         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7809         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7810         * sysdeps/tile/bits/mathdef.h: Likewise.
7812 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7814         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7815         * math/w_ilogb.c: Remove.
7816         * math/w_ilogbf.c: Likewise.
7817         * math/w_ilogbl.c: Likewise.
7818         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7819         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7820         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7821         (libm-calls): Remove w_ilogbF.
7822         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7823         (LDOUBLE_ilogbl_libm_version): New macro.
7825         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7827         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7828         [!__STRICT_ANSI__ && !__cplusplus].
7830 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7832         [BZ #20750]
7833         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7834         of PIC.
7836 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7837             Yury Norov  <ynorov@caviumnetworks.com>
7838             Steve Ellcey  <sellcey@caviumnetworks.com>
7840         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7841         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7842         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7843         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7844         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7845         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7846         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7847         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7848         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7849         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7850         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7851         to get correct reg name for ILP32.
7852         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7853         (RELA_SIZE): New Macro.
7854         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7855         to support ILP32.
7856         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7857         cast for ILP32 mode.
7858         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7859         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7860         * sysdeps/aarch64/memset.S (__memset): Ditto.
7861         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7862         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7863         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7864         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7865         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7866         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7867         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7868         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7869         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7870         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7871         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7872         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7873         change PTR_MANGLE call to use register numbers instead of names.
7874         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7875         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7876         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7877         * sysdeps/aarch64/start.S (_start): Ditto.
7878         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7879         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7880         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7881         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7882         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7883         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7884         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7885         Make defined values dependent on __ILP32__.
7886         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7887         (sem_t): Change __align type.
7888         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7889         PTR_SIZE): New Macros.
7890         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7891         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7892         Set when in ILP32 mode.
7893         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7894         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7895         Set elf flags for ILP32.
7896         (add_system_dir): Set ILP32 library directories.
7897         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7898         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7899         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7900         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7901         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7902         New Macros.
7903         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7905 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7907         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7908         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7909         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7911 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7913         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7914         <asm/cachectl.h>.
7916 2016-11-27  Zack Weinberg  <zackw@panix.com>
7918         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7919         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7921 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7923         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7924         error_t to fix usage in C++ programs.
7926 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7928         * scripts/build-many-glibcs.py: Import datetime module.
7929         (Context.__init__): Load JSON build state.  Initialize list of
7930         status logs.
7931         (Context.run_builds): Update saved build state.
7932         (Context.add_makefile_cmdlist): Update list of status logs.
7933         (Context.load_build_state_json): New function.
7934         (Context.store_build_state_json): Likewise.
7935         (Context.clear_last_build_state): Likewise.
7936         (Context.update_build_state): Likewise.
7937         (CommandList.status_logs): Likewise.
7939 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7941         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7942         script being executed.
7943         (Context.get_script_text): New function.
7944         (Context.exec_self): Likewise.
7945         (Context.checkout): Re-exec script if changed by checkout process.
7947 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7949         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7950         (setpayloadsig): New declaration.
7951         * math/Versions (setpayloadsig): New libm symbol at version
7952         GLIBC_2.25.
7953         (setpayloadsigf): Likewise.
7954         (setpayloadsigl): Likewise.
7955         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7956         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7957         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7958         (setpayloadsig_test_data): New array.
7959         (setpayloadsig_test): New function.
7960         (main): Call setpayloadsig_test.
7961         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7962         setpayloadsigf and setpayloadsigl.
7963         * manual/libm-err-tab.pl: Update comment on interfaces without
7964         ulps tabulated.
7965         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7966         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7967         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7968         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7969         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7970         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7971         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7972         setpayloadsig.
7973         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7974         * sysdeps/nacl/libm.abilist: Update.
7975         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7976         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7977         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7978         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7979         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7980         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7981         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7982         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7983         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7984         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7996         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7997         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7998         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7999         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8001         Likewise.
8002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8008         * scripts/build-many-glibcs.py: Import json module.
8009         (Context.__init__): Take replace_sources argument.  Load
8010         versions.json.
8011         (Context.load_versions_json): New function.
8012         (Context.store_json): Likewise.
8013         (Context.store_versions_json): Likewise.
8014         (Context.set_component_version): Likewise.
8015         (Context.checkout): Update versions.json.  Check for and handle
8016         changes of version.  Prefer previously explicitly specified
8017         version to default version.
8018         (Context.checkout_vcs): Return a revision identifier.
8019         (Context.git_checkout): Likewise.
8020         (Context.gcc_checkout): Likewise.
8021         (get_parser): Add --replace-sources option.
8022         (main): Pass replace_sources argument to Context call.
8024 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8026         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8027         * nptl/allocatestack.c (allocate_stack): Likewise.
8028         (__reclaim_stacks): Likewise.
8029         (setxid_signal_thread): Obtain pid through syscall.
8030         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8031         (sighandle_setxid): Likewise.
8032         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8033         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8034         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8035         Likewise.
8036         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8037         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8038         comment.
8039         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8040         * nptl/descr.h (struct pthread): Change comment about pid value.
8041         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8042         pid assert.
8043         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8044         Do not set pid value.
8045         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8046         pid cache check.
8047         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8048         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8049         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8050         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8051         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8052         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8053         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8054         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8055         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8056         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8057         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8058         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8059         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8060         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8061         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8062         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8063         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8064         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8065         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8066         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8067         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8068         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8069         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8070         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8071         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8074         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8075         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8076         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8077         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8078         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8079         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8080         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8081         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8082         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8083         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8084         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8085         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8086         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8087         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8088         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8089         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8092         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8093         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8094         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8095         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8096         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8097         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8098         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8099         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8100         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8101         struct access.
8102         (clone_test): Remove function.
8103         (do_test): Rewrite to take in consideration pid is not cached anymore.
8105 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8107         * bits/flt-eval-method.h: New file.
8108         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8109         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8110         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8111         * math/Makefile (headers): Add bits/flt-eval-method.h.
8112         * math/math.h: Include <bits/flt-eval-method.h>.
8113         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8114         [__USE_ISOC99] (double_t): Likewise.
8115         * bits/mathdef.h (float_t): Remove.
8116         (double_t): Likewise.
8117         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8118         (double_t): Likewise.
8119         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8120         (double_t): Likewise.
8121         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8122         (double_t): Likewise.
8123         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8124         (double_t): Likewise.
8125         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8126         (double_t): Likewise.
8127         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8128         (double_t): Likewise.
8129         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8130         (double_t): Likewise.
8131         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8132         (double_t): Likewise.
8133         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8134         (double_t): Likewise.
8135         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8136         (double_t): Likewise.
8137         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8138         (double_t): Likewise.
8139         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8140         (double_t): Likewise.
8141         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8142         (double_t): Likewise.
8144 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8146         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8147         instead of PIC.
8149 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #20859]
8152         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8153         (-0x7fffffff) instead of 0x80000001.
8154         * math/test-fp-ilogb-constants.c: New file.
8155         * math/Makefile (tests): Add test-fp-ilogb-constants.
8157 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8159         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8160         (_init): Use it in place of hardcoded R_MIPS_JALR.
8161         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8162         (_init): Use it in place of hardcoded R_MIPS_JALR.
8163         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8164         (_init): Use it in place of hardcoded R_MIPS_JALR.
8166 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8168         [BZ #20787]
8169         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8170         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8171         (double_t): Do not define to double if [__x86_64__] when
8172         __FLT_EVAL_METHOD__ is nonzero.
8173         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8174         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8175         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8176         test-flt-eval-method-387 and test-flt-eval-method-sse.
8177         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8178         variable.
8179         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8181 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8183         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8184         use of -fno-isolate-erroneous-paths options for tilepro.
8186 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8188         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8189         structure initialization is no longer needed.
8191 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8193         [BZ #20855]
8194         * bits/mathdef.h (float_t): Define to float.
8195         * math/test-flt-eval-method.c: New file.
8196         * math/Makefile (tests): Add test-flt-eval-method.
8197         (CFLAGS-test-flt-eval-method.c): New variable.
8199 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8201         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8202         and __fstatfs.  Make them aliases of __fstatfs64 if
8203         STATFS_IS_STATFS64 is set to non-zero.
8204         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8205         and __statfs64.
8206         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8207         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8208         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8209         for __statfs and statfs.
8210         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8211         to 0.
8212         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8213         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8214         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8215         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8216         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8217         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8220         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8221         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8222         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8223         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8225 2016-11-22  Andreas Schwab  <schwab@suse.de>
8227         * misc/mkstemp.c: Include <fcntl.h>.
8228         * misc/mkstemps.c: Likewise.
8229         * misc/mkostemp.c: Likewise.
8230         * misc/mkostemps.c: Likewise.
8232 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8234         [BZ #20847]
8235         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8236         array bounds.
8237         (__execvpe): Likewise.
8239 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8241         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8242         -fno-isolate-erroneous-paths options for tilepro.
8244 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8246         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8247         to 0 when in 32 bit mode.
8248         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8249         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8250         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8251         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8253         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8254         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8255         XSTAT_IS_XSTAT64 test.
8256         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8257         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8258         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8259         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8260         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8261         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8262         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8263         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8264         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8265         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8266         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8268 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8270         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8271         (setpayload): New declaration.
8272         * math/Versions (setpayload): New libm symbol at version
8273         GLIBC_2.25.
8274         (setpayloadf): Likewise.
8275         (setpayloadl): Likewise.
8276         * math/Makefile (libm-calls): Add s_setpayloadF.
8277         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8278         test_Ff_b1_data.
8279         (RUN_TEST_Ff_b1): New macro.
8280         (RUN_TEST_LOOP_Ff_b1): Likewise.
8281         (canonicalize_test_data): Update type.
8282         (setpayload_test_data): New array.
8283         (setpayload_test): New function.
8284         (main): Call setpayload_test.
8285         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8286         setpayloadf and setpayloadl.
8287         * manual/libm-err-tab.pl: Update comment on interfaces without
8288         ulps tabulated.
8289         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8290         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8292         Likewise.
8293         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8294         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8295         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8296         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8297         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8299         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8301         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8302         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8303         setpayload.
8304         (CFLAGS-nldbl-setpayload.c): New variable.
8305         * sysdeps/nacl/libm.abilist: Update.
8306         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8307         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8308         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8314         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8315         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8316         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8319         Likewise.
8320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8321         Likewise.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8323         Likewise.
8324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8325         Likewise.
8326         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8327         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8328         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8329         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8330         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8332         Likewise.
8333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8336         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8337         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8339 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8341         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8342         * include/unistd.h: Extend comment about __access_noerrno return
8343         semantics.
8344         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8345         (access_common): Correct typo for EACCES.
8347 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8349         * sysdeps/tile/math-tests.h: New file.
8351         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8352         (__old_set_dataplane): Rename from set_dataplane and make a
8353         compatibility symbol.
8354         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8355         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8356         sys/dataplane.h.
8358 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8360         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8361         script quote words in command output to log suitably for input to
8362         the shell.
8364 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8365             Maciej W. Rozycki  <macro@imgtec.com>
8367         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8368         `.Lno_weak_fn' label.
8369         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8370         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8372 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8373             Yury Norov  <ynorov@caviumnetworks.com>
8375         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8376         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8377         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8378         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8379         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8380         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8381         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8383         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8384         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8385         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8386         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8387         (sysdep_routines): Remove oldgetrlimit64.
8388         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8389         (sysdep_routines): Likewise.
8390         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8391         (sysdep_routines): Likewise.
8392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8393         [$(subdir) = resource] (sysdep_routines): Likewise.
8394         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8395         [$(subdir) = resource] (sysdep_routines): Likewise.
8396         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8397         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8398         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8399         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8400         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8401         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8402         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8403         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8404         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8405         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8406         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8407         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8408         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8409         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8410         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8411         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8412         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8413         setrlimit and getrlimit.
8414         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8415         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8416         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8420         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8421         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8423         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8424         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8425         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8426         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8427         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8428         (__old_getrlimit64): Add compatibility symbol.
8429         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8431 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8433         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8434         newly built gmp, mpfr and mpc.
8436         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8438 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8440         * conform/Makefile (linknamespace-libs): Rename to
8441         linknamespace-libs-thr.
8442         (linknamespace-libs-posix): New variable.
8443         (linknamespace-libs-xsi): Likewise.
8444         (linknamespace-libs-XPG3): Include libcrypt.a.
8445         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8446         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8447         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8448         (linknamespace-libs-XOPEN2K): Likewise.
8449         (linknamespace-libs-XOPEN2K8): Likewise.
8450         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8452         [BZ #20829]
8453         * stdio-common/Versions (__snprintf): Add to version
8454         GLIBC_PRIVATE.
8455         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8456         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8457         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8458         of snprintf.
8459         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8461 2016-11-16  Zack Weinberg  <zackw@panix.com>
8463         * string/string.h: Remove obsolete comment stating that
8464         strcoll_l and strxfrm_l have not yet been standardized.
8466 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8468         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8469         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8470         __access_noerrno.
8471         * io/access.c (__access_noerrno): New function.
8472         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8473         (hurd_fail_seterrno): Likewise.
8474         (access_common): Likewise.
8475         (__access_noerrno): Likewise.
8476         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8477         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8478         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8479         macro.
8481 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8483         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8484         Only declare fpregs if [__SH_FPU_ANY__].
8486 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8488         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8489         Make code unconditional.
8490         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8492 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8494         * manual/sysinfo.texi (S_APPEND): Delete.
8495         (S_IMMUTABLE): Likewise.
8497 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8498             Magnus Granberg  <zorry@gentoo.org>
8499             Mike Frysinger  <vapier@gentoo.org>
8501         [BZ #20662]
8502         * configure.ac (libc_cv_predef_stack_protector): Also check for
8503         __stack_chk_fail_local symbols.
8504         * configure: Regenerated.
8506 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8508         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8509         (libc_hidden_def): Remove redefinition.
8510         (__sigsetjmp): Add hidden definition.
8511         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8512         (libc_hidden_def): Remove redefinition.
8513         (__sigsetjmp): Add hidden definition.
8515 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8517         * scripts/build-many-glibcs.py (os.path): Do not import.
8518         (Context): Inherit explicitly from object.  Remove blank line
8519         between class and docstring.
8520         (Config): Likewise.
8521         (Glibc): Likewise.
8522         (Command): Likewise.
8523         (CommandList): Likewise.
8524         (Context.write_files): Store chmod mode in a variable.
8526         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8527         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8528         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8530 2016-11-14  Zack Weinberg  <zackw@panix.com>
8532         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8533         creating or re-creating it.
8535         * string/bits/string2.h: Fix typo in comment.
8537 2016-11-14  Zack Weinberg  <zackw@panix.com>
8539         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8540         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8541         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8542         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8543         of redirected function names.
8545         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8546         as well.  Document that MESSAGE must be a single string literal.
8548 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8550         * scripts/build-many-glibcs.py: New file.
8552         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8553         (do_test): Disable -Wmaybe-uninitialized around uses of
8554         except_mask.
8556         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8558 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8560         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8561         (atomic_store_release): Provide tilepro-specific implementations.
8563 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8565         * math/math.h (__MATH_TG): New macro.
8566         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8567         [__USE_ISOC99] (signbit): Likewise.
8568         [__USE_ISOC99] (isfinite): Likewise.
8569         [__USE_ISOC99] (isnan): Likewise.
8570         [__USE_ISOC99] (isinf): Likewise.
8571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8574         __MATH_TG and __MATH_EVAL_FMT2.
8575         * sysdeps/generic/math_private.h (fabs_tg): Define using
8576         __MATH_TG.
8577         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8578         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8579         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8580         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8581         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8582         macro.
8583         (__iscanonical): Likewise.
8584         (iscanonical): Define using __MATH_TG.
8586 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8588         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8589         guards.
8591         * sysdeps/unix/sysv/linux/access.c: New file.
8592         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8594 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8596         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8597         and __WORDSIZE32_PTRDIFF_LONG.
8599 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8601         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8603 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8605         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8606         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8607         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8608         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8609         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8611         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8612         * sysdeps/unix/sysv/linux/truncate.c: New file.
8613         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8614         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8615         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8616         Remove.
8617         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8618         Likewise.
8620         * posix/tst-truncate-common.c: New file.
8621         * posix/tst-truncate.c: Use tst-truncate-common.c.
8622         * posix/tst-truncate64.c: Likewise and add LFS tests.
8623         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8624         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8625         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8626         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8627         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8629         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8630         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8631         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8632         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8633         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8634         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8635         Remove.
8636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8637         Likewise.
8639 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8641         [BZ #20790]
8642         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8643         to MAXLINESIZE.
8644         * sunrpc/bug20790.x: New file.
8645         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8646         variable.
8647         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8648         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8650         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8652         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8654         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8655         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8656         calloc, realloc, free, memalign and __libc_memalign rather than
8657         making them optional.
8659         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8660         for libc.so.
8662 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8664         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8665         ptw-lseek64.
8666         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8667         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8668         Likewise.
8669         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8670         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8671         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8672         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8673         * sysdeps/unix/sysv/linux/lseek.c: New file.
8674         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8675         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8676         __libc_lseek64 from auto-generation.
8677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8678         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8680 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8682         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8683         * nptl/tst-cleanup1.c (do_test): Likewise.
8684         * nptl/tst-cleanup3.c (do_test): Likewise.
8685         * nptl/tst-key1.c (do_test): Likewise.
8686         * nptl/tst-key2.c (tf, do_test): Likewise.
8687         * nptl/tst-key3.c (tf, do_test): Likewise.
8688         * nptl/tst-stdio1.c (do_test): Likewise.
8689         * nptl/tst-stdio2.c (do_test): Likewise.
8691         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8692         * nptl/tst-kill6.c (handler): Likewise.
8693         * nptl/tst-tls2.c (CB): Likewise.
8694         * nptl/tst-tls3.c (CB): Likewise.
8696 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8698         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8700 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8701             Steve Ellcey  <sellcey@caviumnetworks.com>
8703         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8704           __ASSUME_ST_INO_64_BIT as 0
8705         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8706         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8707           over the code where __ASSUME_ST_INO_64_BIT is used.
8708         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8709         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8710         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8712 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8714         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8715         Document ABI exposure of the __kind offset.
8716         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8717         Mention reason for the __kind offset exposure in the ABI.
8718         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8719         Likewise.
8720         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8721         Likewise.
8722         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8723         Likewise.
8724         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8725         (struct __pthread_mutex_s): Likewise.
8726         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8727         Likewise.
8728         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8729         Likewise.
8730         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8731         Likewise.
8732         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8733         Likewise.
8734         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8735         Likewise.
8736         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8739         (struct __pthread_mutex_s): Likewise.
8740         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8741         (struct __pthread_mutex_s): Likewise.
8742         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8743         Likewise.
8745 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8747         * test-skeleton.c: Document do_test usage.
8749 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8751         * iconv/gconv.h (__gconv_info): Define __data element using a
8752         zero-length array.
8754 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8756         * math/test-tgmath2.c: Split up test function.
8758 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8760         * Rules (tests-expected): New variable, depending on
8761         $(run-built-tests).
8762         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8763         $(tests).
8765         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8766         $(tests-unsupported).
8768 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8770         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8771         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8773 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8775         [BZ #20768]
8776         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8777         __fegetenv instead of fegetenv.
8779         [BZ #14139]
8780         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8781         (find_files): Obtain platform name from libm-test-ulps-name and
8782         store in %pplatforms.
8783         (canonicalize_platform): Remove.
8784         (print_platforms): Use $pplatforms directly.
8785         (by_platforms): Do not allow for platforms missing from
8786         %pplatforms.
8787         * sysdeps/aarch64/libm-test-ulps-name: New file.
8788         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8789         * sysdeps/arm/libm-test-ulps-name: Likewise.
8790         * sysdeps/generic/libm-test-ulps-name: Likewise.
8791         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8792         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8793         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8794         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8795         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8796         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8797         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8798         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8799         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8800         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8801         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8802         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8803         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8804         * sysdeps/sh/libm-test-ulps-name: Likewise.
8805         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8806         * sysdeps/tile/libm-test-ulps-name: Likewise.
8807         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8809         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8811         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8812         (test-xfail-check-execstack): New variable.
8814         * sysdeps/mips/localplt.data: New file.
8816 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8817             Steve Ellcey  <sellcey@caviumnetworks.com>
8819         * bits/wordsize.h: Add documentation.
8820         * sysdeps/aarch64/bits/wordsize.h : New file
8821         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8822         definitions.
8823         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8824         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8825         with #if instead of #ifdef.
8826         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8827         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8828         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8829         Add or change defines.
8830         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8831         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8832         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8833         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8834         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8835         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8836         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8837         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8838         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8840         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8841         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8842         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8843         * sysdeps/x86/bits/wordsize.h: Likewise.
8845 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8846             Kevin Petit  <kevin.petit@arm.com>
8848         * sysdeps/aarch64/memchr.S (__memchr): New file.
8850 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8852         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8854 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8856         [BZ #19398]
8857         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8858         $(linknamespace-symlists-tests).
8860 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8862         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8864 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8865             Carlos O'Donell  <carlos@redhat.com>
8867         [Bug #20729]
8868         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8869         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8870         for -Os related change.
8872 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8874         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8876 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8878         [BZ #19673]
8879         * manual/math.texi (Exponents and Logarithms): Correct description
8880         of clog10.
8882 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8884         [Bz #20729]
8885         * locale/weight.h: Include libc-internal.h.
8886         * locale/weightwc.h: Likewise.
8887         * nptl/nptl_dbP.h: Likewise.
8889 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8891         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8892         when it is MACH_PORT_NULL.
8894 2016-10-31  Andreas Schwab  <schwab@suse.de>
8896         [BZ #20707]
8897         * posix/glob.c (glob): Initialize pglob before checking for
8898         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8899         valid brace expression despite GLOB_BRACE.
8900         * posix/globtest.sh: Test it.
8902 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8904         [BZ #20729]
8905         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8906         Define.
8907         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8908         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8909         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8910         for seq2.back_us and seq1.back_us only for -Os compiles.
8911         * locale/weightwc.h (findix): Likewise.
8912         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8913         DB_GET_FIELD_ADDRESS only for -Os compiles.
8914         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8915         for slen only for -Os compiles.
8916         * string/strcoll_l.c (get_next_seq): Ignore
8917         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8918         for -Os compiles.
8920         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8921         * include/crypt.h: New file.
8923 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8925         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8926         from test-skeleton.c.
8927         (statclass): Replace calls to write with calls to write_message.
8929 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8931         * math/math.h
8932         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8933         New macro.
8934         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8935         Likewise.
8936         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8937         Likewise.
8938         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8939         SNANL.
8940         * math/test-double.h (snan_value_MACRO): New macro.
8941         * math/test-float.h (snan_value_MACRO): Likewise.
8942         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8943         * math/libm-test.inc (issignaling_test_data): Add tests of
8944         snan_value_MACRO.
8946 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8948         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8949         behavior when eliding a lock not held by the current thread.
8950         * sysdeps/powerpc/nptl/elide.h: Likewise.
8952 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8954         [BZ #20728]
8955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8956         branch to _exit() by a function call.
8958 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8960         * malloc/malloc.c: Update chunk layout comments.
8961         (chunk_main_arena): Update comment.
8963 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8965         * crypt/sha256.c, crypt/sha256-block.c,
8966         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8967         sha256_process_block to __sha256_process_block.
8968         * crypt/sha512.c, crypt/sha512-block.c,
8969         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8970         sha512_process_block to __sha512_process_block.
8972 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8974         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8976         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8978 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8980         [BZ #20019]
8981         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8982         definition in unrelocated shared library.
8983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8985 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8987         [BZ #20729]
8988         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8989         * sysdeps/unix/sysv/linux/i386/Makefile
8990         (uses-6-syscall-arguments): Define.
8991         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8992         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8993         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8994         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8995         Likewise.
8996         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8997         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8998         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8999         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9000         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9001         (CFLAGS-fallocate64.os): Likewise.
9002         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9003         (CFLAGS-pthread_rwlock_timedrdlock.os)
9004         (CFLAGS-pthread_rwlock_timedwrlock.o)
9005         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9006         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9007         (CFLAGS-sem_timedwait.os): Likewise.
9009 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9011         * elf/tst-linkall-static.c: New file.
9012         * elf/Makefile (tests-static): Add tst-linkall-static.
9013         (tst-linkall-static): Link against static libraries.
9015 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9017         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9018         mmaped chunks.
9020 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9022         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9023         members to mchunk_prev_size, mchunk_size.
9024         (chunk_main_arena): Reverse sense and rename from
9025         chunk_non_main_arena.
9026         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9027         mchunk_size instead of size.
9028         (set_non_main_arena): Define.
9029         (chunksize): Use chunksize_nomask instead of direct member access.
9030         (chunksize_nomask): Define.
9031         (next_chunk): Use chunksize instead of direct member access.
9032         (prev_size, set_prev_size): Define.
9033         (prev_chunk): Use prev_size instead of direct member access.
9034         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9035         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9036         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9037         (mchunk_prev_size, mchunk_size): Poison tokens.
9038         (unlink): Use chunksize_nomask, prev_size accessors.
9039         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9040         (do_check_free_chunk): Use prev_size accessor.
9041         (sysmalloc): Use set_prev_size, set_head accessors.
9042         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9043         (__libc_free): Use chunksize_nomask accessor.
9044         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9045         chunk_main_arena accessors.
9046         (_int_free): Use chunksize_nomask, prev_size accessors.
9047         (malloc_consolidate): Use chunksize, prev_size accessors.
9048         (_int_realloc): Use chunksize_nomask accessor.
9049         (_int_memalign): Use set_prev_size accessor.
9050         (__malloc_info): Use chunksize_nomask accessor.
9051         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9052         accessors.
9053         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9054         (heap_trim): Use chunksize_nomask, prev_size accessors.
9056 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9058         [BZ #19380]
9059         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9060         for inexact results.
9061         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9062         of inexact result where mpfr_subnormalize is the only inexact
9063         step.
9064         * stdlib/tst-strtod-round-data.h: Regenerated.
9065         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9066         Define to 0.
9067         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9069 2016-10-27  David S. Miller  <davem@davemloft.net>
9071         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9073 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9075         * malloc/malloc.c (do_set_mallopt_check): New function.
9076         (do_set_mmap_threshold): Likewise.
9077         (do_set_mmaps_max): Likewise.
9078         (do_set_top_pad): Likewise.
9079         (do_set_perturb_byte): Likewise.
9080         (do_set_trim_threshold): Likewise.
9081         (do_set_arena_max): Likewise.
9082         (do_set_arena_test): Likewise.
9083         (__libc_mallopt): Use them.
9085 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9087         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9088         (canonicalize): New declaration.
9089         * math/Versions (canonicalize): New libm symbol at version
9090         GLIBC_2.25.
9091         (canonicalizef): Likewise.
9092         (canonicalizel): Likewise.
9093         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9094         * math/s_canonicalize_template.c: New file.
9095         * math/libm-test.inc: Update comment on functions tested and
9096         testing of NaN payloads.
9097         (TEST_NAN_PAYLOAD): New macro.
9098         (NO_TEST_INLINE): Update value.
9099         (XFAIL_TEST): Likewise.
9100         (ERRNO_UNCHANGED): Likewise.
9101         (ERRNO_EDOM): Likewise.
9102         (ERRNO_ERANGE): Likewise.
9103         (IGNORE_RESULT): Likewise.
9104         (NON_FINITE): Likewise.
9105         (TEST_SNAN): Likewise.
9106         (NO_TEST_MATHVEC): Likewise.
9107         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9108         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9109         (struct test_Ffp_b1_data): New type.
9110         (RUN_TEST_Ffp_b1): New macro.
9111         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9112         (canonicalize_test_data): New array.
9113         (canonicalize_test): New function.
9114         (main): Call canonicalize_test.
9115         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9116         canonicalizef and canonicalizel.
9117         * manual/libm-err-tab.pl: Update comment on interfaces without
9118         ulps tabulated.
9119         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9120         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9121         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9122         canonicalize.
9123         (CFLAGS-nldbl-canonicalize.c): New variable.
9124         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9125         to ...
9126         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9127         ... here.
9128         (do_test): Also test canonicalizel.
9129         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9130         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9131         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9132         file.
9133         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9134         Use libm_hidden_def.
9135         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9136         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9137         (do_test): Also test canonicalizel.
9138         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9139         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9140         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9141         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9142         libm_hidden_def.
9143         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9144         macro.
9145         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9146         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9147         * sysdeps/nacl/libm.abilist: Update.
9148         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9153         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9163         Likewise.
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9165         Likewise.
9166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9181         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9182         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9183         getpayload.
9184         (CFLAGS-nldbl-getpayload.c): New variable.
9186 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9188         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9189         integer from the format string.
9191 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9193         [BZ #19473]
9194         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9195         declarations.
9196         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9197         weak aliases.
9198         * malloc/hooks.c (__malloc_get_state): Remove definition.
9199         (malloc_get_state): New stub implementation as
9200         compatibility symbol.
9201         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9202         compat symbol.
9203         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9204         malloc_set_state.
9205         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9207 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9209         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9210         (names): Turn into concatenation of strings.
9211         (gconv_init): Adapt iteration over names.
9213 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9215         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9216         make const.
9217         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9218         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9219         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9220         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9221         character in sbconv.
9222         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9223         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9224         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9226 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9228         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9230         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9231         (M_TRIM_THRESHOLD): Likewise.
9233         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9234         (M_ARENA_MAX): Likewise.
9235         * malloc/malloc.c: Remove obsolete comment.
9237         * manual/memory.texi: Add environment variable alternatives to
9238         setting mallopt parameters.
9240 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9242         * include/atomic.h
9243         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9244         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9246 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9248         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9249         * stdlib/tst-strfrom.h: New file.
9250         * stdlib/tst-strfrom.c: New file.
9251         * stdlib/tst-strfrom-locale.c: New file.
9253         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9254         * stdlib/bug-strtod2.c: Likewise.
9255         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9256         * stdlib/tst-strtod6.c: Likewise.
9257         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9259 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9261         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9262         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9263         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9264         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9265         * stdlib/stdlib.h (strfromd): New declaration.
9266         (strfromf): Likewise.
9267         (strfroml): Likewise.
9268         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9269         strfrom.
9270         * stdlib/strfromd.c: New file.
9271         * stdlib/strfromf.c: Likewise.
9272         * stdlib/strfroml.c: Likewise.
9273         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9274         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9275         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9276         * sysdeps/arm/nacl/libc.abilist: Update.
9277         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9278         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9279         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9280         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9281         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9282         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9283         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9284         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9285         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9295         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9296         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9297         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9298         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9299         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9302         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9303         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9304         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9306 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9308         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9309         instead of cmpli.
9310         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9311         instead of cmpli.
9313 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9315         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9316         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9317         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9318         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9319         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9320         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9322 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9324         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9325         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9326         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9327         SYSCALL_LL64_PRW.
9328         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9329         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9330         __ASSUME_PRW_DUMMY_ARG.
9331         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9332         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9333         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9334         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9335         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9336         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9338 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9340         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9342 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9344         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9345         "C++", to override a potential extern "C" directive around the
9346         header file inclusion.
9348 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9350         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9352 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9354         * sysdeps/powerpc/fpu/fenv_private.h:
9355         (_FPU_MASK_ALL): Rename to...
9356         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9357         XE FPSCR bits.
9359         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9361         (_FPU_MASK_ROUNDING): Rename to...
9362         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9363         NI bits.
9365         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9366         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9367         bits and rounding bits.
9369         (__libc_feholdbits_ppc): New inline function to mask, set,
9370         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9371         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9372         (libc_feholdexcept_setround_ppc): Likewise.
9374         (__libc_femergeenv_ppc): New function to dynamically mask both
9375         old and new FP environments and merge.
9376         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9377         (libc_feresetround_ppc): Likewise.
9378         (libc_feupdateenv_test_ppc): Likewise.
9379         (libc_feupdateenv_ppc): Likewise.
9381         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9382         of ISA RN bits, and update macro names.
9383         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9384         effectively the same as the previously mentioned function.
9386         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9387         usage with fe_resetround_ppc.
9389         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9390         to be used.
9391         (libc_feholdexcept_setround_ctxf): Likewise.
9392         (libc_feholdexcept_setround_ctxl): Likewise.
9394 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9396         [BZ #20715]
9397         * math/math.h [__cplusplus] (iszero): Define as function template.
9398         * math/Makefile [CXX] (tests): Add test-math-iszero.
9399         (CFLAGS-test-math-iszero.cc): Set.
9400         * math/test-math-iszero.cc: New file.
9402 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9404         [BZ #20660]
9405         * sysdeps/arm/e_sqrt.c: New file.
9406         * sysdeps/arm/e_sqrtf.c: Likewise.
9408 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9410         [BZ #20718]
9411         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9412         not use floating-point comparisons to test sign.
9413         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9414         Likewise.
9416         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9417         (getpayload): New declaration.
9418         * math/Versions (getpayload): New libm symbol at version
9419         GLIBC_2.25.
9420         (getpayloadf): Likewise.
9421         (getpayloadl): Likewise.
9422         * math/Makefile (libm-calls): Add s_getpayloadF.
9423         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9424         (struct test_f_f_data): Add comment.
9425         (RUN_TEST_fp_f): New macro.
9426         (RUN_TEST_LOOP_fp_f): Likewise.
9427         (getpayload_test_data): New array.
9428         (getpayload_test): New function.
9429         (main): Call getpayload_test.
9430         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9431         descriptor.
9432         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9433         getpayloadf and getpayloadl.
9434         * manual/libm-err-tab.pl: Update comment on interfaces without
9435         ulps tabulated.
9436         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9437         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9438         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9440         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9441         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9442         * sysdeps/nacl/libm.abilist: Update.
9443         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9444         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9445         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9446         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9447         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9448         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9449         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9450         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9451         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9452         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9453         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9454         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9456         Likewise.
9457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9458         Likewise.
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9460         Likewise.
9461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9462         Likewise.
9463         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9464         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9465         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9466         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9467         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9469         Likewise.
9470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9471         Likewise.
9472         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9473         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9474         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9476 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9478         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9479         tst-fallocate{64}.
9480         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9481         on syscall return.
9483 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9485         [BZ #20689]
9486         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9487         usable.
9489 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9491         * sysdeps/generic/nan-high-order-bit.h: New file.
9492         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9493         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9494         * sysdeps/hppa/math_private.h: Remove file.
9495         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9496         not define here.
9497         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9498         <nan-high-order-bit.h>.
9499         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9500         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9501         <nan-high-order-bit.h>.
9502         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9503         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9504         <nan-high-order-bit.h>.
9505         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9506         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9507         <nan-high-order-bit.h>.
9508         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9509         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9510         <nan-high-order-bit.h>.
9511         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9512         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9513         <nan-high-order-bit.h>.
9514         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9515         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9516         <nan-high-order-bit.h>.
9517         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9518         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9519         <nan-high-order-bit.h>.
9520         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9521         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9522         <nan-high-order-bit.h>.
9523         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9524         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9525         <nan-high-order-bit.h>.
9526         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9527         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9528         <nan-high-order-bit.h>.
9529         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9530         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9531         <nan-high-order-bit.h>.
9532         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9533         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9534         <nan-high-order-bit.h>.
9535         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9536         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9537         <nan-high-order-bit.h>.
9538         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9539         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9540         <nan-high-order-bit.h>.
9541         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9542         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9543         <nan-high-order-bit.h>.
9544         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9545         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9546         <nan-high-order-bit.h>.
9547         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9548         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9549         <nan-high-order-bit.h>.
9550         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9552 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9554         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9556 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9558         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9559         abort-instr.h.
9560         (EFAULT): Remove conditional define.
9561         (ENOSYS): Likewise.
9562         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9563         instead of conditional branch instructions.
9565 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9567         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9568         (totalordermag): New declaration.
9569         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9570         New macro.
9571         * math/Versions (totalordermag): New libm symbol at version
9572         GLIBC_2.25.
9573         (totalordermagf): Likewise.
9574         (totalordermagl): Likewise.
9575         * math/Makefile (libm-calls): Add s_totalordermagF.
9576         * math/libm-test.inc (totalordermag_test_data): New array.
9577         (totalordermag_test): New function.
9578         (main): Call totalordermag_test.
9579         * math/test-tgmath.c (NCALLS): Increase to 125.
9580         (F(compile_test)): Call totalordermag.
9581         (F(totalordermag)): New function.
9582         * manual/arith.texi (FP Comparison Functions): Document
9583         totalordermag, totalordermagf and totalordermagl.
9584         * manual/libm-err-tab.pl: Update comment on interfaces without
9585         ulps tabulated.
9586         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9587         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9588         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9589         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9591         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9592         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9593         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9594         totalordermag.
9595         (CFLAGS-nldbl-totalordermag.c): New variable.
9596         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9597         (do_test): Also test totalordermagl.
9598         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9599         Likewise.
9600         * sysdeps/nacl/libm.abilist: Update.
9601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9602         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9603         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9604         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9605         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9607         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9610         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9611         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9612         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9614         Likewise.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9616         Likewise.
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9618         Likewise.
9619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9620         Likewise.
9621         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9622         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9623         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9625         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9627         Likewise.
9628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9629         Likewise.
9630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9634 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9636         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9637         boolean.
9639 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9641         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9642         raising FE_INVALID with feraisexcept in case where part of
9643         argument is infinite, subtract that part of argument from itself.
9644         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9645         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9646         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9648 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9650         * math/libm-test.inc (totalorder_test_data): Add more tests.
9652 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9654         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9655         Undefine weak_alias and add a comment why mips64 require
9656         versioning.
9658 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9660         [BZ #20647]
9661         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9662         maximum CPUID level is less than 2.
9664 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9666         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9667         (totalorder): New declaration.
9668         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9669         New macro.
9670         * math/Versions (totalorder): New libm symbol at version
9671         GLIBC_2.25.
9672         (totalorderf): Likewise.
9673         (totalorderl): Likewise.
9674         * math/Makefile (libm-calls): Add s_totalorderF.
9675         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9676         string.
9677         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9678         (qnan_value_pl): Likewise.
9679         (snan_value_pl): Likewise.
9680         (qnan_value): Define using qnan_value_pl.
9681         (snan_value): Define using snan_value_pl.
9682         (struct test_ff_i_data): Add comment about which tests use this
9683         structure.
9684         (RUN_TEST_ff_b): New macro.
9685         (RUN_TEST_LOOP_ff_b): Likewise.
9686         (totalorder_test_data): New array.
9687         (totalorder_test): New function.
9688         (main): Call totalorder_test.
9689         * math/test-tgmath.c (NCALLS): Increase to 122.
9690         (F(compile_test)): Call totalorder.
9691         (F(totalorder)): New function.
9692         * manual/arith.texi (FP Comparison Functions): Document
9693         totalorder, totalorderf and totalorderl.
9694         * manual/libm-err-tab.pl: Update comment on interfaces without
9695         ulps tabulated.
9696         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9697         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9698         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9703         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9704         totalorder.
9705         (CFLAGS-nldbl-totalorder.c): New variable.
9706         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9707         file.
9708         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9709         Add test-totalorderl-ldbl-128ibm.
9710         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9711         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9712         test-totalorderl-ldbl-96.
9713         * sysdeps/nacl/libm.abilist: Update.
9714         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9715         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9716         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9717         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9718         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9719         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9722         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9723         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9725         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9727         Likewise.
9728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9729         Likewise.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9731         Likewise.
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9733         Likewise.
9734         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9735         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9736         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9738         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9740         Likewise.
9741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9742         Likewise.
9743         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9744         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9745         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9747 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9749         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9750         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9751         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9752         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9753         remove ENOSYS implementation.
9754         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9755         Consolidate all Linux implementations.
9757 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9759         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9760         * resolv/herror.c (herror): Cast away const-ness.
9761         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9762         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9764 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9766         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9767         instead of M_NAN + M_NAN.
9768         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9770 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9772         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9773         unused variable 'p'.
9775 2016-10-09  Alan Modra  <amodra@gmail.com>
9776             Andreas Schwab  <schwab@linux-m68k.org>
9778         [BZ #20554]
9779         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9780         [PIC && !SHARED]: Set up PIC register for PLT call.
9782 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9784         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9785         conditional on value of [__FLT_EVAL_METHOD__].
9786         * math/test-iseqsig-excess-precision.c: New file.
9787         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9789 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9791         * math/s_iseqsig_template.c: Include math-private.h.
9793         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9794         * posix/tst-posix_fadvise.c: New file.
9795         * posix/tst-posix_fadvise64.c: Likewise.
9796         * posix/tst-posix_fadvise-common.c: Likewise.
9797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9798         (__ASSUME_FADVISE64_64_6ARG): Define.
9799         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9800         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9802         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9803         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9804         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9805         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9810         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9813         Likewise.
9814         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9815         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9816         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9817         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9818         Alias to __posix_fadvise64_l32.
9819         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9820         Add compat definition to posix_fadvise64.
9821         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9822         Add versioned definition to posix_fadvise64.
9823         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9824         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9825         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9826         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9827         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9829         * io/Makefile (tests): Add tst-posix_fallocate and
9830         tst-posix_fallocate64.
9831         * io/tst-posix_fallocate-common.c: New file.
9832         * io/tst-posix_fallocate.c: Likewise.
9833         * io/tst-posix_fallocate64.c: Likewise.
9834         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9835         file.
9836         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9837         Likewise.
9838         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9839         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9842         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9843         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9844         SYSCALL_LL to pass both offset and len arguments.
9845         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9846         Likewise.
9847         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9848         __libc_pwrite64 alias used by posix_fallocate64.
9850         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9851         tst-fallocate64.
9852         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9853         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9854         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9855         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9856         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9857         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9858         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9859         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9860         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9861         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9862         macro on offset argument.
9863         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9864         SYSCALL_LL64 on offset argument.
9866         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9867         tst-fallocate64.
9868         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9869         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9870         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9871         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9872         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9873         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9874         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9875         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9876         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9877         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9878         macro on offset argument.
9879         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9880         SYSCALL_LL64 on offset argument.
9881         * test-skeleton.c (FAIL_RET): Add macro.
9882         (FAIL_EXIT): Likewise.
9883         (FAIL_EXIT1): Likewise.
9884         (_FAIL): Likewise.
9886 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9888         [BZ #20629]
9889         resolv: Remove RES_USEBSTRING and its implementation.
9890         * resolv/resolv.h (RES_USEBSTRING): Remove.
9891         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9892         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9893         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9894         (labellen): Remove extended label types support.
9895         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9896         * resolv/res_init.c (res_setoptions): Likewise.
9897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9899 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9901         resolv: Remove RES_NOIP6DOTINT and its implementation.
9902         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9903         (RES_NOIP6DOTINT): Remove.
9904         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9905         handling.
9906         * resolv/res_debug.c (p_option): Likewise.
9907         * resolv/res_init.c (res_setoptions): Likewise.
9908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9910 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9912         resolv: Deprecate unimplemented flags.
9913         * misc/sys/cdefs.h (__glibc_macro_warning1)
9914         (__glibc_macro_warning): Define.
9915         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9916         (RES_KEEPTSIG): Mark as deprecated.
9917         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9918         RES_NOCHECKNAME, RES_KEEPTSIG.
9919         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9921 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9923         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9924         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9925         Use strong_alias to create symbols for glibc verison 2.19.
9927 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9929         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9931 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9933         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9935 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9937         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9939 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9941         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9942         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9943         in header for using it as type for ifunc function because __GI_* symbols
9944         for ppc32 do not target the ifunc symbols.
9945         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9947 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9949         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9950         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9951         libc_ifunc_hidden_def.
9952         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9953         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9954         Redirect ifunced function in header for using it as type of ifunc'ed
9955         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9956         function for __GI_* symbol.
9957         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9958         * include/libc-symbols.h
9959         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9961 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9963         [BZ #20478]
9964         * sysdeps/s390/multiarch/ifunc-resolve.h
9965         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9966         to create ifunc symbols.
9967         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9968         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9969         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9970         for using it as type for ifunc function.
9971         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9972         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9973         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9974         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9975         * sysdeps/s390/multiarch/strcat.c: Likewise.
9976         * sysdeps/s390/multiarch/strchr.c: Likewise.
9977         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9978         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9979         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9980         * sysdeps/s390/multiarch/strlen.c: Likewise.
9981         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9982         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9983         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9984         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9985         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9986         * sysdeps/s390/multiarch/strspn.c: Likewise.
9987         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9988         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9989         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9990         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9991         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9992         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9993         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9994         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9995         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9996         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9997         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9998         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10000 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10002         * include/libc-symbols.h (__ifunc_resolver):
10003         New macro is used by __ifunc* macros.
10004         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10005         depending on HAVE_GCC_IFUNC.
10006         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10007         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10009         Redirect ifunced function in header for using as type for ifunc function.
10010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10016         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10021         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10022         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10029         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10030         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10031         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10033         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10034         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10035         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10036         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10037         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10038         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10039         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10040         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10041         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10042         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10044         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10045         instead of libc_ifunc() macro.
10046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10049 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10051         * config.h.in (HAVE_GCC_IFUNC): New undef.
10052         * configure.ac: Add check if gcc supports attribute ifunc feature.
10053         * configure: Regenerated.
10054         * manual/install.texi: Add recommendation for gcc with
10055         indirect-function support.
10056         * INSTALL: Regenerated.
10058 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10060         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10061         macro.
10062         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10063         (__iseqsig): New declaration.
10064         * math/s_iseqsig_template.c: New file.
10065         * math/Versions (__iseqsigf): New libm symbol at version
10066         GLIBC_2.25.
10067         (__iseqsig): Likewise.
10068         (__iseqsigl): Likewise.
10069         * math/libm-test.inc (iseqsig_test_data): New array.
10070         (iseqsig_test): New function.
10071         (main): Call iseqsig_test.
10072         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10073         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10074         * manual/libm-err-tab.pl: Update comment on interfaces without
10075         ulps tabulated.
10076         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10077         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10078         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10079         * sysdeps/nacl/libm.abilist: Update.
10080         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10081         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10082         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10083         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10091         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10093         Likewise.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10095         Likewise.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10097         Likewise.
10098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10099         Likewise.
10100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10101         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10102         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10106         Likewise.
10107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10113 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10115         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10116         do_sincos_2, sloww, sloww1): Update comments.
10118         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10119         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10121         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10122         K boolean and rename it.
10123         (__sin): Adjust.
10124         (__cos): Adjust.
10126 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10127             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10129         * manual/nss.texi: Fix typos in the manual.
10131 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10133         * manual/contrib.texi: Fix typos in the manual.
10135         * manual/maint.texi: Fix typos in the manual.
10137         * manual/install.texi: Fix typos in the manual.
10138         * INSTALL: Regenerated.
10140         * manual/lang.texi: Fix typos in the manual.
10142         * manual/probes.texi: Fix typos in the manual.
10144         * manual/threads.texi: Fix typos in the manual.
10146         * manual/debug.texi: Fix typos in the manual.
10148         * manual/crypt.texi: Fix typos in the manual.
10150         * manual/conf.texi: Fix typos in the manual.
10152         * manual/sysinfo.texi: Fix typos in the manual.
10154         * manual/users.texi: Fix typos in the manual.
10156         * manual/job.texi: Fix typos in the manual.
10158         * manual/process.texi: Fix typos in the manual.
10160         * manual/argp.texi: Fix typos in the manual.
10161         * manual/getopt.texi: Likewise.
10162         * manual/startup.texi: Likewise.
10164         * manual/signal.texi: Fix typos in the manual.
10166         * manual/setjmp.texi: Fix typos in the manual.
10168         * manual/resource.texi: Fix typos in the manual.
10170         * manual/time.texi: Fix typos in the manual.
10172         * manual/arith.texi: Fix typos in the manual.
10174         * manual/math.texi: Fix typos in the manual.
10176         * manual/syslog.texi: Fix typos in the manual.
10178         * manual/terminal.texi: Fix typos in the manual.
10180         * manual/socket.texi: Fix typos in the manual.
10182         * manual/filesys.texi: Fix typos in the manual.
10184         * manual/llio.texi: Fix typos in the manual.
10186         * manual/stdio.text: Fix typos in the manual.
10188 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10190         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10191         instead of K1.
10193         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10194         SHIFT_QUADRANT and make it bool.
10195         (do_sincos_2): Likewise.
10196         (sloww): Likewise.
10197         (sloww1): Likewise.
10198         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10199         (__cos): Likewise.
10201 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10203         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10205 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10207         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10208         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10209         0x7fffffffL].
10210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10212 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10214         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10215         inline by __inline__.
10216         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10217         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10218         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10219         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10220         sigset_t from signal.h.
10221         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10222         which is already required.
10224 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10226         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10228 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10230         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10231         (struct tcp_repair_window): New type.
10233 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10235         * libio/tst-memstream3.c: Include string.h.
10237 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10239         [BZ #18241]
10240         [BZ #20181]
10241         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10242         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10243         write position is at the end the buffer.
10244         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10245         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10246         (_IO_str_seekoff): Set correct offset from negative displacement and
10247         set EINVAL for invalid ones.
10248         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10249         buffer length.
10250         (_IO_wstr_switch_to_get_mode): New function.
10251         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10252         set EINVAL for invalid ones.
10253         * libio/tst-memstream3.c: New file.
10254         * libio/tst-wmemstream3.c: Likewise.
10255         * manual/examples/memstrm.c: Remove warning when priting size_t.
10257 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10259         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10260         macro to use __builtin_fma.
10261         * sysdeps/x86_64/fpu/dla.h: Remove file.
10263         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10264         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10265         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10267 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10269         [BZ #20292]
10270         * elf/Makefile (routines): Add dl-addr-obj.
10271         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10272         tst-_dl_addr_inside_object.
10273         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10274         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10275         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10276         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10277         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10278         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10279         * elf/dl-open.c: Likewise.
10280         * elf/dl-addr-obj.c: New file.
10281         * elf/tst-_dl_addr_inside_object.c: New file.
10283 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10285         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10286         <bits/iscanonical.h>.
10287         * bits/iscanonical.h: New file.
10288         * math/s_iscanonicall.c: Likewise.
10289         * math/Versions (__iscanonicall): New libm symbol at version
10290         GLIBC_2.25.
10291         * math/libm-test.inc (iscanonical_test_data): New array.
10292         (iscanonical_test): New function.
10293         (main): Call iscanonical_test.
10294         * math/Makefile (headers): Add bits/iscanonical.h.
10295         (type-ldouble-routines): Add s_iscanonicall.
10296         * manual/arith.texi (Floating Point Classes): Document
10297         iscanonical.
10298         * manual/libm-err-tab.pl: Update comment on interfaces without
10299         ulps tabulated.
10300         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10301         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10303         Likewise.
10304         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10305         test-iscanonical-ldbl-128ibm.
10306         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10307         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10308         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10309         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10310         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10311         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10312         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10314         Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10316         Likewise.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10318         Likewise.
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10320         Likewise.
10321         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10324 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10326         * string/bits/string3.h: Remove C++ style comments.
10328 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10330         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10331         instead of ternary condition.
10332         (do_sincos_2): Likewise.
10333         (__sin): Likewise.
10334         (__cos): Likewise.
10335         (slow): Likewise.
10336         (sloww): Likewise.
10337         (sloww1): Likewise.
10338         (bsloww): Likewise.
10339         (bsloww1): Likewise.
10341         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10342         instead of ternary condition.
10343         (do_sin_slow): Likewise.
10344         (do_sincos_1): Likewise.
10345         (do_sincos_2): Likewise.
10346         (__cos): Likewise.
10347         (sloww): Likewise.
10348         (sloww1): Likewise.
10349         (sloww2): Likewise.
10350         (bsloww): Likewise.
10351         (bsloww1): Likewise.
10352         (bsloww2): Likewise.
10354         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10355         check from here...
10356         (slow2): ... and here...
10357         (__sin): ... to here.
10359 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10361         * math/math.h
10362         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10363         Cast argument to its own type.
10364         * math/test-iszero-excess-precision.c: New file.
10365         * math/Makefile (tests): Add test-iszero-excess-precision.
10366         (CFLAGS-test-iszero-excess-precision.c): New variable.
10368 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10370         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10371         field, add err field.
10372         (__spawni_child): Report error through err member instead of pipe.
10373         (__spawnix): Likewise.
10375 2016-09-28  Zack Weinberg  <zackw@panix.com>
10377         * scripts/check-installed-headers.sh: Generalize treatment of
10378         sys/elf.h to all target architectures.
10380         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10381         deleted typedef ucontext_t.
10383 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10385         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10386         (__INTERNAL_SYSCALL1): Likewise.
10387         (__INTERNAL_SYSCALL2): Likewise.
10388         (__INTERNAL_SYSCALL3): Likewise.
10389         (__INTERNAL_SYSCALL4): Likewise.
10390         (__INTERNAL_SYSCALL5): Likewise.
10391         (__INTERNAL_SYSCALL6): Likewise.
10392         (__INTERNAL_SYSCALL7): Likewise.
10393         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10394         (__INTERNAL_SYSCALL_NARGS): Likewise.
10395         (__INTERNAL_SYSCALL_DISP): Likewise.
10396         (INTERNAL_SYSCALL_CALL): Likewise.
10397         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10398         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10399         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10400         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10401         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10402         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10403         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10404         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10405         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10406         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10407         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10408         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10409         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10411 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10413         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10414         macro.
10415         * math/libm-test.inc (iszero_test_data): New array.
10416         (iszero_test): New function.
10417         (main): Call iszero_test.
10418         * manual/arith.texi (Floating Point Classes): Document iszero.
10419         * manual/libm-err-tab.pl: Update comment on interfaces without
10420         ulps tabulated.
10422 2016-09-23  Zack Weinberg  <zackw@panix.com>
10424         * scripts/check-installed-headers.sh: New script.
10425         * Rules: In each directory that defines header files to be installed,
10426         run check-installed-headers.sh on them as a special test.
10427         * Makefile: Likewise for the headers installed at top level.
10429         * include/aliases.h, include/alloca.h, include/argz.h
10430         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10431         * include/elf.h, include/envz.h, include/err.h
10432         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10433         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10434         * include/link.h, include/malloc.h, include/mcheck.h
10435         * include/mntent.h, include/netinet/ether.h
10436         * include/nss.h, include/obstack.h, include/printf.h
10437         * include/pty.h, include/resolv.h, include/rpc/auth.h
10438         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10439         * include/rpc/clnt.h, include/rpc/des_crypt.h
10440         * include/rpc/key_prot.h, include/rpc/netdb.h
10441         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10442         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10443         * include/rpc/rpc_msg.h, include/rpc/svc.h
10444         * include/rpc/svc_auth.h, include/rpc/xdr.h
10445         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10446         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10447         * include/rpcsvc/ypupd.h, include/shadow.h
10448         * include/stdio_ext.h, include/sys/epoll.h
10449         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10450         * include/sys/prctl.h, include/sys/profil.h
10451         * include/sys/statfs.h, include/sys/sysctl.h
10452         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10453         * sysdeps/arm/nacl/include/bits/setjmp.h
10454         * sysdeps/mips/include/sys/asm.h
10455         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10456         * sysdeps/unix/sysv/linux/include/sys/timex.h
10457         * sysdeps/x86/fpu/include/bits/fenv.h:
10458         Add #ifndef _ISOMAC guard around internal declarations.
10459         Add multiple-inclusion guard if not already present.
10461 2016-09-23  Zack Weinberg  <zackw@panix.com>
10463         * sysdeps/generic/sys/ucontext.h
10464         * sysdeps/arm/sys/ucontext.h
10465         * sysdeps/i386/sys/ucontext.h
10466         * sysdeps/m68k/sys/ucontext.h
10467         * sysdeps/mips/sys/ucontext.h
10468         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10469         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10470         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10471         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10472         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10473         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10474         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10475         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10476         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10477         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10478         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10479         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10480         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10481         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10482         Include both bits/sigcontext.h and bits/sigstack.h.
10483         Fix grammar error in comment, if present.
10485         * bits/sigstack.h
10486         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10487         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10488         * sysdeps/unix/sysv/linux/bits/sigstack.h
10489         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10490         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10491         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10492         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10493         * bits/sigcontext.h
10494         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10495         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10496         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10497         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10498         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10499         as well as signal.h, if this was not already allowed.  Request
10500         definition of size_t if necessary.  Minimize semantically-null
10501         differences across files.
10503 2016-09-23  Zack Weinberg  <zackw@panix.com>
10505         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10506         Remove all logic conditional on __need macros.  Move all the
10507         conditionally defined types to their own headers...
10508         * time/bits/types/clock_t.h: Define clock_t here.
10509         * time/bits/types/clockid_t.h: Define clockid_t here.
10510         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10511         * time/bits/types/struct_timespec.h: Define struct timespec here.
10512         * time/bits/types/struct_timeval.h: Define struct timeval here.
10513         * time/bits/types/struct_tm.h: Define struct tm here.
10514         * time/bits/types/time_t.h: Define time_t here.
10515         * time/bits/types/timer_t.h: Define timer_t here.
10516         * time/Makefile: Install the new headers.
10518         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10519         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10520         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10521         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10522         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10523         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10524         * sysdeps/unix/sysv/linux/bits/resource.h
10525         * sysdeps/unix/sysv/linux/bits/timex.h
10526         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10527         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10528         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10529         * sysdeps/unix/sysv/linux/sys/acct.h
10530         * sysdeps/unix/sysv/linux/sys/timerfd.h
10531         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10532         * time/sys/time.h, time/sys/timeb.h
10533         Use the new bits/types headers.
10535         * include/time.h: Remove __need logic.
10536         * include/bits/time.h
10537         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10538         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10539         * include/bits/types/struct_itimerspec.h
10540         * include/bits/types/struct_timespec.h
10541         * include/bits/types/struct_timeval.h
10542         * include/bits/types/struct_tm.h:
10543         New wrapper headers.
10545 2016-09-23  Zack Weinberg  <zackw@panix.com>
10547         * sysdeps/mach/hurd/net/if_ppp.h
10548         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10549         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10550         if __USE_MISC is defined, to ensure struct ifreq is declared.
10552         * inet/netinet/ether.h: Condition all function prototypes
10553         on __USE_MISC, to ensure struct ether_addr is declared.
10555         * socket/bits/types/struct_osockaddr.h: New header.
10556         * include/bits/types/struct_osockaddr.h: New wrapper.
10557         * socket/Makefile: Install the new header.
10558         * socket/sys/socket.h, inet/protocols/talkd.h:
10559         Refer to bits/types/struct_osockaddr.h for the definition of
10560         struct osockaddr.
10562 2016-09-23  Zack Weinberg  <zackw@panix.com>
10564         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10565         * inet/protocols/routed.h, inet/protocols/talkd.h
10566         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10567         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10568         * sysdeps/generic/netinet/if_ether.h
10569         * sysdeps/generic/netinet/in_systm.h
10570         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10571         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10572         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10573         * sysdeps/mach/hurd/net/if_arp.h
10574         * sysdeps/mach/hurd/net/if_ppp.h
10575         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10576         * sysdeps/unix/sysv/linux/bits/in.h
10577         * sysdeps/unix/sysv/linux/net/ethernet.h
10578         * sysdeps/unix/sysv/linux/net/if_arp.h
10579         * sysdeps/unix/sysv/linux/net/if_ppp.h
10580         * sysdeps/unix/sysv/linux/net/if_shaper.h
10581         * sysdeps/unix/sysv/linux/net/route.h
10582         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10583         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10584         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10585         * sysdeps/unix/sysv/linux/netipx/ipx.h
10586         * sysdeps/unix/sysv/linux/sys/acct.h
10587         * include/arpa/nameser.h, include/resolv.h:
10588         Change all uses of u_char to unsigned char,
10589         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10590         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10591         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10592         and u_int64_t and u_quad_t to uint64_t.
10594         * mach/sys/reboot.h: Remove two casts of integer literals
10595         to the types they already have.
10597         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10598         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10599         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10600         from referring to 'unsigned char' to 'uint8_t' for consistency with
10601         the macro definition below.
10603         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10604         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10605         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10606         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10607         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10608         * sysdeps/unix/sysv/linux/sys/acct.h
10609         * include/arpa/nameser.h, include/resolv.h:
10610         Fix indentation disrupted by mechanical edits.
10612         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10613         * sysdeps/generic/netinet/in_systm.h
10614         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10615         * sysdeps/gnu/netinet/udp.h
10616         * sysdeps/unix/sysv/linux/net/ethernet.h
10617         * sysdeps/unix/sysv/linux/net/if_arp.h
10618         * sysdeps/unix/sysv/linux/net/if_ppp.h
10619         * sysdeps/unix/sysv/linux/net/if_shaper.h
10620         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10621         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10622         * sysdeps/unix/sysv/linux/netipx/ipx.h
10623         * sysdeps/unix/sysv/linux/sys/acct.h
10624         Include stdint.h for uintNN_t definitions.
10625         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10627 2016-09-23  Zack Weinberg  <zackw@panix.com>
10629         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10630         * sysdeps/unix/sysv/linux/netrose/rose.h:
10631         Include sys/socket.h and netax25/ax25.h.
10633         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10634         * resolv/arpa/nameser_compat.h:
10635         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10637         * sysdeps/unix/sysv/linux/sys/quota.h:
10638         Use __caddr_t instead of caddr_t.
10639         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10640         Use __clockid_t instead of clockid_t.
10642         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10644         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10645         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10646         expanding it.
10648         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10649         Define __glibc_c99_flexarr_available to 1 when the compiler
10650         supports C99-compatible flexible array members, 0 otherwise.
10651         * sysdeps/unix/sysv/linux/bits/socket.h
10652         * sysdeps/mach/hurd/bits/socket.h
10653         * bits/socket.h: Use __glibc_c99_flexarr_available in
10654         definitions of struct cmsghdr and CMSG_DATA.
10656 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10658         * manual/nss.texi (NSS Modules Interface): Adjust function return
10659         type to enum nss_status.  Document errnop argument.  Clarify
10660         h_errnop semantics.  Fix cross-reference formatting.
10661         (NSS Module Function Internals): Mention that *errnop needs to be
10662         set on failure, but not to zero.
10664 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10666         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10667         (get_random_name): New functions.
10668         (check_wrapper_flags_mode): Use linkat to give the new file a name
10669         determined by get_random_name.
10670         (do_test): Add calls to test open64 and openat64.
10672 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10674         * test-skeleton.c: Remove #include <stdarg.h>.
10676 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10678         [BZ #19826]
10679         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10680         initialization of static TLS entries.
10681         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10682         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10684 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10686         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10687         _hurd_malloc_fork_prepare.
10688         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10689         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10690         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10691         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10692         (_hurd_fork_child_hook): Drop malloc_fork_child.
10693         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10694         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10695         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10696         after locking locks (notably hurd_dtable_lock). Call
10697         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10698         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10699         __malloc_fork_unlock_child.
10700         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10702 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10704         * soft-fp/extendhftf2.c: New.
10705         * soft-fp/fixhfti.c: Likewise.
10706         * soft-fp/fixunshfti.c: Likewise.
10707         * soft-fp/floattihf.c: Likewise.
10708         * soft-fp/floatuntihf.c: Likewise.
10709         * soft-fp/half.h: Likewise.
10710         * soft-fp/trunctfhf2.c: Likewise.
10712 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10714         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10715         macro.
10716         * math/libm-test.inc (issubnormal_test_data): New array.
10717         (issubnormal_test): New function.
10718         * manual/arith.texi (Floating Point Classes): Document
10719         issubnormal.
10720         * manual/libm-err-tab.pl: Update comment on interfaces without
10721         ulps tabulated.
10723         * sysdeps/generic/stdint.h: Define
10724         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10725         <bits/libc-header-start.h> instead of including <features.h>.
10726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10759         * manual/arith.texi (Integers): Document these macros for types
10760         specified by width properties.
10761         * manual/lang.texi (Width of Type): Document these macros for
10762         other standard typedefs.
10763         * stdlib/tst-width-stdint.c: New file.
10764         * stdlib/Makefile (tests): Add tst-width-stdint.
10766 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10768         [BZ #20016]
10769         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10770         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10771         Move ...
10772         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10773         ... here, as compatibility symbols in a new file.
10774         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10775         * resolv/res_init.c (__res_vinit): Adjust member names.
10776         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10777         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10778         (res_send_rhook): Remove.
10779         (struct __res_state): Rename qhook, rhook members.
10781 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10783         malloc: Use __libc_lock wrappers.
10784         * malloc/arena.c (list_lock, free_list_lock): Define using
10785         __libc_lock_define_initialized.
10786         (arena_lock): Adjust formatting.
10787         * malloc/malloc.c (struct malloc_state): Define mutex using
10788         __libc_lock_define.
10789         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10790         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10791         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10792         (mutex_unlock, mutex_trylock): Remove.
10793         (__pthread_initialize): Remove unused macro.
10794         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10795         (mutex_unlock, mutex_trylock): Remove.
10797 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10799         [BZ #20592]
10800         Remove RR type classification macros.
10801         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10802         (ns_t_udp_p, ns_t_xfr_p): Remove.
10804 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10806         Remove misleading version information.
10807         * resolv/arpa/nameser.h (__NAMESER): Remove.
10808         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10810 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10812         Remove the always-defined BIND_4_COMPAT macro.
10813         * resolv/arpa/nameser.h: Unconditionally include
10814         <arpa/nameser_compat.h>.
10815         (BIND_4_COMPAT): Remove.
10816         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10818 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10820         [BZ #20591]
10821         Remove obsolete DNSSEC support.
10822         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10823         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10824         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10825         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10826         (ns_cert_types): Add comment.
10827         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10828         separately.
10829         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10830         (dst_s_dns_key_id): Remove.
10831         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10832         variables.
10834 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10836         [BZ #20524]
10837         * manual/string.texi (String/Array Comparison): Clarify the
10838         strverscmp behavior.
10840 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10842         * test-skeleton.c (xasprintf): Add function.
10843         * io/tst-open-tmpfile.c: New test.
10844         * io/Makefile (tests): Add it.
10846 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10848         Avoid running $(CXX) during build to obtain header file paths.
10849         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10850         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10851         * Makerules (cstdlib, cmath): Remove variables.  Use
10852         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10853         * configure: Regenerate.
10855 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10857         * Makeconfig (all-object-suffixes): Include .op only if
10858         $(build-profile).
10860 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10862         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10863         conditionals.  Do not define PATH_MAX.
10865 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10867         * posix/Makefile (tests): Add tst-spawn3.
10868         * posix/tst-spawn3.c: New file.
10869         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10870         if it is already opened for open action.
10872         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10873         all signals when executing the clone vfork child.
10874         (SIGALL_SET): Remove macro.
10876         * nptl/Makefile (tests): Add tst-exec5.
10877         * nptl/tst-exec5.c: New file.
10878         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10879         asynchronous cancellation.
10881 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10883         * hurd/exc2signal.c: #include <hurd/signal.h>
10884         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10885         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10886         accordingly.
10887         * mach/mach_error.c (mach_error): Fix old-style function definition.
10888         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10890 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10892         * math/Makefile (libm-calls): Remove s_nanF.
10893         (gen-libm-calls): Add s_nanF.
10895         * math/s_nan.c: Refactor into ...
10896         * math/s_nan_template.c: New file.
10898         * math/s_nanf.c: Removed.
10899         * math/s_nanl.c: Removed.
10900         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10901         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10903         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10904         (LDOUBLE_nanl_libm_version): New macro.
10906         * sysdeps/generic/math-type-macros-double.h:
10907         (M_STRTO_NAN): New macro.
10908         * sysdeps/generic/math-type-macros-float.h: Likewise.
10909         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10911         * sysdeps/generic/math-type-macros.h: Document
10912         M_STRTO_NAN.
10914 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10916         * math/s_nanf.c: Remove __nanf undef.
10917         * math/s_nan.c: Remove __nan undef.
10918         * math/s_nanl.c: Remove __nanl undef.
10920         * sysdeps/generic/math_private.h (__nan): Remove macro
10921         override.
10922         (__nanf): Likewise.
10923         (__nanl): Likewise.
10925 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10927         * math/Makefile (gen-all-calls): New variable.
10928         (generated): Replace gen-libm-calls with gen-all-calls.
10929         (gen-libm-templates.stmp): Likewise.  Also, ensure
10930         the output directory exists or is created and add
10931         dependency on the Makefile.
10932         (calls): Move s_ldexpF into gen-calls.
10933         (gen-calls): New variable.
10935         * math/s_ldexpf.c: Removed.
10936         * math/s_ldexpl.c: Removed.
10937         * math/s_ldexp.c: Refactored into ...
10938         * math/s_ldexp_template.c: New file.
10940         * sysdeps/generic/math-type-macros-double.h: Remove
10941         redundant fall-through definition of declare_mgen_alias.
10942         (declare_mgen_alias_2): New macro.
10944         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10945         New macro for function aliased to two exported symbols.
10947         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10948         new template file.
10949         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10951 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10953         * Makeconfig (all-object-suffixes): Remove .og.
10954         * Makerules (elide-routines.og): Remove.
10955         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10956         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10957         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10959 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10961         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10962         .os objects.
10964 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10966         [BZ #20615]
10967         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10968         fpu directory by non-fpu.
10969         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10970         on non-fpu directory from a fpu directory.
10972 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10974         * include/limits.h: Define
10975         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10976         <bits/libc-header-start.h> instead of including <features.h>.
10977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10988         * manual/lang.texi (Width of Type): Document these macros.
10989         * stdlib/tst-width.c: New file.
10990         * stdlib/Makefile (tests): Add tst-width.
10992 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10994         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10995         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10997 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10999         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11000         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11001         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11003 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11005         [BZ #18243]
11006         * rt/Makefile (test): Add tst-shm-cancel.
11007         * rt/tst-shm-cancel.c: New file.
11008         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11010         [BZ #18243]
11011         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11012         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11013         definition.
11014         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11015         uncontended case.
11016         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11017         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11018         (tf): Fix check for uncontended case.
11019         (do_test): Likewise.
11020         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11021         (tf): Fix check for uncontended case.
11022         (do_test): Likewise.
11023         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11024         (tf): Fix check for uncontended case.
11025         (do_test): Likewise.
11026         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11027         (tf): Fix check for uncontended case.
11028         (do_test): Likewise.
11030         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11031         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11033         [BZ #15765]
11034         * nptl/Makefile (tests): Add tst-sem16.
11035         * nptl/tst-sem16.c: New file.
11036         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11038         * nptl/sem_open.c (sem_open): Init pad value to 0.
11039         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11040         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11042 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11044         [BZ #20611]
11045         * inet/Makefile (routines): Add inet6_scopeid_pton.
11046         (tests): Add tst-inet6_scopeid_pton.
11047         * inet/inet6_scopeid_pton.c: New file.
11048         * inet/net-internal.h: Likewise.
11049         * inet/tst-inet6_scopeid_pton.c: New test.
11050         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11051         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11054 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11056         Remove support for compiling wrappers with PTW.
11057         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11058         * nptl/Makefile (pthread-compat-wrappers): Define.
11059         (libpthread-routines): Use pthread-compat-wrappers.
11060         * sysdeps/unix/sysv/linux/alpha/Makefile
11061         (libpthread-routines, libpthread-shared-only-routines): Remove
11062         ptw- prefix.
11063         * sysdeps/s390/nptl/Makefile
11064         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11065         * sysdeps/ia64/nptl/Makefile
11066         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11067         * sysdeps/nacl/Makefile (libpthread-routines): Use
11068         pthread-compat-wrappers to filter the routines list instead of the
11069         ptw- prefix.
11071 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11073         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11074         with L() and remove explicit suffix, convert real literals
11075         which can be equivalentally substituted with integers, and
11076         transform -L(x) to L(-x).
11078         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11080         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11081         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11082         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11083         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11084         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11085         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11086         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11088         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11089         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11091         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11092         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11093         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11094         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11095         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11096         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11097         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11098         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11099         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11100         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11101         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11102         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11103         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11104         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11105         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11106         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11107         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11108         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11109         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11110         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11111         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11112         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11113         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11115         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11116         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11117         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11118         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11119         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11120         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11121         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11122         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11123         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11124         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11125         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11126         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11127         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11129 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11131         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11133 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11135         * malloc/Makefile (tests): Remove individual static test names
11136         and just add all of tests-static.
11138         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11140 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11142         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11143         file.
11145         * sysdeps/sparc/fpu/fegetmode.c: New file.
11146         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11148         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11149         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11151         * sysdeps/s390/fpu/fegetmode.c: New file.
11152         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11154         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11155         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11156         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11157         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11159         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11161         * sysdeps/mips/fpu/fegetmode.c: New file.
11162         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11164         * sysdeps/m68k/fpu/fegetmode.c: New file.
11165         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11167         * sysdeps/ia64/fpu/fegetmode.c: New file.
11168         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11170         * sysdeps/hppa/fpu/fegetmode.c: New file.
11171         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11173         * sysdeps/arm/fegetmode.c: New file.
11174         * sysdeps/arm/fesetmode.c: Likewise.
11176         * sysdeps/alpha/fpu/fegetmode.c: New file.
11177         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11179         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11180         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11182         * math/fegetmode.c: New file.
11183         * math/fesetmode.c: Likewise.
11184         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11185         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11186         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11187         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11188         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11190         declaration.
11191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11192         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11193         typedef.
11194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11195         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11196         (femode_t): New typedef.
11197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11198         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11199         (femode_t): New typedef.
11200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11201         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11202         (femode_t): New typedef.
11203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11204         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11205         (femode_t): New typedef.
11206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11207         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11208         (femode_t): New typedef.
11209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11210         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11211         (femode_t): New typedef.
11212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11213         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11214         (femode_t): New typedef.
11215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11216         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11217         (femode_t): New typedef.
11218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11219         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11220         (femode_t): New typedef.
11221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11222         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11223         (femode_t): New typedef.
11224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11225         declaration.
11226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11227         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11228         (femode_t): New typedef.
11229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11230         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11231         (femode_t): New typedef.
11232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11233         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11234         (femode_t): New typedef.
11235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11236         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11237         (femode_t): New typedef.
11238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11239         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11240         (femode_t): New typedef.
11241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11242         * manual/arith.texi (FE_DFL_MODE): Document macro.
11243         (fegetmode): Document function.
11244         (fesetmode): Likewise.
11245         * math/Versions (fegetmode): New libm symbol at version
11246         GLIBC_2.25.
11247         (fesetmode): Likewise.
11248         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11249         (tests): Add test-femode and test-femode-traps.
11250         * math/test-femode-traps.c: New file.
11251         * math/test-femode.c: Likewise.
11252         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11253         alias for __fe_dfl_env.
11254         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11255         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11256         (__fe_dfl_mode): Likewise.
11257         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11258         version GLIBC_2.25.
11259         * sysdeps/nacl/libm.abilist: Update.
11260         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11261         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11262         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11264         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11265         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11266         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11267         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11268         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11279         Likewise.
11280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11281         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11282         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11286         Likewise.
11287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11288         Likewise.
11289         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11293 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11295         [BZ #20495]
11296         [BZ #20508]
11297         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11298         processors, set Use_dl_runtime_resolve_slow and set
11299         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11300         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11301         New.
11302         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11303         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11304         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11305         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11306         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11307         if Use_dl_runtime_resolve_opt is set.  Use
11308         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11309         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11310         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11311         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11312         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11313         New.
11314         (_dl_runtime_resolve_opt): Likewise.
11315         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11316         defined.
11318 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11320         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11321         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11323 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11325         Convert malloc to __libc_lock.  Automated part, using this Perl
11326         s/// command:
11327           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11328             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11329         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11330         conversion.
11332 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11334         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11335         (linknamespace-symlists-tests): Likewise.
11336         (linknamespace-header-tests): Likewise.
11338 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11340         [BZ #19810]
11341         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11342         * elf/tst-noload.c: New test case.
11343         * elf/Makefile (tests): Add tst-noload.
11345 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11347         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11349         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11350         not any more.
11352         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11354 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11356         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11357         (do_cos_slow): Likewise.
11358         (do_sin): Likewise.
11359         (do_sin_slow): Likewise.
11360         (slow): Likewise.
11361         (slow1): Likewise.
11362         (slow2): Likewise.
11363         (sloww): Likewise.
11364         (sloww1): Likewise.
11365         (sloww2): Likewise.
11366         (bsloww): Likewise.
11367         (bsloww1): Likewise.
11368         (bsloww2): Likewise.
11369         (cslow2): Likewise.
11371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11373         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11374         arguments.  Consolidate input partitioning from callers here.
11375         (do_cos_slow): Likewise.
11376         (do_sin): Likewise.
11377         (do_sin_slow): Likewise.
11378         (do_sincos_1): Remove the no longer necessary input partitioning.
11379         (do_sincos_2): Likewise.
11380         (__sin): Likewise.
11381         (__cos): Likewise.
11382         (slow1): Likewise.
11383         (slow2): Likewise.
11384         (sloww1): Likewise.
11385         (sloww2): Likewise.
11386         (bsloww1): Likewise.
11387         (bsloww2): Likewise.
11388         (cslow2): Likewise.
11390 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11392         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11393         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11394         outside of allocated array.
11396 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11398         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11399         instead of MB_CUR_MAX to avoid variable-length array.
11401 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11403         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11404         (type-double-routines): Add k_rem_pio2.
11405         (type-float-routines): Add k_rem_pio2f.
11407         * sysdeps/generic/math_private.h:
11408         (__kernel_rem_pio2l): Removed.
11410         * math/k_rem_pio2l.c: Removed.
11411         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11412         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11413         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11414         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11416 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11418         * math/Makefile (gen-libm-calls): Add s_fmin
11419         (libm-calls): Remove above.
11421         * math/s_fmin.c: Refactor into ...
11422         * math/s_fmin_template.c: New file.
11424         * math/s_fminf.c: Removed.
11425         * math/s_fminl.c: Removed.
11426         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11427         (LDOUBLE_fmin_libm_version): New macro.
11429         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11430         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11432 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11434         * math/Makefile: (gen-libm-calls): Add s_fmax.
11435         (libm-calls): Remove above.
11437         * math/s_fmax.c: Refactor into ...
11438         * math/s_fmax_template.c: New file.
11439         * math/s_fmaxf.c: Removed.
11440         * math/s_fmaxl.c: Removed.
11442         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11443         (LDOUBLE_fmaxl_libm_version): New macro.
11445         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11446         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11448         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11449         s_fmin.c to pick the aarch64 version of the file.
11450         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11451         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11453 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11455         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11456         (libm-calls): Remove above.
11458         * math/s_nextdown.c: Refactor into ...
11459         * math/s_nextdown_template.c: New file.
11460         * math/s_nextdownf.c: Removed.
11461         * math/s_nextdownl.c: Removed.
11463         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11465 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11467         * math/Makefile (gen-libm-calls): Add s_fdim.
11468         (libm-calls): Move to above.
11470         * math/s_fdim.c: Renamed and refactored into to ...
11471         * math/s_fdim_template.c: New file.
11472         * math/s_fdiml.c: Removed.
11473         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11474         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11476         * sysdeps/generic/math-type-macros-double.h:
11477         (declare_mgen_alias): Don't declare if already declared.
11478         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11479         Likewise.
11481         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11482         (declare_mgen_alias): Don't declare if already declared.
11483         (M_LIBM_NEED_COMPAT): Likewise.
11484         (declare_mgen_libm_compat): Likewise.
11485         (LDOUBLE_fdiml_libm_version): New macro.
11487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11488         Include math/s_fdim.c now that ldbl-opt version is not needed.
11489         (declare_mgen_alias): New macro to disable aliasing.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11492         (declare_mgen_alias): Likewise.
11493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11494         (declare_mgen_alias): Likewise.
11495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11496         (declare_mgen_alias): Likewise.
11497         (M_LIBM_NEED_COMPAT): Likewise.
11499 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11501         [BZ #20525]
11502         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11503         Include <linux/quota.h>.
11504         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11505         and btodb.
11506         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11507         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11508         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11509         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11510         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11511         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11512         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11513         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11514         types.
11515         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11516         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11518 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11521         (gammal_positive): Fix spacing.
11522         (__ieee754_gammal_r): Likewise.
11524 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11526         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11527         (_Float128): Define as long double, always.
11528         (L): Apply long double type suffix, always.
11530         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11531         _Float128, excepting comments.
11533         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11571         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11577         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11581         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11584         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11599         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11600         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11602         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11603         _Float128, and include math_private.h.
11604         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11606         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11607         long double semantics.
11608         (_Float128): Likewise.
11609         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11610         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11611         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11612         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11614 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11616         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11617         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11618         * sysdeps/s390/configure: Regenerated.
11619         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11620         instruction for raising over-/underflow if z196 zarch is supported
11621         by default.
11622         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11624 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11626         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11627         it point to a dumb buffer for RPC to fill it.
11629 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11631         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11632         instead of if/else.
11633         (do_sin_slow): Likewise.
11634         (do_sincos_1): Use fabs instead of if/else.
11635         (do_sincos_2): Likewise.
11636         (__sin): Likewise.
11637         (__cos): Likewise.
11638         (slow2): Likewise.
11639         (sloww): Likewise.
11640         (sloww1): Likewise.  Drop argument M.
11641         (sloww2): Use fabs instead of if/else.
11642         (bsloww): Likewise.
11643         (bsloww1): Likewise.
11644         (bsloww2): Likewise.
11646         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11647         fall through comment.
11648         (do_sincos_1): Likewise.
11650         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11651         Consolidate switch cases 0 and 2.
11653 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11655         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11656         (libm-calls): Remove the above.
11658         * math/s_cexp_template.c: Update using type-generic macros.
11659         * math/s_clog10_template.c: Likewise.
11660         * math/s_cpow_template.c: Likewise.
11661         * math/s_clog_template.c: Likewise.
11662         * math/s_cproj_template.c: Likewise.
11663         * math/s_csqrt_template.c: Likewise.
11665         * math/s_cexp.c: Removed.
11666         * math/s_cexpf.c: Removed.
11667         * math/s_cexpl.c: Removed.
11668         * math/s_clog10.c: Removed.
11669         * math/s_clog10f.c: Removed.
11670         * math/s_clog10l.c: Removed.
11671         * math/s_cpow.c: Removed.
11672         * math/s_cpowf.c: Removed.
11673         * math/s_cpowl.c: Removed.
11674         * math/s_clog.c: Removed.
11675         * math/s_clogf.c: Removed.
11676         * math/s_clogl.c: Removed.
11677         * math/s_cproj.c: Removed.
11678         * math/s_cprojf.c: Removed.
11679         * math/s_cprojl.c: Removed.
11680         * math/s_csqrt.c: Removed.
11681         * math/s_csqrtf.c: Removed.
11682         * math/s_csqrtl.c: Removed.
11684         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11685         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11686         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11687         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11688         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11689         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11691         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11692         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11693         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11694         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11695         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11696         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11697         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11698         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11699         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11700         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11701         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11703         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11704         version.
11706         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11707         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11708         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11709         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11711 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11713         * s_cexp_template.c: Copy of s_cexp.c.
11714         * s_clog_template.c: Copy of s_clog.c.
11715         * s_clog10_template.c: Copy of s_clog10.c.
11716         * s_cpow_template.c: Copy of s_cpow.c.
11717         * s_cproj_template.c: Copy of s_cproj.c.
11718         * s_csqrt_template.c: Copy of s_csqrt.c.
11720 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11722         [BZ #20517]
11723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11724         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11725         exported.
11727 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11729         * math/fetestexceptflag.c: New file.
11730         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11731         Stefan Liebler.
11732         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11733         (fetestexceptflag): New function declaration.
11734         * manual/arith.texi (fetestexceptflag): Document function.
11735         * math/Versions (fetestexceptflag): New libm symbol at version
11736         GLIBC_2.25.
11737         * math/Makefile (libm-support): Add fetestexceptflag.
11738         (tests): Add test-fetestexceptflag.
11739         * math/test-fetestexceptflag.c: New file.
11740         * sysdeps/nacl/libm.abilist: Update.
11741         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11742         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11743         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11744         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11745         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11746         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11747         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11748         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11749         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11750         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11751         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11752         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11754         Likewise.
11755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11756         Likewise.
11757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11758         Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11760         Likewise.
11761         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11762         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11763         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11764         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11765         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11769         Likewise.
11770         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11771         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11772         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11774 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11776         [BZ #20432]
11777         Avoid strong references to malloc-internal symbols when linking
11778         statically, to support statically interposed mallocs.
11779         * include/libc-symbols.h (call_function_static_weak): New macro.
11780         * malloc/Makefile (tests): Add tst-interpose-nothread,
11781         tst-interpose-thread, tst-interpose-static-nothread,
11782         tst-interpose-static-thread.
11783         (tests-static): Add tst-interpose-static-nothread,
11784         tst-interpose-static-thread.
11785         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11786         tst-interpose-aux-thread.o.
11787         (test-extras): Add tst-interpose-aux-nothread,
11788         tst-interpose-aux-thread.
11789         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11790         tst-interpose-aux-nothread.o.
11791         (tst-interpose-thread, tst-interpose-static-thread): Link with
11792         tst-interpose-aux-thread.o and libthread.
11793         * malloc/tst-interpose-aux-nothread.c: New file.
11794         * malloc/tst-interpose-aux-thread.c: Likewise.
11795         * malloc/tst-interpose-aux.c: Likewise.
11796         * malloc/tst-interpose-aux.h: Likewise.
11797         * malloc/tst-interpose-nothread.c: Likewise.
11798         * malloc/tst-interpose-skeleton.c: Likewise.
11799         * malloc/tst-interpose-static-nothread.c: Likewise.
11800         * malloc/tst-interpose-static-thread.c: Likewise.
11801         * malloc/tst-interpose-thread.c: Likewise.
11802         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11803         * sysdeps/mach/hurd/fork.c (__fork): Only call
11804         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11805         __malloc_fork_unlock_child if defined.
11806         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11808 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11810         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11811         timespec C99 designated initialization.
11813 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11815         [BZ #19946]
11816         Avoid expected SIGALRM signals.
11817         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11818         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11819         (xpthread_create, xpthread_detach, xpthread_join)
11820         (delayed_exit_thread, delayed_exit): New functions.
11821         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11822         (tf): Use xpthread_cond_wait.
11823         (do_test): Likewise.  Replace alarm with delayed_exit.
11824         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11825         (do_test): Call delayed_exit.  Report failure.
11826         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11827         (do_test): Call delayed_exit.
11828         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11829         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11830         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11831         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11832         error.
11833         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11834         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11835         error.
11836         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11837         (do_test): Call delayed_exit.
11838         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11839         (do_test): Call delayed_exit.
11840         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11841         (do_test): Call delayed_exit instead of alarm.  Use
11842         xpthread_mutex_lock.
11843         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11844         (do_test): Call delayed_exit instead of alarm.  Use
11845         xpthread_mutex_lock.
11846         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11847         (do_test): Call delayed_exit instead of alarm.
11848         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11849         (do_test): Call delayed_exit instead of alarm.  Use
11850         xpthread_spin_lock.
11851         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11852         (do_test): Call delayed_exit instead of alarm.  Use
11853         xpthread_join.
11855 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11857         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11858         adjust CFA when allocating register save area on re-aligned
11859         stack.
11861 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11863         * string/tst-cmp.c: New test.
11864         * string/Makefile (tests): Add it.
11866 2016-08-25  Mark Wielaard  <mark@klomp.org>
11868         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11869         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11870         (check_tree_recurse): Use newly defined accessors.
11871         (check_tree): Likewise.
11872         (maybe_split_for_insert): Likewise.
11873         (__tfind): Likewise.
11874         (__tdelete): Likewise.
11875         (trecurse): Likewise.
11876         (tdestroy_recurse): Likewise.
11877         (__tsearch): Likewise. And add asserts for malloc alignment.
11878         (__twalk): Cast root to node in case CHECK_TREE is defined.
11880 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11882         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11884 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11886         * math/Makefile (libm-gen-calls): Add
11887         catan, catanh, ctan, ctanh.
11888         (libm-calls): Remove the above.
11890         * math/s_catan_template.c: Update using type-generic macros.
11891         * math/s_catanh_template.c: Likewise.
11892         * math/s_ctan_template.c: Likewise.
11893         * math/s_ctanh_template.c: Likewise.
11895         * math/s_catanf.c: Removed.
11896         * math/s_catan.c: Removed.
11897         * math/s_catanl.c: Removed.
11898         * math/s_catanhf.c: Removed.
11899         * math/s_catanh.c: Removed.
11900         * math/s_catanhl.c: Removed.
11901         * math/s_ctanf.c: Removed.
11902         * math/s_ctan.c: Removed.
11903         * math/s_ctanl.c: Removed.
11904         * math/s_ctanhf.c: Removed.
11905         * math/s_ctanh.c: Removed.
11906         * math/s_ctanhl.c: Removed.
11908         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11909         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11910         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11911         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11912         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11913         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11915         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11916         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11917         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11918         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11920 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11922         * s_catan_template.c: Copy of s_catan.c.
11923         * s_catanh_template.c: Copy of s_catanh.c.
11924         * s_ctan_template.c: Copy of s_ctan.c.
11925         * s_ctanh_template.c: Copy of s_ctanh.c.
11927 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11929         * math/Makefile (gen-libm-calls): Move
11930         casin, casinh, csin, csinh here.
11931         (libm-calls): Remove the above.
11933         * math/s_casin_template.c: Update using type-generic macros.
11934         * math/s_casinh_template.c: Likewise.
11935         * math/s_csin_template.c: Likewise.
11936         * math/s_csinh_template.c: Likewise.
11937         * math/k_casinh_template.c: Likewise.
11939         * math/s_casinf.c: Removed.
11940         * math/s_casin.c: Removed.
11941         * math/s_casinl.c: Removed.
11942         * math/s_casinh.c: Removed.
11943         * math/s_casinhf.c: Removed.
11944         * math/s_casinhl.c: Removed.
11945         * math/s_csin.c: Removed.
11946         * math/s_csinf.c: Removed.
11947         * math/s_csinl.c: Removed.
11948         * math/s_csinh.c: Removed.
11949         * math/s_csinhf.c: Removed.
11950         * math/s_csinhl.c: Removed.
11951         * math/k_casinh.c: Removed.
11952         * math/k_casinhf.c: Removed.
11953         * math/k_casinhl.c: Removed.
11955         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11956         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11957         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11958         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11960         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11961         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11962         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11963         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11964         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11965         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11966         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11967         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11969         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11970         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11971         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11972         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11974         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11975         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11976         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11977         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11979 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11981         * s_casin_template.c: Copy of s_casin.c.
11982         * s_casinh_template.c: Copy of s_casinh.c.
11983         * s_csin_template.c: Copy of s_csin.c.
11984         * s_csinh_template.c: Copy of s_csinh.c.
11985         * k_casinh_template.c: Copy of k_casinh.c.
11987 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11989         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11991 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11993         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11994         (mul_split) Remove, rename as mul_splitl, remove
11995         redundant float.h include, and include via mul_splitl.h
11997         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11998         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11999         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12000         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12001         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12003         * math/mul_splitl.h: New file.
12005         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12006         Move into mul_split.h, and remove redundant float.h include.
12008         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12009         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12010         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12011         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12013         * math/mul_split.h: New file.
12015 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12017         * math/Makefile (libm-gen-calls): Move
12018         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12019         (libm-calls): Remove above.
12021         * math/s_cacos_template.c: Update using type-generic macros.
12022         * math/s_cacosh_template.c: Likewise.
12023         * math/s_ccos_template.c: Likewise.
12024         * math/s_ccosh_template.c: Likewise.
12026         * math/s_cacosf.c: Removed.
12027         * math/s_cacos.c: Removed.
12028         * math/s_cacosl.c: Removed.
12029         * math/s_cacoshf.c: Removed.
12030         * math/s_cacosh.c: Removed.
12031         * math/s_cacoshl.c: Removed.
12032         * math/s_ccosf.c: Removed.
12033         * math/s_ccos.c: Removed.
12034         * math/s_ccosl.c: Removed.
12035         * math/s_ccoshf.c: Removed.
12036         * math/s_ccosh.c: Removed.
12037         * math/s_ccoshl.c: Removed.
12039         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12040         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12041         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12042         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12043         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12044         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12046         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12047         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12048         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12049         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12051         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12052         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12053         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12054         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12056 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12058         * s_cacos_template.c: Copy of s_cacos.c.
12059         * s_cacosh_template.c: Copy of s_cacosh.c.
12060         * s_ccos_template.c: Copy of s_ccos.c.
12061         * s_ccosh_template.c: Copy of s_ccosh.c.
12063 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12065         * stdlib/tst-strtod-round-skeleton.c:
12066         Refactored from tst-strtod-round.c.
12068         (L_): New macro to apply literal modifier.
12069         (FNPFX): New macro to select str or wcs prefix.
12070         (CHAR): New macro to choose wchar_t or char.
12071         (STRM): New macro to choose printf for tested character type.
12073         (STRTO): New macro to choose appropriate string -> real function.
12074         (FNPFXS): Stringitized version of FNPFX.
12075         (STR): Support for above macro.
12076         (STRX): Likewise.
12078         (TEST): Update with above macros.
12079         (test): Likewise.
12080         (GEN_ONE_TEST): Likewise.
12081         (test_in_one_mode): Likewise.
12083         * stdlib/tst-strtod-round.c: New file.
12084         * wcsmbs/tst-wcstod-round.c: New file.
12086         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12087         (tst-wcstod-round): Add libm depencency for fesetround.
12089 2016-08-19  Zack Weinberg  <zackw@panix.com>
12091         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12093 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12095         [BZ #20477]
12096         * resolv/res_hconf.c (do_init): Use atomic access.
12097         * resolv/res_hconf.h: Add comments.
12098         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12099         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12102 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12105         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12107         Likewise.
12109 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12111         [BZ #16907]
12112         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12113         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12114         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12115         (__attribute__): Remove definition.
12117 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12119         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12120         Remove unused sqrtl declaration.
12122 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12124         * math/Makefile: (gen-libm-templates.stmp): New rule.
12125         (libm-calls): Move carg conj cimag and cabs into ...
12126         (gen-libm-calls): New variable.
12127         (generated): Inform Make objects from gen-libm-calls
12128         may be generated.
12130         * sysdeps/generic/math-type-macros.h: New file.
12131         * sysdeps/generic/math-type-macros-float.h: Likewise.
12132         * sysdeps/generic/math-type-macros-double.h: Likewise.
12133         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12134         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12135         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12137         * math/cabs.c: Refactor into
12138         * math/cabs_template.c: new file.
12139         * math/cabsf.c: Removed.
12140         * math/cabsl.c: Removed.
12141         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12142         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12144         * math/carg.c: Refactor into
12145         * math/carg_template.c: new file.
12146         * math/cargf.c: Removed.
12147         * math/cargl.c: Removed.
12148         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12149         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12151         * math/conj.c: Refactor into
12152         * math/conj_template.c: new file.
12153         * math/conjf.c: Removed.
12154         * math/conjl.c: Removed.
12155         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12156         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12158         * math/cimag.c: Refactor into
12159         * math/cimag_template.c: new file.
12160         * math/cimagf.c: Removed.
12161         * math/cimagl.c: Removed.
12162         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12163         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12165         * math/cimag.c: Refactor into
12166         * math/cimag_template.c: new file.
12167         * math/cimagf.c: Removed.
12168         * math/cimagl.c: Removed.
12169         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12170         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12172 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12174         Reduce time to expected nptl/tst-once5 failure.
12175         * nptl/tst-once5.cc (TIMEOUT): Define.
12177 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12179         [BZ #20452]
12180         Avoid additional copies of objects in libc.a in static libraries.
12181         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12182         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12183         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12184         rt-sysdep.
12185         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12186         Add nptl-sysdep.
12187         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12188         Add ptw-sysdep.
12189         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12190         rt-sysdep.
12191         * sysdeps/unix/sysv/linux/alpha/Makefile
12192         (libpthread-shared-only-routines): Add ptw-sysdep,
12193         ptw-sigprocmask, ptw-rt_sigaction.
12194         * sysdeps/unix/sysv/linux/ia64/Makefile
12195         (librt-shared-only-routines): Add rt-sysdep.
12196         * sysdeps/unix/sysv/linux/i386/Makefile
12197         (libpthread-shared-only-routines): Add libc-do-syscall.
12198         * sysdeps/unix/sysv/linux/microblaze/Makefile
12199         (libpthread-shared-only-routines): Add sysdep.
12200         * sysdeps/unix/sysv/linux/powerpc/Makefile
12201         (librt-shared-only-routines): Add rt-sysdep.
12202         (libpthread-shared-only-routines): Add sysdep.
12203         * sysdeps/unix/sysv/linux/s390/Makefile
12204         (librt-shared-only-routines): Add rt-sysdep.
12205         * sysdeps/unix/sysv/linux/sparc/Makefile
12206         (librt-shared-only-routines): Add rt-sysdep.
12207         (libpthread-shared-only-routines): Add sysdep.
12208         * sysdeps/unix/sysv/linux/tile/Makefile
12209         (libpthread-shared-only-routines): Likewise.
12211 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12213         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12214         Mask implicit bit out of unpacked value.
12215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12219         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12221         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12223         * sysdeps/s390/fpu/fesetexcept.c: New file.
12225         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12226         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12227         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12229         * sysdeps/mips/fpu/fesetexcept.c: New file.
12231         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12233         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12235         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12237         * sysdeps/arm/fesetexcept.c: New file.
12239         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12241         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12243         * math/fesetexcept.c: New file.
12244         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12245         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12246         * math/fenv.h: Define
12247         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12248         <bits/libc-header-start.h> instead of including <features.h>.
12249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12250         declaration.
12251         * manual/arith.texi (fesetexcept): Document function.
12252         * math/Versions (fesetexcept): New libm symbol at version
12253         GLIBC_2.25.
12254         * math/Makefile (libm-support): Add fesetexcept.
12255         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12256         * math/test-fesetexcept.c: New file.
12257         * math/test-fesetexcept-traps.c: Likewise.
12258         * sysdeps/nacl/libm.abilist: Update.
12259         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12260         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12261         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12262         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12267         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12268         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12274         Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12276         Likewise.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12278         Likewise.
12279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12285         Likewise.
12286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12287         Likewise.
12288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12289         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12292 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12294         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12295         New.
12296         (do_test): Apply default_stack_size_in_mb if not set.
12297         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12299 2016-08-15  Andreas Schwab  <schwab@suse.de>
12301         [BZ #20435]
12302         CVE-2016-6323
12303         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12304         as .cantunwind.
12306 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12308         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12309         comment from fraiseexcpt.c.
12311         * math/test-fexcept.c (feraiseexcept_exact): New function.
12312         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12313         (test_except): Likewise.
12315 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12317         [BZ #20455]
12318         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12319         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12320         to be restored.
12322         * math/test-fexcept-traps.c: New file.
12323         * math/test-fexcept.c: Likewise.
12324         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12325         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12326         macro.
12327         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12328         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12330 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12332         * include/atomic.h (atomic_fetch_and_relaxed,
12333         atomic_fetch_and_release, atomic_fetch_or_release,
12334         atomic_fetch_xor_release): New.
12336 2016-08-06  Christian Seiler  <christian@iwakd.de>
12338         [BZ #20444]
12339         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12340         MACH_PORT_NULL.
12342 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12344         * math/s_fdim.c: Avoid alias renamed.
12345         * math/s_fdimf.c: Likewise.
12346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12347         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12348         Add s_fdimf-vis3, s_fdim-vis3.
12349         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12350         (CFLAGS-s_fdim-vis3.c): Likewise.
12351         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12352         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12354 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12357         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12358         Remove s_fdimf-vis3, s_fdim-vis3.
12359         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12360         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12367         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12368         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12370 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12372         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12373         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12374         -Wa,-Av9a -mvis.
12376 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12378         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12379         LIT() to individual constants in simple expressions
12380         after splitting on spaces.
12381         (_apply_lit): Rename replaced version, and use it to
12382         apply to what appears to be a token.
12384         * math/libm-test.inc: Fix many, many issues with
12385         spacing.
12387 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12389         * math/math.h: Move comment about <bits/mathdef.h> definitions
12390         above inclusion of <bits/mathdef.h>.  Do not mention
12391         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12393 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12395         * include/atomic.h (atomic_exchange_relaxed): New.
12397 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12399         * math/e_scalb.c: Do not include <fenv.h>.
12400         (invalid_fn): Do calculation resulting in NaN instead of raising
12401         FE_INVALID and returning a NaN explicitly.
12402         * math/e_scalbf.c: Do not include <fenv.h>.
12403         (invalid_fn): Do calculation resulting in NaN instead of raising
12404         FE_INVALID and returning a NaN explicitly.
12405         * math/e_scalbl.c: Do not include <fenv.h>.
12406         (invalid_fn): Do calculation resulting in NaN instead of raising
12407         FE_INVALID and returning a NaN explicitly.
12409 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12411         * po/de.po: Updated from Translation Project.
12412         * po/fi.po: Likewise.
12413         * po/sv.po: Likewise.
12415 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12417         [BZ #20452]
12418         Use sysdep.o from libc.a in static libraries.
12419         * sysdeps/unix/sysv/linux/i386/Makefile
12420         (libpthread-shared-only-routines): Add sysdep.
12421         (librt-shared-only-routines): Likewise.
12423 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12425         * math/tgmath.h (nextdown): Define if
12426         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12427         (nextup): Likewise.
12429         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12430         macro.
12431         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12432         Document.
12433         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12434         Document macro.
12435         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12436         (exp10f): Likewise.
12437         (exp10l): Likewise.
12438         * math/bits/mathcalls.h (exp10): Declare if
12439         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12441         * manual/arith.texi (nextup): Fix typo in last change.
12443 2016-08-03  Zack Weinberg  <zackw@panix.com>
12445         [BZ #19239]
12446         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12447         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12448         define major, minor, and makedev to issue deprecation warnings on use.
12449         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12450         previously-activated deprecation warnings for these macros and prevent
12451         subsequent inclusions of this header from having any effect.
12452         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12453         including <sys/sysmacros.h>, and undefine it again afterward.
12455 2016-08-03  Zack Weinberg  <zackw@panix.com>
12457         * sysdeps/generic/sys/sysmacros.h: Delete file.
12458         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12459         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12460         * bits/sysmacros.h: ... here; this encoding is now the generic
12461         encoding.  Now defines only the following macros:
12462         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12463         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12464         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12466         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12467         bits/sysmacros.h and the above new macros to generate the
12468         public implementations of major, minor, and makedev.
12469         * misc/tst-makedev.c: New test.
12470         * include/sys/sysmacros.h: New wrapper.
12472         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12473         (routines): Add makedev.
12474         (tests): Add tst-makedev.
12475         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12476         gnu_dev_makedev.
12477         * posix/Makefile (headers): Remove sys/sysmacros.h.
12478         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12480         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12481         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12482         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12483         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12484         * sysdeps/unix/sysv/linux/arm/libc.abilist
12485         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12486         * sysdeps/unix/sysv/linux/i386/libc.abilist
12487         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12488         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12492         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12494         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12495         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12500         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12501         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12502         * sysdeps/unix/sysv/linux/sh/libc.abilist
12503         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12504         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12507         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12508         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12509         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12510         Add GLIBC_2.25.
12512         * include/features.h (__glibc_clang_prereq): New macro.
12513         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12514         (__attribute_deprecated_msg__): New macros.
12516 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12518         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12519         macro.
12520         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12521         * manual/arith.texi (issignaling): Document as ISO from TS
12522         18661-1:2014.
12523         (nextup): Likewise.
12524         (nextupf): Likewise.
12525         (nextupl): Likewise.
12526         (nextdown): Likewise.
12527         (nextdownf): Likewise.
12528         (nextdownl): Likewise.
12529         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12530         macro.
12531         * math/math.h: Define
12532         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12533         <bits/libc-header-start.h> instead of including <features.h>.
12534         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12535         [__USE_GNU].
12536         * math/bits/mathcalls.h (nextdown): Declare if
12537         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12538         (nextup): Likewise.
12539         (__issignaling): Likewise.
12541 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12543         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12544         check, and remove __glibc_likely hint
12545         from FP_INFINITE check.
12546         * s_csinhf.c (__csinhf): Likewise.
12548         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12549         hint from FP_INFINITE check.
12550         * s_csinhl.c (__csinhl): Likewise.
12552 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12554         * math/Makefile (libm-calls): Insert F placeholder into
12555         object names.  Move w_lgamma_compat* routines into
12556         (libm-compat-calls): New variable.
12557         (libm-compat-calls-ldouble-yes): New variable.
12558         (calls): Insert F placeholder.
12559         (generated): Redefine using new type-foreach macro call.
12560         (routines): Likewise.
12562         (types): New variable to hold a list of symbolic names
12563         for each type supported by the target machine.
12564         (libm-routines): Redefine using new types variable.
12565         (type-foreach): macro to replace fooF with the
12566         appropriately suffixed foo for each types.
12568         (type-ldouble-suffix): New variable.
12569         (type-ldouble-routines): Likewise.
12570         (type-ldouble-yes): Likewise.
12571         (type-double-suffix): Likewise.
12572         (type-double-routines): Likewise.
12573         (type-float-suffix): Likewise.
12574         (type-float-routines): Likewise.
12576         (dbl-only-routines): Remove.
12577         (long-c-yes): Likewise.
12578         (long-m-routines): Likewise.
12579         (long-m-support): Likewise.
12580         (long-m-yes): Likewise.
12581         (test-longdouble-yes): Likewise.
12583         (test-float.o): Simplify by increasing the scope of the
12584         recipe which adds libm-test.stmp to the vector types.
12585         (test-ifloat.o): Likewise.
12586         (test-float-finite.o): Likewise.
12587         (test-double.o): Likewise
12588         (test-idouble.o): Likewise.
12589         (test-double-finite.o): Likewise.
12590         (test-ldouble.o): Likewise
12591         (test-ildoubl.o): Likewise.
12592         (test-ldouble-finite.o): Likewise.
12594         (libm-tests): Redefine type tests using foreach and the
12595         list of types in types.
12597         (CPPFLAGS-test-ildoubl.c): Rename to
12598         (CPPFLAGS-test-ildouble.c): New variable
12600         * math/test-ildoubl.c: Rename to
12601         * math/test-ildouble.c: New file.
12603 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12605         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12606         Use fabsl instead of fabs.
12607         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12608         Likewise.
12609         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12610         Add long double suffix to constant to ensure proper
12611         promotion to long double.
12613 2016-08-03  Tom Tromey  <tom@tromey.com>
12615         [BZ #20311]
12616         * nptl_db/Makefile (headers): Add proc_service.h.
12617         * nptl_db/proc_service.h: Add include guard.  Use
12618         __BEGIN/__END_DECLS.
12619         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12620         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12621         arguments.
12624 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12626         [BZ #17730]
12627         Avoid using memalign for TCB allocations.
12628         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12629         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12630         Avoid alignment gap in the TLS_DTV_AT_TP case.
12631         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12632         determine the pointer to free.
12633         * nptl/tst-tls3-malloc.c: New test.
12634         * nptl/Makefile (tests): Add it.
12635         (tst-tls3-malloc): Link with libdl, libpthread.
12636         (LDFLAGS-tst-tls3-malloc): Set.
12637         (tst-tls3-malloc.out): Depend on DSO used in test.
12639 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12641         [BZ #17730]
12642         Avoid using memalign for TLS allocations.
12643         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12644         is_static member with to_free member.
12645         (union dtv): Use struct dtv_pointer.
12646         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12647         dtv_pointer instead of is_static.
12648         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12649         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12650         instead of val.
12651         (allocate_dtv_entry): New function.
12652         (allocate_and_init): Return struct dtv_pointer.  Call
12653         allocate_dtv_entry instead of __libc_memalign.
12654         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12655         instead of val.
12656         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12657         instead of is_static.  Adjust call to allocate_and_init.
12658         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12659         struct dtv_pointer instead of val.
12661 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12663         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12664         (MALLOC_ALIGN_MASK): Move ...
12665         * malloc/malloc-internal.h: ... to here.
12666         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12668 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12670         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12671         (UDP_ENCAP_GTP1U): Likewise.
12673         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12674         (PF_MAX): Update value.
12675         (AF_QIPCRTR): New macro.
12677 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12679         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12680         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12681         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12682         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12683         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12684         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12685         s_truncf-vis3, s_trunc-vis3.
12686         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12687         (CFLAGS-s_ceil-vis3.c): Likewise.
12688         (CFLAGS-s_floorf-vis3.c): Likewise.
12689         (CFLAGS-s_floor-vis3.c): Likewise.
12690         (CFLAGS-s_truncf-vis3.c): Likewise.
12691         (CFLAGS-s_trunc-vis3.c): Likewise.
12692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12700         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12701         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12702         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12703         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12705 2016-08-02  David S. Miller  <davem@davemloft.net>
12707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12708         (__nearbyint_vis3): Don't check for sNaN before float register is
12709         loaded with the incoming argument.
12710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12711         (__nearbyintf_vis3): Likewise.
12712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12713         Likewise.
12714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12715         Likewise.
12717         * string/test-strncmp.c (do_test_limit): Make sure the test data
12718         stream is aligned as required for the type "CHAR".
12719         (do_test): Likewise.
12721 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12723         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12724         by beq instructions jumping to the end of the function.
12725         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12726         clobber list. Use "i" constraint instead of "X".
12727         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12728         of "X".
12730 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12732         * bits/libc-header-start.h: New file.
12733         * Makefile (headers): Add bits/libc-header-start.h.
12734         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12735         (__GLIBC_USE): New macro.
12736         * libio/stdio.h: Define
12737         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12738         <bits/libc-header-start.h> instead of including <features.h>.
12739         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12740         (open_memstream): Likewise.
12741         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12742         (__asprintf): Likewise.
12743         (asprintf): Likewise.
12744         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12745         (getdelim): Likewise.
12746         (getline): Likewise.
12747         * string/string.h: Define
12748         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12749         <bits/libc-header-start.h> instead of including <features.h>.
12750         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12751         (strndup): Likewise.
12752         * wcsmbs/wchar.h: Define
12753         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12754         <bits/libc-header-start.h> instead of including <features.h>.
12755         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12756         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12758 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12760         Support linking against compatibility symbols, for use in tests.
12761         * include/libc-symbols.h (symbol_version_reference): New macro.
12762         (symbol_version): Use it.
12763         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12764         (compat_symbol): Use compat_symbol_reference.
12765         (compat_symbol_1, compat_symbol_2): Remove.
12766         (compat_symbol_reference, compat_symbol_reference_1)
12767         (compat_symbol_reference_2): New macro.  Use
12768         symbol_version_reference.
12770 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12772         [BZ #19469]
12773         * malloc/Makefile (CPPFLAGS): Compile tests with
12774         -DTEST_NO_MALLOPT.
12775         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12777 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12779         [BZ #20033]
12780         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12781         finite version.
12782         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12783         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12784         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12785         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12786         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12787         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12788         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12790         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12792         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12794         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12796         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12799         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12800         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12801         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12802         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12803         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12804         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12805         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12806         in zero power.
12808 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12810         [BZ #20370]
12811         * malloc/arena.c (get_free_list): Update comment.  Assert that
12812         arenas on the free list have no attached threads.
12813         (remove_from_free_list): New function.
12814         (reused_arena): Call it.
12816 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12818         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12819         when it is a NaN.
12820         [_IEEE_FP_INEXACT] Remove.
12821         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12822         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12823         when it is a NaN.
12824         [_IEEE_FP_INEXACT] Remove.
12825         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12826         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12827         when it is a NaN.
12828         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12829         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12830         when its absolute value is greater than 0x1.0p52.
12831         [_IEEE_FP_INEXACT] Remove.
12832         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12833         when its absolute value is greater than 0x1.0p23.
12834         [_IEEE_FP_INEXACT] Remove.
12836 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12838         * version.h (RELEASE): Set to "development"
12839         (VERSION): Set to 2.24.90.
12840         * NEWS: Add 2.25 section.
12842         * version.h (RELEASE): Set to "stable"
12843         (VERSION): Set to 2.24.
12844         * include/features.h (__GLIBC_MINOR__): Set to 24.
12846         * NEWS: Add 2.24 fixed bugs.
12847         * po/libc.pot: Regenerate.
12849 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12852         [$(subdir) = math] (libm-sysdep_routines): Remove.
12853         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12854         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12855         s_truncf-vis3, s_trunc-vis3.
12856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12858         file.
12859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12892         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12893         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12894         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12895         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12896         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12897         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12898         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12899         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12900         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12901         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12903 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12905         [BZ #20384]
12906         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12907         test-double-libmvec-sincos-avx-main.o,
12908         test-double-libmvec-sincos-avx2-main.o,
12909         test-double-libmvec-sincos-main.o,
12910         test-float-libmvec-sincosf-avx-main.o,
12911         test-float-libmvec-sincosf-avx2-main.o and
12912         test-float-libmvec-sincosf-main.o.
12913         test-float-libmvec-sincosf-avx512-main.o.
12914         ($(objpfx)test-double-libmvec-sincos): Also link with
12915         $(objpfx)test-double-libmvec-sincos-main.o.
12916         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12917         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12918         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12919         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12920         ($(objpfx)test-float-libmvec-sincosf): Also link with
12921         $(objpfx)test-float-libmvec-sincosf-main.o.
12922         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12923         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12924         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12925         test-double-libmvec-sincos-avx512-main.o and
12926         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12927         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12928         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12929         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12930         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12931         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12932         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12933         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12934         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12935         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12936         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12937         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12938         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12939         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12940         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12941         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12942         -DREQUIRE_AVX2.
12943         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12944         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12945         -DREQUIRE_AVX512F.
12946         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12947         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12948         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12949         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12950         file.
12951         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12952         Likewise.
12953         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12954         Likewise.
12955         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12956         Likewise.
12957         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12958         Likewise.
12959         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12960         Likewise.
12961         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12962         Likewise.
12963         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12964         Likewise.
12966 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12968         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12970 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12972         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12973         and typo in a comment about AT_HWCAP entry.
12975 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12977         * sysdeps/aarch64/libm-test-ulps: Updated.
12979 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12981         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12982         of r13 as it is not restored in mvcle case.
12984 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12986         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12987         Rename "ret" to "__ret".
12988         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12989         inline_syscall5, inline_syscall6): Likewise.
12991 2016-07-19   Will Newton  <will.newton@gmail.com>
12993         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12994         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12995         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12996         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12997         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12999 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13001         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13002         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13003         -mfpmath=387 with $(rtld-CFLAGS).
13004         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13005         $(rtld-CFLAGS).
13007 2016-07-18   Ross Burton  <ross.burton@intel.com>
13008              Khem Raj  <raj.khem@gmail.com>
13010         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13011         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13012         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13013         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13014         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13015         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13016         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13017         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13018         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13019         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13020         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13021         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13022         R_METAG_TLS_DTPOFF): New.
13024 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13025             Matt Clay  <mclay@lycos.com>
13027         [BZ #20357]
13028         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13029         to call __mpsin/__mpcos and to negate values.
13030         * math/auto-libm-test-in: Add test.
13031         * math/auto-libm-test-out: Regenerate.
13033 2016-07-18  Zack Weinberg  <zackw@panix.com>
13035         * grp/Makefile: Don't install the internal header grp-merge.h.
13037 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13039         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13041 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13043         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13045 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13047         [BZ #15368]
13048         * sysdeps/unix/sysv/linux/nptl-signals.h
13049         (__nptl_clear_internal_signals): New function.
13050         (__libc_signal_block_all): Likewise.
13051         (__libc_signal_block_app): Likewise.
13052         (__libc_signal_restore_set): Likewise.
13053         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13054         implementation.
13055         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13056         the cached pid/tid value in pthread structure.
13058 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13060         [BZ #20347]
13061         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13063 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13065         [BZ #20348]
13066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13067         preadv64, pwrite64 and pwritev64.
13069 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13071         [BZ #20350]
13072         * posix/tst-preadwrite.c: Renamed to ...
13073         * posix/tst-preadwrite-common.c: This.
13074         (PREAD): Removed.
13075         (PWRITE): Likewise.
13076         (STRINGIFY): Likewise.
13077         (STRINGIFY2): Likewise.
13078         (do_prepare): Make it static and remove function arguments.
13079         (do_test): Likewise.
13080         (PREPARE): Updated.
13081         (TEST_FUNCTION): New.
13082         (name): Make it static.
13083         (fd): Likewise.
13084         (do_prepare): Use create_temp_file.
13085         (do_test): Renamed to ...
13086         (do_test_with_offset): This.  Make it static and accept offset.
13087         Properly check return value of PWRITE and PREAD.  Return bytes
13088         read.  Don't close fd nor unlink name.
13089         * posix/tst-preadwrite.c: Rewrite.
13090         * posix/tst-preadwrite64.c: Likewise.
13092 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13094         [BZ #20309]
13095         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13096         -mtls-dialect=gnu2 works.
13097         * configure: Regenerated.
13098         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13099         (tests): Add tst-gnu2-tls1.
13100         (modules-names): Add tst-gnu2-tls1mod.
13101         ($(objpfx)tst-gnu2-tls1): New.
13102         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13103         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13104         * elf/tst-gnu2-tls1.c: New file.
13105         * elf/tst-gnu2-tls1mod.c: Likewise.
13106         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13107         bytes for push in the PLT entry to align the stack.
13109 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13111         [BZ #20349]
13112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13114 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13116         [BZ #18707]
13117         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13118         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13120 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13122         * sysdeps/unix/sysv/linux/sysdep.h
13123         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13124         guards.
13125         * misc/tst-preadvwritev-common.c: New file.
13126         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13127         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13128         a check for files larger than 2GB.
13130         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13131         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13132         * sysdeps/unix/sysv/linux/pread.c
13133         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13134         __OFF_T_MATCHES_OFF64_T.
13135         * sysdeps/unix/sysv/linux/pread64.c
13136         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13137         * sysdeps/unix/sysv/linux/preadv.c
13138         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13139         * sysdeps/unix/sysv/linux/preadv64.c
13140         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13141         * sysdeps/unix/sysv/linux/pwrite.c
13142         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13143         * sysdeps/unix/sysv/linux/pwrite64.c
13144         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13145         * sysdeps/unix/sysv/linux/pwritev.c
13146         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13147         * sysdeps/unix/sysv/linux/pwritev64.c
13148         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13150 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13153         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13155 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13157         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13159 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13161         [BZ #20240]
13162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13163         (CFLAGS-s_modf-ppc32.c): New variable.
13164         (CFLAGS-s_modff-ppc32.c): Likewise.
13165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13166         (CFLAGS-s_modf-ppc64.c): Likewise.
13167         (CFLAGS-s_modff-ppc64.c): Likewise.
13169 2016-07-07  Andreas Schwab  <schwab@suse.de>
13171         [BZ #20263]
13172         * nptl/tst-robust10.c: New test.
13173         * nptl/Makefile (tests): Add tst-robust10.
13175 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13177         [BZ #20263]
13178         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13180 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13182         * sysdeps/s390/linkmap.h (struct link_map_machine):
13183         Remove member gotplt and add member jmprel.
13184         * sysdeps/s390/s390-32/dl-machine.h
13185         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13186         instead of gotplt with &got[3].
13187         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13188         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13190 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13192         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13194 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13196         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13197         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13198         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13199         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13200         * libio/vtables.c (_IO_vtable_check)
13201         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13202         * libio/libioP.h (IO_set_accept_foreign_vtables)
13203         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13205 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13207         [BZ #20314]
13208         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13209         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13210         $(common-objpfx)cmath.
13211         ($(common-objpfx)cstdlib): New target.
13212         ($(common-objpfx)cmath): Likewise.
13214 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13216         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13218 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13220         [BZ #20327]
13221         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13222         are not part of the string.
13224 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13226         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13227         * nptl/tst-cancel4-common.h (fifoname): New variable.
13228         (fifofd): Likewise.
13229         (cl_fifo): New function.
13230         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13231         SIGINT.
13232         (tf_open): Add early cancel test.
13234 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13236         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13238 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13240         * sysdeps/generic/ldsodefs.h
13241         (dl_symbol_visibility_binds_local_p): New inline function.
13242         * elf/dl-addr.c (determine_info): Treat hidden and internal
13243         symbols as local.
13244         * elf/dl-lookup.c (do_lookup_x): Likewise.
13245         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13247 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13249         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13250         invalid exception for a sNaN input.
13251         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13252         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13253         (__nearbyint_vis3): Likewise
13254         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13255         (__nearbyintf_vis3): Likewise
13256         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13257         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13258         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13259         Likewise.
13260         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13261         Likewise.
13263 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13265         [BZ #20139]
13266         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13267         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13268         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13269         2.24 or above.
13270         (HAVE_AVX512_ASM_SUPPORT): Removed.
13271         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13272         * sysdeps/x86_64/configure: Regenerated.
13273         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13274         check unconditional.
13275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13276         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13277         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13278         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13279         Likewise.
13280         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13281         Likewise.
13282         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13283         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13284         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13285         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13286         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13287         Likewise.
13288         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13289         Likewise.
13290         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13293         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13295         Likewise.
13296         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13297         Likewise.
13298         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13299         Likewise.
13300         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13301         Likewise.
13302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13303         Likewise.
13304         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13305         Likewise.
13306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13307         Likewise.
13308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13309         Likewise.
13310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13311         Likewise.
13312         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13313         Likewise.
13314         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13315         Likewise.
13317 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13319         [BZ #20024]
13320         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13322         of this implementation of vector function.
13323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13325         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13326         Likewise.
13327         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13328         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13329         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13330         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13331         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13332         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13333         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13334         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13335         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13336         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13337         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13338         for testing vector sincos with fixed ABI.
13339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13341         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13342         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13343         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13344         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13345         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13346         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13347         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13348         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13349         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13350         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13351         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13352         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13353         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13354         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13356 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13358         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13360 2016-06-30  Anton Blanchard  <anton@samba.org>
13362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13363         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13364         s_sinf-ppc64.
13365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13368         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13370 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13374         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13375         e_expf-ppc64.
13376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13377         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13379         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13381 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13383         [BZ #20277]
13384         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13385         when SHARED is defined.
13387 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13389         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13390         (index_arch_Prefer_ERMS): Likewise.
13391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13392         __memcpy_erms for Prefer_ERMS.
13393         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13394         (__memmove_erms): Enabled for libc.a.
13395         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13396         __memmove_erms or Prefer_ERMS.
13397         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13398         __mempcpy_erms for Prefer_ERMS.
13399         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13400         __memset_erms for Prefer_ERMS.
13402 2016-06-30  Andreas Schwab  <schwab@suse.de>
13404         [BZ #20262]
13405         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13406         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13407         of memory.
13409 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13411         [BZ #18645]
13412         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13413         (test-extras): Add tst-cleanupx4aux.
13414         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13415         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13416         tst-cleanupx4aux.o.
13417         * nptl/tst-cleanupx4aux.c: New file.
13419 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13421         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13423 2016-06-29  Andreas Schwab  <schwab@suse.de>
13425         [BZ #20260]
13426         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13427         address before the beginning of the string as an integer to avoid
13428         array-bounds warning.
13430 2016-06-28  Richard Henderson  <rth@redhat.com>
13432         * elf/elf.h (EM_BPF): New.
13433         (EM_NUM): Update.
13434         (R_BPF_NONE, R_BPF_MAP_FD): New.
13436         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13437         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13438         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13439         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13440         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13441         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13442         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13443         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13444         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13445         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13446         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13447         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13448         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13449         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13450         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13451         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13452         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13453         (EM_NUM): Update.
13455 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13457         [BZ #18960]
13458         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13459         Set _nl_current_LC_CATEGORY_used to two instead of one.
13461 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13463         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13464         (do_test): ... this.
13465         (TEST_FUNCTION): New macro.
13466          Include test-skeleton.c.
13467         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13468         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13470 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13472         [BZ #15479]
13473         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13474         floating-point environment rather than just control word.
13475         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13476         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13477         floating-point environment, with "invalid" exceptions merged in,
13478         rather than just control word.
13479         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13480         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13481         "inexact" exceptions.
13483         [BZ #15479]
13484         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13485         floating-point environment rather than just control word.
13486         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13487         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13488         floating-point environment, with "invalid" exceptions merged in,
13489         rather than just control word.
13490         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13491         * math/libm-test.inc (floor_test_data): Do not allow spurious
13492         "inexact" exceptions.
13494         [BZ #15479]
13495         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13496         floating-point environment rather than just control word.
13497         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13498         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13499         floating-point environment, with "invalid" exceptions merged in,
13500         rather than just control word.
13501         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13502         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13503         "inexact" exceptions.
13505 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13507         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13508         __libc_vfork.
13509         (__vfork) [IS_IN (libc)]: Remove alias.
13510         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13511         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13512         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13514 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13516         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13517         of atomic_compare_and_exchange_bool_rel.
13518         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13519         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13520         catomic_compare_and_exchange_bool_rel): Remove.
13521         * sysdeps/aarch64/atomic-machine.h
13522         (atomic_compare_and_exchange_bool_rel): Likewise.
13523         * sysdeps/alpha/atomic-machine.h
13524         (atomic_compare_and_exchange_bool_rel): Likewise.
13525         * sysdeps/arm/atomic-machine.h
13526         (atomic_compare_and_exchange_bool_rel): Likewise.
13527         * sysdeps/mips/atomic-machine.h
13528         (atomic_compare_and_exchange_bool_rel): Likewise.
13529         * sysdeps/microblaze/atomic-machine.h
13530         ( __arch_compare_and_exchange_bool_8_rel,
13531         __arch_compare_and_exchange_bool_16_rel): Likewise.
13532         * sysdeps/powerpc/atomic-machine.h
13533         ( __arch_compare_and_exchange_bool_8_rel,
13534         __arch_compare_and_exchange_bool_16_rel): Likewise.
13535         * sysdeps/powerpc/powerpc32/atomic-machine.h
13536         ( __arch_compare_and_exchange_bool_32_rel,
13537         __arch_compare_and_exchange_bool_64_rel): Likewise.
13538         * sysdeps/powerpc/powerpc64/atomic-machine.h
13539         ( __arch_compare_and_exchange_bool_32_rel,
13540         __arch_compare_and_exchange_bool_64_rel): Likewise.
13541         * sysdeps/tile/atomic-machine.h
13542         (atomic_compare_and_exchange_bool_rel): Likewise.
13544 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13546         [BZ #20296]
13547         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13548         when either argument is a NaN.
13549         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13550         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13552         * math/libm-test.inc (snan_value_ld): New macro.
13553         (isgreater_test_data): Add sNaN tests.
13554         (isgreaterequal_test_data): Likewise.
13555         (isless_test_data): Likewise.
13556         (islessequal_test_data): Likewise.
13557         (islessgreater_test_data): Likewise.
13558         (isunordered_test_data): Likewise.
13559         (nextafter_test_data): Likewise.
13560         (nexttoward_test_data): Likewise.
13561         (remainder_test_data): Likewise.
13562         (remquo_test_data): Likewise.
13563         (significand_test_data): Likewise.
13564         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13566 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13568         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13569         environment macros are defined.
13570         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13572 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13574         [BZ #20191]
13575         Implement vtable verification in libio.
13576         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13577         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13578         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13579         _IO_new_file_init_internal instead of _IO_file_init.
13580         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13581         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13582         * libio/Makefile (routines): Add vtables.
13583         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13584         (_IO_init): Remove, not for internal use.
13585         (_IO_init_internal): Declare, internal replacement for _IO_init.
13586         (_IO_file_init): Remove, not for internal use.
13587         (_IO_new_file_init): Remove, not for internal use.
13588         (_IO_new_file_init_internal): Declare, internal replacement for
13589         _IO_new_file_init.
13590         (_IO_old_file_init): Remove, not for internal use.
13591         (_IO_old_file_init_internal): Declare, internal replacement for
13592         _IO_old_file_init.
13593         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13594         internal use.
13595         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13596         Declare.
13597         (libio_vtable): New macro.
13598         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13599         functions.
13600         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13601         _IO_new_file_init.
13602         (_IO_new_file_init): New externally visible wrapper which disables
13603         vtable verification.
13604         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13605         Define as vtables.
13606         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13607         (_IO_init): New externally visible wrapper which disables
13608         vtable verification.
13609         * libio/iofdopen.c (_IO_new_fdopen): Call
13610         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13611         comment.
13612         * libio/iofopen.c (__fopen_internal): Call
13613         _IO_new_file_init_internal instead of _IO_file_init.
13614         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13615         Define as vtables.
13616         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13617         _IO_new_file_init_internal instead of _IO_file_init.
13618         * libio/iopopen.c (_IO_new_popen): Likewise.
13619         (_IO_proc_jumps): Define as vtable.
13620         * libio/iovdprintf.c (_IO_vdprintf): Call
13621         _IO_new_file_init_internal instead of _IO_file_init.
13622         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13623         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13624         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13625         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13626         _IO_old_file_init.
13627         (_IO_old_file_init): New externally visible wrapper which disables
13628         vtable verification.
13629         (_IO_old_file_jumps): Define as vtable.
13630         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13631         _IO_old_file_init_internal instead of _IO_old_file_init.
13632         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13633         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13634         (_IO_old_proc_jumps): Define as vtable.
13635         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13636         Define as vtables.
13637         * libio/vtables.c: New file.
13638         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13639         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13640         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13641         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13642         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13643         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13644         instead of _IO_init.
13646 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13648         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13650 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13652         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13653         potentially unused.
13655 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13657         * test-skeleton.c (write_message): New function.
13658         * malloc/tst-mallocfork2.c (write_message): Remove.
13659         * debug/tst-longjmp_chk2.c (write_indented): New function.
13660         (write_message): Remove.
13661         (stackoverflow_handler): Call write_indented.
13663 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13665         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13666         "inexact" exceptions after fnstenv.
13667         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13668         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13669         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13671 2015-06-22  Zack Weinberg  <zackw@panix.com>
13673         * sysdeps/generic/bits/hwcap.h: Moved to ...
13674         * bits/hwcap.h: Here.
13676 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13678         * sysdeps/aarch64/memcpy.S (memcpy):
13679         Further tuning for performance.
13681 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13683         [BZ #20284]
13684         * malloc/arena.c (reused_arena): Do not return NULL if we start
13685         out with a non-corrupted arena.
13687 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13689         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13690         * misc/tst-preadvwritev.c: New file.
13691         * misc/tst-preadvwritev64.c: Likewise.
13692         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13693         usage.
13694         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13695         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13696         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13697         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13699 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13701         [BZ #19654]
13702         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13703         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13704         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13705         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13706         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13707         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13708         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13709         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13710         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13711         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13712         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13713         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13714         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13715         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13716         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13717         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13718         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13719         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13720         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13721         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13722         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13723         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13724         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13725         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13726         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13727         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13729 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13731         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13732         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13734 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13736         * sysdeps/aarch64/memcpy.S (memcpy):
13737         Rewrite of optimized memcpy and memmove.
13738         * sysdeps/aarch64/memmove.S (memmove): Remove
13739         memmove code (merged into memcpy.S).
13741 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13743         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13744         * sysdeps/generic/dl-dtv.h: New file.
13745         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13746         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13747         (dtv_t): Remove.
13748         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13749         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13750         (dtv_t): Remove.
13751         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13752         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13753         (dtv_t): Remove.
13754         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13755         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13756         (dtv_t): Remove.
13757         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13758         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13759         (dtv_t): Remove.
13760         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13761         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13762         (dtv_t): Remove.
13763         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13764         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13765         (dtv_t): Remove.
13766         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13767         (dtv_t): Remove.
13768         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13769         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13770         (dtv_t): Remove.
13771         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13772         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13773         (dtv_t): Remove.
13774         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13775         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13776         (dtv_t): Remove.
13777         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13778         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13779         (dtv_t): Remove.
13780         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13781         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13782         (dtv_t): Remove.
13783         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13784         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13785         (dtv_t): Remove.
13786         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13787         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13788         (dtv_t): Remove.
13789         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13790         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13791         (dtv_t): Remove.
13793 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13795         Revert symbol poisoning of  __malloc_initialize_hook.
13796         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13797         poisoning.
13798         * malloc/Makefile: Remove un-poisoning.
13799         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13800         instead of old__malloc_initialize_hook.
13801         * malloc/malloc-hooks.h: Likewise.
13802         * malloc/malloc.c: Likewise.
13803         * malloc/mcheck-init.c: Likewise.
13805 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13807         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13809 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13811         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13812         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13813         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13814         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13816 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13818         * NEWS: Mention addition of nextup and nextdown.
13819         * manual/arith.texi: Document nextup and nextdown.
13820         * manual/libm-err-tab.pl: Add nextup and nextdown.
13821         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13822         * math/Versions (libm): Add GLIBC_2.24.
13823         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13824         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13825         Add new test.
13826         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13827         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13828         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13829         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13830         (nextup_test_data): Likewise.
13831         (nextdown_test_data): Likewise.
13832         * math/s_nextdown.c: New file.
13833         * math/s_nextdownf.c: Likewise.
13834         * math/s_nextdownl.c: Likewise.
13835         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13836         F(nextup): New function.
13837         F(nextdown): Likewise.
13838         * math/tgmath.h: Add nextup and nextdown.
13839         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13840         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13841         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13842         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13843         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13844         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13845         Add nextup and nextdown.
13846         (CFLAGS-nldbl-nextup.c): New variable.
13847         (CFLAGS-nldbl-nextdown.c): Likewise.
13848         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13849         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13850         * sysdeps/nacl/libm.abilist: Update.
13851         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13852         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13853         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13854         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13855         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13856         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13857         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13858         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13859         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13860         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13861         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13862         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13865         Likewise.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13868         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13869         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13870         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13871         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13872         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13876         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13877         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13880 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13882         * manual/pattern.texi: Fix typos & grammar errors.
13884 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13886         * manual/search.texi: Fix typos & grammar errors.
13888 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13890         * manual/message.texi: Fix typos & grammar errors.
13892 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13894         * manual/contrib.texi: Fix spelling typos.
13895         * manual/crypt.texi: Likewise.
13896         * manual/filesys.texi: Likewise.
13897         * manual/locale.texi: Likewise.
13898         * manual/message.texi: Likewise.
13899         * manual/nss.texi: Likewise.
13900         * manual/string.texi: Likewise.
13902 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13904         * manual/locale.texi: Fix typos & grammar errors.
13906 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13908         * manual/charset.texi: Fix typos & grammar errors.
13910 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13912         * manual/string.texi: Fix typos.
13914 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13916         * manual/ctype.texi: Fix typos.
13918 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13920         * manual/memory.texi: Fix various typos & grammar errors.
13922 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13924         [BZ #20255]
13925         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13926         * math/libm-test.inc (fdim_test_data): Add another test.
13928         [BZ #6796]
13929         [BZ #20255]
13930         [BZ #20256]
13931         * math/s_fdim.c: Include <math_private.h>.
13932         (__fdim): Use math_narrow_eval on result.
13933         * math/s_fdimf.c: Include <math_private.h>.
13934         (__fdimf): Use math_narrow_eval on result.
13935         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13936         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13937         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13938         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13939         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13940         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13941         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13942         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13943         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13944         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13945         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13946         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13947         overflow.  Add sNaN tests.
13949         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13950         fpclassify.
13951         * math/s_fdimf.c (__fdimf): Likewise.
13952         * math/s_fdiml.c (__fdiml): Likewise.
13954 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13956         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13957         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13959         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13960         ifunc'ed strcasecmp/strncasecmp.
13961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13962         [EALIGN]: Removed.
13963         [END]: Likewise.
13964         [__strcasecmp]: Define instead of the above to control symbol name.
13965         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13966         for __strcasecmp_power8.
13967         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13968         for __strncasecmp_power8.
13969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13971         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13972         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13973         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13974         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13976 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #20252]
13979         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13980         arguments when second argument is a NaN.
13981         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13982         qNaN tests.
13984         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13985         (conj_test_data): Likewise.
13986         (copysign_test_data): Likewise.
13987         (creal_test_data): Likewise.
13988         (fma_test_data): Likewise.
13989         (fmod_test_data): Likewise.
13991         [BZ #20250]
13992         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13993         itself.
13994         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13995         zero input to itself.
13996         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13997         Likewise.
13998         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13999         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14001         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14002         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14004 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14006         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14007         * nptl/tst-cancel4-common.c: New file.
14008         * nptl/tst-cancel4-common.h: Likewise.
14009         * nptl/tst-cancel4.c: Move common definitions to
14010         tst-cancel4-common.{c,h} file.
14011         * nptl/tst-cancel4_1.c: New test.
14012         * nptl/tst-cancel4_2.c: New test.
14014 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14016         [BZ #20248]
14017         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14018         (write_message): New function.
14019         (stackoverflow_handler): Call it instead of printf, to avoid
14020         excessive stack usage by printf.
14021         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14023 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14025         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14026         (prio_inherit_missing): Remove define.
14027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14028         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14029         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14030         Likewise.
14031         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14032         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14033         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14034         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14035         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14036         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14038 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14040         [BZ #19670]
14041         [BZ #19672]
14043         * io/test-lfs.c (do_prepare): Use xmalloc.
14044         * io/tst-fcntl.c (do_prepare): Likewise.
14045         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14046         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14047         * login/tst-utmp.c (do_prepare): Likewise.
14048         * posix/tst-exec.c (do_prepare): Likewise.
14049         * posix/tst-pathconf.c (prepare): Likewise.
14050         * posix/tst-spawn.c (do_prepare): Likewise.
14051         * posix/tst-truncate.c (do_prepare): Likewise.
14052         * rt/tst-aio.c (do_prepare): Likewise.
14053         * rt/tst-aio64.c (do_prepare): Likewise.
14055 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14057         [BZ #20237]
14058         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14059         (get*ent): Set entidx to NULL during initialization.  If entidx is
14060         NULL, start iteration from the beginning.
14062 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14064         * malloc/malloc.c (musable): Return correct size for dumped fake
14065         mmapped chunk.
14067 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14069         [BZ #20222]
14070         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14071         (_IO_cookie_write): Likewise.
14072         (_IO_cookie_seek): Likewise.
14073         (_IO_cookie_close): Likewise.
14074         (_IO_old_cookie_seek): Likewise.
14075         (set_callbacks): New function.
14076         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14078 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14080         * locale/programs/localedef.c (oldstyle_tables): Remove.
14081         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14083 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #20240]
14086         * math/Makefile (CFLAGS-s_modf.c): New variable.
14087         (CFLAGS-s_modff.c): Likewise.
14088         (CFLAGS-s_modfl.c): Likewise.
14089         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14091 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14093         [BZ #20215]
14094         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14095         [!__GNUC_PREREQ (3,2)]: Likewise.
14097 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14099         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14100         (msghdr.msg_controllen): Likewise.
14101         (cmsghdr.cmsg_len): Likewise.
14102         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14103         ptw-oldsendmsg.
14104         (CFLAGS-oldrecvmsg.c): Remove rule.
14105         (CFLAGS-oldsendmsg.c): Likewise.
14106         (CFLAGS-recvmsg.c): Add rule.
14107         (CFLAGS-sendmsg.c): Likewise.
14108         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14109         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14110         (CFLAGS-recvmsg.c): Remove rule.
14111         (CFLAGS-sendmsg.c): Likewise.
14112         (CFLAGS-oldrecvmsg.c): Likewise.
14113         (CFLAGS-oldsendmsg.c): Likewise.
14114         (CFLAGS-recvmmsg.c): Likewise.
14115         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14116         to kernel defined interfaces.
14117         (msghdr.msg_controllen): Likewise.
14118         (cmsghdr.cmsg_len): Likewise.
14119         (msghdr.__glibc_reserved1): Remove member.
14120         (msghdr.__glibc_reserved2): Likewise.
14121         (cmsghdr.__glibc_reserved1): Likewise.
14122         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14123         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14124         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14125         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14126         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14127         version.
14128         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14129         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14130         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14131         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14132         Remove recvmsg and sendmsg.
14133         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14134         Likewise.
14135         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14136         Likewise.
14137         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14138         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14139         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14140         Likewise.
14141         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14142         Likewise.
14143         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14144         [libc] (GLIBC_2.24): Likewise.
14145         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14146         Likewise.
14147         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14148         Likewise.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14150         [libc] (GLIBC_2.24): Likewise.
14151         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14152         Likewise.
14153         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14154         Likewise.
14155         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14156         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14157         Likewise.
14158         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14159         Likewise.
14160         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14161         Likewise.
14162         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14163         Likewise.
14164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14165         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14166         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14167         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14168         version for {recv,send,recm,sendm}msg.
14169         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14170         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14171         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14172         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14173         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14174         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14175         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14176         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14177         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14178         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14179         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14180         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14182         Likewise.
14183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14184         Likewise.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14187         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14189         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14190         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14192         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14195         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14196         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14197         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14199 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14201         [BZ #19564]
14202         Remove __malloc_initialize_hook from the API.
14203         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14204         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14205         #pragma GCC poison.
14206         * malloc/malloc-hooks.h: New file.
14207         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14208         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14209         (old__malloc_initialize_hook): Rename from
14210         __malloc_initialize_hook to evade poisoning.  Turn into compat
14211         symbol.
14212         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14213         __malloc_initialize_hook.
14214         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14215         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14216         * manual/memory.texi (Hooks for Malloc): Remove
14217         __malloc_initialize_hook.  Adjust hook example.
14219 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14221         [BZ #20235]
14222         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14223         itself.
14224         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14225         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14227         [BZ #20234]
14228         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14229         infinity or NaN input to itself.
14231         [BZ #20233]
14232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14233         to itself.
14235         [BZ #20232]
14236         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14237         itself.
14239 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14241         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14242         __libc_start_main via GOT.
14244 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14246         * sysdeps/x86_64/memcopy.h: New file.
14247         * sysdeps/x86_64/wordcopy.c: Likewise.
14249 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14251         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14252         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14253         <cstdlib>.
14254         (optimization_barrier): New.
14255         (do_test): Use it.  Call quick_exit in the global namespace.
14256         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14257         instead of <cstdlib>, <thread>.
14258         (optimization_barrier): New.
14259         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14260         Call quick_exit in the global namespace.
14261         (do_test): Call optimization_barrier.  Use pthread_create,
14262         pthread_join instead of std::thread.
14264 2016-06-09  Andreas Schwab  <schwab@suse.de>
14266         [BZ #19755]
14267         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14268         new entries in auto-propagate mode.
14269         * nscd/grpcache.c (cache_addgr): Likewise.
14271 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14273         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14274         New functions.
14275         (add_temp_file): Use them.
14277 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14279         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14281 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14283         [BZ #20229]
14284         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14285         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14286         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14288         [BZ #20228]
14289         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14290         itself.
14291         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14292         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14294         [BZ #20227]
14295         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14296         itself.
14297         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14298         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14299         * math/libm-test.inc (log_test_data): Add sNaN tests.
14301         [BZ #20226]
14302         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14303         itself.
14304         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14305         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14306         (exp10_test_data): Likewise.
14307         (expm1_test_data): Likewise.
14309         [BZ #20225]
14310         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14311         itself.
14312         * math/s_ldexpf.c (__ldexpf): Likewise.
14313         * math/s_ldexpl.c (__ldexpl): Likewise.
14314         * math/w_scalbln.c (__w_scalbln): Likewise.
14315         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14316         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14317         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14318         (scalbln_test_data): Likewise.
14320         [BZ #20224]
14321         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14322         argument to itself.
14323         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14325 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14327         [BZ #19776]
14328         * sysdeps/x86_64/memcpy.S: Make it dummy.
14329         * sysdeps/x86_64/mempcpy.S: Likewise.
14330         * sysdeps/x86_64/memmove.S: New file.
14331         * sysdeps/x86_64/memmove_chk.S: Likewise.
14332         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14333         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14334         * sysdeps/x86_64/memmove.c: Removed.
14335         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14336         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14337         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14338         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14339         Likewise.
14340         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14341         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14343         memcpy-sse2-unaligned, memmove-avx-unaligned,
14344         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14346         (__libc_ifunc_impl_list): Replace
14347         __memmove_chk_avx512_unaligned_2 with
14348         __memmove_chk_avx512_unaligned.  Remove
14349         __memmove_chk_avx_unaligned_2.  Replace
14350         __memmove_chk_sse2_unaligned_2 with
14351         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14352         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14353         with __memmove_avx512_unaligned.  Replace
14354         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14355         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14356         with __memcpy_chk_avx512_unaligned.  Remove
14357         __memcpy_chk_avx_unaligned_2.  Replace
14358         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14359         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14360         Replace __memcpy_avx512_unaligned_2 with
14361         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14362         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14363         with __mempcpy_chk_avx512_unaligned.  Remove
14364         __mempcpy_chk_avx_unaligned_2.  Replace
14365         __mempcpy_chk_sse2_unaligned_2 with
14366         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14367         Replace __mempcpy_avx512_unaligned_2 with
14368         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14369         Replace __mempcpy_sse2_unaligned_2 with
14370         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14371         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14372         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14373         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14374         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14375         (ENTRY): Removed.
14376         (END): Likewise.
14377         (ENTRY_CHK): Likewise.
14378         (libc_hidden_builtin_def): Likewise.
14379         Don't include ../memcpy.S.
14380         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14381         __memcpy_chk_avx512_unaligned_erms and
14382         __memcpy_chk_avx512_unaligned.  Use
14383         __memcpy_chk_avx_unaligned_erms and
14384         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14385         Default to __memcpy_chk_sse2_unaligned.
14386         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14387         Change function suffix from unaligned_2 to unaligned.
14388         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14389         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14390         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14391         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14392         (ENTRY): Removed.
14393         (END): Likewise.
14394         (ENTRY_CHK): Likewise.
14395         (libc_hidden_builtin_def): Likewise.
14396         Don't include ../mempcpy.S.
14397         (mempcpy): New.  Add a weak alias.
14398         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14399         __mempcpy_chk_avx512_unaligned_erms and
14400         __mempcpy_chk_avx512_unaligned.  Use
14401         __mempcpy_chk_avx_unaligned_erms and
14402         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14403         Default to __mempcpy_chk_sse2_unaligned.
14405 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14407         [BZ #19881]
14408         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14409         into ...
14410         * sysdeps/x86_64/memset.S: This.
14411         (__bzero): Removed.
14412         (__memset_tail): Likewise.
14413         (__memset_chk): Likewise.
14414         (memset): Likewise.
14415         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14416         defined.
14417         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14418         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14419         (__memset_zero_constant_len_parameter): Check SHARED instead of
14420         PIC.
14421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14422         memset-avx2 and memset-sse2-unaligned-erms.
14423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14424         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14425         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14426         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14427         (__bzero): Enabled.
14428         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14429         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14430         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14431         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14432         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14433         (memset): Removed.
14434         (__memset_chk): Likewise.
14435         (MEMSET_SYMBOL): New.
14436         (libc_hidden_builtin_def): Replace __memset_sse2 with
14437         __memset_sse2_unaligned.
14438         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14439         __memset_chk_sse2 and __memset_chk_avx2 with
14440         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14441         Use __memset_chk_sse2_unaligned_erms or
14442         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14443         __memset_chk_avx512_unaligned_erms and
14444         __memset_chk_avx512_unaligned.
14446 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14448         * math/gen-auto-libm-test.c (fp_format_desc): remove
14449         suffix member.
14450         (output_generic_value): Remove usage of suffix member,
14451         and the resulting unuse of the fp_format argument.
14452         (output_for_one_input_case): Remove unused fp_format
14453         parameter.
14455         * math/auto-libm-test-out: Regenerate.
14457         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14458         usage with TEST_COND_ibm128.
14459         (TEST_COND_flt_32): Remove.
14460         (TEST_COND_dbl_64): Remove.
14461         (TEST_COND_ldbl_96_intel): Remove.
14462         (TEST_COND_ldbl_96_m68k): Remove.
14463         (TEST_COND_ldbl_128): Remove.
14465 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14467         * auto-libm-test-in:
14468         Replace flt-32 usage with binary32.
14469         Replace dbl-64 usage with binary64.
14470         Replace ldbl-intel-96 usage with intel96.
14471         Replace ldbl-m68k-96 usage with m68k96.
14472         Replace ldbl-128ibm usage with ibm128.
14473         Replace ldbl-128 usage with binary128.
14475         * auto-libm-test-out: Regenerate.
14477 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14479         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14480         (parse_ulps): Dynamically generate type name matching
14481         string from all_floats.
14482         (get_ulps): Generate the ulps as an array instead.
14483         (output_ulps): Dynamically compose the type based
14484         on the number of supported formats, and print
14485         the indices as type specific helper macros.
14487         * math/libm-test.inc: Remove comment about CHOOSE.
14488         (ulp_data): Generate the type in libm-test-ulps.h.
14489         (ULP_IDX): New macro.
14490         (find_ulps): Update usage of max_ulp.
14492         * math/test-double-vlen2.h (CHOOSE): Remove.
14493         * math/test-double-vlen4.h (CHOOSE): Likewise.
14494         * math/test-double-vlen8.h (CHOOSE): Likewise.
14495         * math/test-float.c (CHOOSE): Likewise.
14496         * math/test-float-finite.c (CHOOSE): Likewise.
14497         * math/test-double.c (CHOOSE): Likewise.
14498         * math/test-double-finite.c (CHOOSE): Likewise.
14499         * math/test-idouble.c (CHOOSE): Likewise.
14500         * math/test-ifloat.c (CHOOSE): Likewise.
14501         * math/test-ildoubl.c (CHOOSE): Likewise.
14502         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14503         * math/test-ldouble.c (CHOOSE): Likewise.
14505         * math/test-float.h (TEST_FLOAT): Remove.
14506         * math/test-double.h (TEST_DOUBLE): Likewise.
14507         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14509 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14511         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14512         (parse_args): Strip C suffix from floating point literals
14513         typed with 'f' and wrap them with LIT().
14515         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14516         (test_ff_f_data_nexttoward): Rename to
14517         (test_fj_f_data): New struct.
14518         (nexttoward_test_data): Relabel tests as
14519         TEST_fj_f instead of TEST_ff_f.
14521 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14523         Emacs bug 23726.
14524         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14525         (__libc_realloc): Correct size computation for dumped fake mmapped
14526         chunks.
14528 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14530         [BZ #20219]
14531         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14532         to itself.
14533         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14535         [BZ #20218]
14536         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14537         to itself.
14538         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14540 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14542         [BZ #20195]
14543         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14544         check to ...
14545         (init_cpu_features): Here.
14547 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14549         [BZ #20214]
14550         * sysdeps/unix/sysv/linux/bits/in.h
14551         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14552          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14553         Define to 1.
14554         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14555          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14556         Define to 0.
14557         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14558         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14560 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14562         [BZ #20198]
14563         * stdlib/Makefile (tests): Add tst-quick_exit, and
14564         tst-thread-quick_exit.
14565         [ifeq ($(have-cxx-thread_local),yes)]
14566         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14567         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14568         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14569         (LDLIBS-tst-thread-quick_exit): Likewise.
14570         [ifneq ($(have-cxx-thread_local),yes)]
14571         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14572         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14573         If run_dtors is true call __call_tls_dtors.
14574         (exit): Call __run_exit_handlers with run_dtors set to true.
14575         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14576         definition.
14577         * stdlib/quick_exit.c (quick_exit): Remove function.
14578         (__new_quick_exit): New function.
14579         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14580         function.
14581         * stdlib/tst-quick_exit.cc: New file.
14582         * stdlib/tst-thread-quick_exit.cc: New file.
14583         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14584         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14585         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14586         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14587         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14588         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14589         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14590         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14591         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14592         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14593         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14594         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14595         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14598         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14603         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14604         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14605         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14606         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14611         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14612         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14614 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14616         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14617         a typo in comments.
14619 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14621         [BZ #20213]
14622         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14623         argument to itself.
14624         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14626 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14628         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14629         required flags.
14630         (CFLAGS-pwritev64.c): Likewise.
14631         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14633         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14634         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14635         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14636         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14637         syscall from auto-generation.
14638         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14639         [WORDSIZE == 64] (pwritev64): Remove macro.
14640         [!PWRITEV] (PWRITEV): Likewise.
14641         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14642         [!PWRITEV] (PWRITE): Likewise.
14643         [!PWRITEV] (OFF_T): Likewise.
14644         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14645         (LO_HI_LONG): Remove macro.
14646         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14647         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14648         (PWRITEV): Remove macro.
14649         (PWRITEV_REPLACEMENTE): Likewise.
14650         (PWRITE): Likewise.
14651         (OFF_T): Likewise.
14652         (pwritev64): New function.
14653         * nptl/tst-cancel4.c (tf_writev): Add test.
14655         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14656         required flags.
14657         (CFLAGS-preadv64.c): Likewise.
14658         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14659         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14660         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14661         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14662         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14663         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14664         syscall from auto-generation.
14665         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14666         [WORDSIZE == 64] (preadv64): Remove macro.
14667         [!PREADV] (PREADV): Likewise.
14668         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14669         [!PREADV] (PREAD): Likewise.
14670         [!PREADV] (OFF_T): Likewise.
14671         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14672         (LO_HI_LONG): Remove macro.
14673         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14674         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14675         (PREADV): Remove macro.
14676         (PREADV_REPLACEMENTE): Likewise.
14677         (PREAD): Likewise.
14678         (OFF_T): Likewise.
14679         (preadv64): New function.
14680         * nptl/tst-cancel4.c (tf_preadv): Add test.
14682 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14684         [BZ #20212]
14685         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14686         argument to itself.
14687         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14689 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14691         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14692         New symbol defined as libc_hidden_def.
14693         (strcasestr): Became a weak alias to __strcasestr.
14694         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14695         according to multi-arch support.  Move __stpncpy hidden
14696         definition from here to...
14697         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14698         symbol stpncpy.
14699         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14700         libc_hidden_builtin_def.
14701         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14702         memset symbol to use when multi-arch support is available.
14704 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14706         * dlfcn/tst-rec-dlopen.c: Include string.h.
14708 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14710         * manual/install.texi: Remove mention of --without-tls
14711         * INSTALL: Regenerate.
14713 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14715         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14716         Remove.
14717         (call_function, interposed_malloc_called): New variables.
14718         (malloc): New function.
14719         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14720         and clear call_function as needed.
14722 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14724         * include/wchar.h (__wmemset): Use __typeof.
14726 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14728         * include/wchar.h (__wmemset): Declare function without typeof.
14730 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14732         [BZ #20205]
14733         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14734         exponent when incrementing negative subnormal with low mantissa
14735         word zero.
14736         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14737         Add another test.
14739 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14741         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14742         __wmemset instead of wmemset.
14744 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14746         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14747         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14748         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14749         __USE_KERNEL_IPV6_DEFS to 0.
14750         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14751         Update comment.
14753 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14755         [BZ #19861]
14756         Do not use IFUNC resolver with potentially unrelocated symbol.
14757         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14758         (DEFINE_FORK): Remove macro and inline definition.
14759         (fork_alias): Renamed from fork_ifunc.
14760         (__fork_alias): Renamed from __fork_ifunc.
14762 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14764         [BZ 19653]
14765         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14766         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14768 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14770         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14771         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14772         i386-linux-gnu).
14773         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14774         Set to no.
14775         * sysdeps/mach/hurd/configure: Refresh.
14777 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14779         [BZ #20178]
14780         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14781         on failure instead of exit.
14783 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14785         [BZ #3629]
14786         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14787         of POSIX.1-2008.
14789 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14791         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14792           Use PLT entry for calling _hurd_self_sigstate.
14794 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14796         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14797         available logical processors with SMT level type sharing L2
14798         cache for Intel processors.
14800 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14802         [BZ #20160]
14803         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14804         argument to itself before returning the result.
14805         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14806         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14807         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14809         Likewise.
14810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14811         Likewise.
14812         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14813         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14814         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14815         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14816         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14817         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14819         [BZ #20160]
14820         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14821         argument to itself before returning the result.
14822         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14823         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14824         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14825         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14826         Likewise.
14827         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14828         Likewise.
14829         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14830         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14831         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14832         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14833         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14834         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14836 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14838         * libm-test.inc: Replace usage of M_El with
14839         (lit_e): New macro.
14841 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14843         * libm-test.inc: Replace usage of M_PI_4l with
14844         (lit_pi_4_d): New macro.
14846 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14848         * libm-test.inc: Replace usage of M_PIl with
14849         (lit_pi): New macro.
14851 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14853         * libm-test.inc: Replace usage of M_PI2l with
14854         (lit_pi_2_d): New macro.
14856         * math/test-double.h (LITM): New macro.
14857         * math/test-float.h (LITM): Likewise.
14858         * math/test-ldouble.h (LITM): Likewise.
14860 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14862         * libm-test.inc (M_PI_34l): Rename to
14863         (lit_pi_3_m_4_d): New Macro.
14864         (M_PI_34_LOG10El): Rename to
14865         (lit_pi_3_m_4_ln10_m_d): New Macro.
14866         (M_PI2_LOG10El): Rename to
14867         (lit_pi_2_ln10_m_d):  New Macro.
14868         (M_PI4_LOG10El): Rename to
14869         (lit_pi_4_ln10_m_d):  New Macro.
14870         (M_PI_LOG10El): Rename to
14871         (lit_pi_ln10_d):  New Macro.
14873 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14875         [BZ #20157]
14876         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14877         determine whether to negate low half if [_ARCH_PPCGR], and integer
14878         comparison otherwise.
14879         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14880         determine whether to negate low half.
14882         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14883         (NO_TEST_INLINE_DOUBLE): Likewise.
14884         (TEST_COND_x86_64): Likewise.
14885         (TEST_COND_x86): Likewise.
14886         (M_PI_6l): Likewise.
14888 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14890         * math/libm-test.inc:
14891         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14892         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14893         (TEST_LDOUBLE): Update usage to evaluate as true if
14894         the guarded tests match the property being tested.
14895         (LDBL_MAX_EXP): Change to MAX_EXP.
14896         (LDBL_MIN_EXP): Change to MIN_EXP.
14897         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14898         nexttoward tests.
14900 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14902         * math/libm-test.inc:
14903         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14904         (TYPE_MIN): Likewise.
14905         (TYPE_TRUE_MIN): Likewise.
14906         (TYPE_MAX): Likewise.
14907         (MIN_EXP): Likewise.
14908         (MAX_EXP): Likewise.
14909         (MANT_DIG): Likewise.
14911         (FSTR_MAX): New macro.
14912         (__CONCATX): Likewise.
14913         (QTYPE_STR): Likewise.
14914         (TEST_COND_binary32): Likewise.
14915         (TEST_COND_binary64): Likewise.
14916         (TEST_COND_binary128): Likewise.
14917         (TEST_COND_ibm128): Likewise.
14918         (TEST_COND_intel96): Likewise.
14919         (TEST_COND_m68k96): Likewise.
14921         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14922         (TEST_COND_dbl_64): Likewise.
14923         (TEST_COND_ldbl_96_intel): Likewise.
14924         (TEST_COND_ldbl_96_m68k): Likewise.
14925         (TEST_COND_ldbl_128): Likewise.
14926         (TEST_COND_ldbl_128ibm): Likewise.
14928         (plus_zero): Redefine using LIT macro.
14929         (minus_zero): Likewise.
14930         (plus_infty): Redefine as (INF).
14931         (minux_infty): Redefine as (-INF).
14932         (max_value): Redefine as TYPE_MAX.
14933         (min_value): Redefine as TYPE_MIN.
14934         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14936         (print_float): Refactor to use snprintf to convert FLOAT values
14937         to string. This brings it closer to dropin replacement of strtof
14938         for the TS 18661 defined types.
14939         (update_stats): Likewise.
14940         (print_complex_function_ulps): Likewise.
14941         (print_max_error): Likewise.
14942         (print_complex_max_error): Likewise.
14943         (check_float_internal): Likewise.
14945         * math/test-float.h (PREFIX): New macro.
14946         (LIT): Likewise.
14947         (TYPE_STR): Likewise.
14948         (FTOSTR): Likewise.
14950         * math/test-double.h (PREFIX): New macro.
14951         (LIT): Likewise.
14952         (TYPE_STR): Likewise.
14953         (FTOSTR): Likewise.
14955         * math/test-ldouble.h (PREFIX): New macro.
14956         (LIT): Likewise.
14957         (TYPE_STR): Likewise.
14958         (FTOSTR): Likewise.
14960 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14962         [BZ #20156]
14963         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14964         to itself when zero or not finite.
14965         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14970 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14972         [BZ #20153]
14973         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14974         x * x + x for infinities and NaNs.
14976         [BZ #20151]
14977         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14978         argument to itself before returning result.
14979         (__ieee754_y0l): Likewise.
14980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14981         (__ieee754_y1l).
14983         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14984         (atan_test_data): Likewise.
14985         (ceil_test_data): Likewise.
14986         (cos_test_data): Likewise.
14987         (cosh_test_data): Likewise.
14988         (erf_test_data): Likewise.
14989         (exp2_test_data): Likewise.
14990         (fabs_test_data): Likewise.
14991         (floor_test_data): Likewise.
14992         (ilogb_test_data): Likewise.
14993         (j0_test_data): Likewise.
14994         (j1_test_data): Likewise.
14995         (jn_test_data): Likewise.
14996         (lgamma_test_data): Likewise.
14997         (lrint_test_data): Likewise.
14998         (llrint_test_data): Likewise.
14999         (logb_test_data): Likewise.
15000         (lround_test_data): Likewise.
15001         (llround_test_data): Likewise.
15002         (nearbyint_test_data): Likewise.
15003         (rint_test_data): Likewise.
15004         (round_test_data): Likewise.
15005         (sin_test_data): Likewise.
15006         (sincos_test_data): Likewise.
15007         (sinh_test_data): Likewise.
15008         (sqrt_test_data): Likewise.
15009         (tan_test_data): Likewise.
15010         (tanh_test_data): Likewise.
15011         (tgamma_test_data): Likewise.
15012         (trunc_test_data): Likewise.
15013         (y0_test_data): Likewise.
15014         (y1_test_data): Likewise.
15015         (yn_test_data): Likewise.
15017         * math/libm-test.inc: Update comment about NaN testing.
15018         (TEST_SNAN): New macro.
15019         (snan_value): Likewise.
15020         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15021         (fpclassify_test_data): Add sNaN tests.
15022         (isfinite_test_data): Likewise.
15023         (isinf_test_data): Likewise.
15024         (isnan_test_data): Likewise.
15025         (isnormal_test_data): Likewise.
15026         (issignaling_test_data): Likewise.
15027         (signbit_test_data): Likewise.
15028         * math/gen-libm-test.pl (%beautify): Add snan_value.
15029         (show_exceptions): Add argument $test_snan.
15030         (parse_args): Handle snan_value as non-finite.  Update call to
15031         show_exceptions.
15032         * math/Makefile (libm-test-no-inline-cflags): Add
15033         -fsignaling-nans.
15035 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15037         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15038         (CFLAGS-oldsendmsg.c): Add rule.
15039         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15040         Correct recvmsg symbol name.
15041         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15042         Likewise.
15044 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15046         * sysdeps/unix/sysv/linux/Makefile
15047         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15048         oldsendmmsg.
15049         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15050         sendmmsg.
15051         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15052         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15054         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15059         Likewise.
15060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15061         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15062         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15063         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15064         iovlen and controllen fields to adjust to POSIX specification.
15065         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15067         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15068         and change to correct expected type.
15069         (msghdr.msg_controllen): Likewise.
15070         (cmsghdr.cmsg_len): Likewise.
15071         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15072         expected POSIX assumption about the size.
15073         (msghdr.msg_controllen): Likewise.
15074         (msghdr.__glibc_reserved1): Likewise.
15075         (msghdr.__glibc_reserved2): Likewise.
15076         (cmsghdr.cmsg_len): Likewise.
15077         (cmsghdr.__glibc_reserved1): Likewise.
15078         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15079         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15080         (CFLAGS-sendmsg.c): Remove rule.
15081         (CFLAGS-recvmsg.c): Likewise.
15082         (CFLAGS-oldsendmsg.c): Add rule.
15083         (CFLAGS-oldrecvmsg.c): Likewise.
15084         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15085         recvmsg and sendmsg.
15086         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15087         Likewise.
15088         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15089         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15090         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15091         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15092         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15093         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15094         Likewise.
15095         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15096         Likewise.
15097         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15098         Likewise.
15099         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15100         Likewise.
15101         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15102         Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15104         Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15106         (GLIBC_2.24): Likewise.
15107         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15108         Likewise.
15109         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15112         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15113         Likewise.
15114         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15115         Likewise.
15116         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15117         Likewise.
15118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15119         (GLIBC_2.24): Likewise.
15120         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15121         Likewise.
15122         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15123         Likewise.
15124         * sysdeps/unix/sysv/linux/Makefile
15125         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15126         (CFLAGS-sendmsg.c): Add rule.
15127         (CFLAGS-recvmsg.c): Likewise.
15128         (CFLAGS-oldsendmsg.c): Likewise.
15129         (CFLAGS-oldrecvmsg.c): Likewise.
15130         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15131         initialization.
15132         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15133         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15134         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15135         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15136         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15137         iovlen and controllen fields to adjust to POSIX specification.
15138         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15139         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15140         added recvmsg and sendmsg.
15141         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15142         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15143         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15144         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15145         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15146         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15147         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15148         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15149         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15150         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15151         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15152         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15154         Likewise.
15155         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15157         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15158         Likewise.
15159         Likewise.
15160         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15161         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15162         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15163         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15164         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15165         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15167         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15169         Likewise.
15170         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15171         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15173         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15174         from auto-generation.
15175         (sendmsg): Likewise.
15176         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15177         (sendmsg): Likewise.
15178         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15179         (sendmsg): Likewise.
15180         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15181         (sendmsg): Likewise.
15182         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15183         (sendmsg): Likewise.
15184         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15185         (sendmsg): Likewise.
15186         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15187         Likewise.
15188         (sendmsg): Likewise.
15189         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15190         (sendmsg): Likewise.
15191         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15193         Remove.
15194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15195         Likewise.
15196         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15197         Undefine.
15198         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/kernel-features.h
15201         (__ASSUME_SENDMSG_SYSCALL): Define.
15202         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15205         Remove.
15206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15207         Likewise.
15208         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15209         Undefine.
15210         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15211         Likewise.
15212         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15214         Remove.
15215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15216         Likewise.
15217         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15218         Undefine.
15219         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15220         Likewise.
15221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15222         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15223         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15224         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15225         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15226         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15227         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15228         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15229         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15231 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15233         * stdlib/gen-tst-strtod-round.c: Add backslash to
15234         compile command in comment.
15235         (printfp): Remove the literal suffix, and define an infinite
15236         value as INF to avoid expansion clash with INFINITY.
15237         (round_str): Remove the literal suffix.
15238         (round_for_all): Likewise, remove the now duplicate ldbl-64
15239         entry, and remove some magic constants.
15241         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15242         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15243         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15244         (_CONCAT): New macro.
15245         (CONCAT): Likewise.
15246         (CHOOSE_ld): Likewise.
15247         (CHOOSE_f): Likewise.
15248         (CHOOSE_d): Likewise.
15249         (FTYPE_MEMBER): Likewise.
15250         (BOOL_MEMBER): Likewise.
15251         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15252         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15253         (_XNTRY): Likewise.
15254         (XNTRY): Likewise.
15255         (_ENTRY): Likewise.
15256         (ENTRY): Likewise.
15257         (test_exactness): Generate members via macro.
15258         (test_results): Likewise.
15259         (test): Update members.
15260         (TEST): Redefine using new macros.
15261         (INF): New macro.
15262         (fetestmodes): New structure.
15263         (do_test): Refactor to be type generic.
15264         (test_in_one_mode): Refactor duplicate code into
15265         (GEN_ONE_TEST): New macro.
15267         * stdlib/tst-strtod-round-data.h: Regenerate.
15269         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15270         Extend to pass additional arbitrary parameters to
15271         generators.
15273 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15275         [BZ #15479]
15276         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15277         floating-point state after first floating-point operation on
15278         input.  Restore full floating-point state instead of just rounding
15279         mode.
15280         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15281         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15282         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15283         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15284         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15286         [BZ #15479]
15287         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15288         floating-point state after first floating-point operation on
15289         input.  Restore full floating-point state instead of just rounding
15290         mode.
15291         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15292         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15293         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15294         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15295         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15297 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15299         [BZ #19727]
15300         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15301         valid high surrogate.
15302         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15303         of an utf16 surrogate.
15304         * iconv/gconv_simple.c (BODY): Likewise.
15305         * iconvdata/bug-iconv12.c: New file.
15306         * iconvdata/Makefile (tests): Add bug-iconv12.
15308 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15310         [BZ #19726]
15311         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15312         outptrp in case of an illegal input.
15313         * iconv/tst-iconv6.c: New file.
15314         * iconv/Makefile (tests): Add tst-iconv6.
15316 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15318         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15319         an error in case of a value in range of an utf16 low surrogate.
15321 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15323         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15324         an error in case of a value in range of an utf16 low surrogate.
15326 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15328         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15329         Move to ...
15330         * sysdeps/s390/Makefile: ... here.
15331         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15332         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15333         (BRANCH_ON_COUNT): New define.
15334         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15335         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15336         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15337         run on s390-32, too.
15338         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15339         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15340         run on s390-32, too.
15341         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15342         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15343         run on s390-32, too.
15345 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15347         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15348         etf3eh or new vector loop-variant.
15350 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15352         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15353         etf3eh or new vector loop-variant.
15355 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15357         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15358         or new vector loop-variant.
15360 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15362         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15363         Rename to TR_LOOP and usage of tr instead of troo instruction.
15365 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15367         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15370 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15372         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15373         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15374         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15375         New override define.
15376         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15378 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15380         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15381         * sysdeps/s390/configure.ac: Add test for S390 vector register
15382         support in gcc.
15383         * sysdeps/s390/configure: Regenerated.
15385 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15387         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15388         Install file from $(objpfx)gconv-modules.
15389         ($(objpfx)gconv-modules): Concatenate architecture specific file
15390         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15391         * sysdeps/s390/gconv-modules: New file.
15392         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15393         Deleted.
15394         ($(objpfx)gconv-modules-s390): Deleted.
15395         (sysdeps-gconv-modules): New variable.
15397 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15399         [BZ #15479]
15400         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15401         of immediate operand to rounding instruction.
15402         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15403         Likewise.
15404         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15405         Likewise.
15406         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15407         Likewise.
15409 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15411         * math/libm-test.inc (MIN_EXP): Directly define as
15412         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15414 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15416         * math/libm-test.inc (MANT_DIG): Directly define as
15417         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15419 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15421         * stdlib/gen-tst-strtod-round.c (main):
15422           Change usage to more closely match the generated
15423           output.  Add usage and compilation instructions.
15424           (string_to_fp): Add and use FILE* parameter as
15425           output target.
15426           (print_fp): Likewise.
15427           (round_str): Likewise.
15428           (round_for_all): Likewise.
15429         * stdlib/tst-strtod-round.c (tests): Move into
15430         * stdlib/tst-strtod-round-data.h: New file.
15432 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15434         [BZ #15479]
15435         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15436         (__round): Do not force "inexact" exception.
15437         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15438         variable.
15439         (__round): Do not force "inexact" exception.
15440         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15441         (__roundf): Do not force "inexact" exception.
15442         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15443         (__roundl): Do not force "inexact" exception.
15444         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15445         (__roundl): Do not force "inexact" exception.
15446         * math/libm-test.inc (round_test_data): Do not allow spurious
15447         "inexact" exceptions.
15449         [BZ #15479]
15450         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15451         exception in comment.
15452         (huge): Remove variable.
15453         (__floor): Do not force "inexact" exception.
15454         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15455         "inexact" exception in comment.
15456         (huge): Remove variable.
15457         (__floor): Do not force "inexact" exception.
15458         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15459         exception in comment.
15460         (huge): Remove variable.
15461         (__floorf): Do not force "inexact" exception.
15462         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15463         exception in comment.
15464         (huge): Remove variable.
15465         (__floorl): Do not force "inexact" exception.
15467         [BZ #15479]
15468         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15469         exception in comment.
15470         (huge): Remove variable.
15471         (__ceil): Do not force "inexact" exception.
15472         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15473         "inexact" exception in comment.
15474         (huge): Remove variable.
15475         (__ceil): Do not force "inexact" exception.
15476         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15477         (__ceilf): Do not force "inexact" exception.
15478         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15479         exception in comment.
15480         (huge): Remove variable.
15481         (__ceill): Do not force "inexact" exception.
15483 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15485         * config.h.in (BIND_NOW): New.
15486         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15487         * configure: Regenerated.
15488         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15489         indirect branch via the GOT slot.
15491 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15493         [BZ #19765]
15494         * sysdeps/s390/mempcpy.S: New File.
15495         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15497         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15498         Add mempcpy variants.
15499         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15500         (memcpy): Adjust to be usable from mempcpy entry point.
15501         (__memcpy_mvcle): Likewise.
15502         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15503         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15504         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15505         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15506         (__memcpy_z10): Likewise.
15507         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15509 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15511         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15512         Remove __GI_ symbol.
15513         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15514         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15515         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15516         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15517         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15518         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15520 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15522         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15523         Use cghi instead of chi to compare 64bit value.
15525 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15527         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15528         Jump to 1MB check before executing mvc-loop.
15530 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15532         [BZ #6527]
15533         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15534         unconditionally.
15535         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15537 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15539         * stdlib/tst-strtod6.c (do_test): Use new type generic
15540         invocation of the test function.
15541         (test): Refactor into ...
15542         (TEST_STRTOD): New macro base function.
15544 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15546         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15547         (TEST_STRTOD): New macro.
15548         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15550 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15552         * stdlib/tst-strtod6.c (do_test): Use new type generic
15553         invocation of the test function.
15554         (test): Refactor into ...
15555         (TEST_STRTOD): New macro base function.
15557 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15559         CVE-2016-4429
15560         [BZ #20112]
15561         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15562         payload.
15564 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15566         [BZ #20111]
15567         * bits/sockaddr.h (_SS_SIZE): Define.
15568         * bits/socket.h (_SS_SIZE): Remove.
15569         (_SS_PADSIZE): Adjust to account for all padding.
15570         (struct sockaddr_storage): Update comment.  Avoid implicit
15571         padding.
15572         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15573         (_SS_PADSIZE): Adjust to account for all padding.
15574         (struct sockaddr_storage): Update comment.  Avoid implicit
15575         padding.
15576         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15577         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15578         (_SS_PADSIZE): Adjust to account for all padding.
15579         (struct sockaddr_storage): Update comment.  Avoid implicit
15580         padding.
15581         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15582         __SS_SIZE is 126 in this version.
15583         * inet/tst-sockaddr.c: New file.
15584         * inet/Makefile (tests): Add tst-sockaddr.c
15585         (tst-sockaddr.c): Compile with non-strict aliasing.
15587 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15589         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15590         [XPG3 || XPG4].
15591         (NL_ARGMAX): Also expect for [XPG3].
15592         (NL_LANGMAX): Likewise.
15593         (NL_MSGMAX): Likewise.
15594         (NL_NMAX): Likewise.
15595         (NL_SETMAX): Likewise.
15596         (NL_TEXTMAX): Likewise.
15597         (NZERO): Likewise.
15598         (TMP_MAX): Likewise.
15599         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15600         variable.
15602         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15603         (PF_MAX): Update value.
15604         (AF_KCM): New macro.
15605         (SOL_NETBEUI): Likewise.
15606         (SOL_LLC): Likewise.
15607         (SOL_DCCP): Likewise.
15608         (SOL_NETLINK): Likewise.
15609         (SOL_TIPC): Likewise.
15610         (SOL_RXRPC): Likewise.
15611         (SOL_PPPOL2TP): Likewise.
15612         (SOL_BLUETOOTH): Likewise.
15613         (SOL_PNPIPE): Likewise.
15614         (SOL_RDS): Likewise.
15615         (SOL_IUCV): Likewise.
15616         (SOL_CAIF): Likewise.
15617         (SOL_ALG): Likewise.
15618         (SOL_NFC): Likewise.
15619         (SOL_KCM): Likewise.
15620         (MSG_BATCH): New enum value and macro.
15622 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15624         [BZ #18185]
15625         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15626         sharing L2 cache to 2 for Knights Landing.
15628 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15630         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15631         (FTW_DP): Do not expect for [XPG3 || XPG4].
15632         (FTW_SL): Do not expect for [XPG3].
15633         (FTW_SLN): Likewise.
15634         (FTW_PHYS): Likewise.
15635         (FTW_MOUNT): Likewise.
15636         (FTW_DEPTH): Likewise.
15637         (FTW_CHDIR): Likewise.
15638         (nftw): Likewise.
15639         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15640         variable.
15642 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15644         * manual/errno.texi: Fix various typos & grammar errors.
15646 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15648         * manual/intro.texi: Fix duplicated typo.
15650 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15652         [BZ #13304]
15653         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15654         <float.h>, <math_private.h> and <stdlib.h>.
15655         (add_split): New function.
15656         (mul_split): Likewise.
15657         (ext_val): New typedef.
15658         (store_ext_val): New function.
15659         (mul_ext_val): New function.
15660         (compare): New function.
15661         (add_split_ext): New function.
15662         (__fmal): After checking for Inf, NaN and zero, compute result as
15663         an exact sum of scaled double values in round-to-nearest before
15664         adding those up and adjusting for other rounding modes.
15665         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15666         tests of fma.
15667         * math/auto-libm-test-out: Regenerated.
15669 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15671         [BZ #20119]
15672         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15673         processor level type mask for CPUID with EAX == 11.
15675 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15677         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15678         logical threads if the HTT bit is 0.
15679         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15680         (index_cpu_HTT): Likewise.
15681         (reg_HTT): Likewise.
15683 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15685         [BZ #20115]
15686         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15687         Remove alignments on jump targets.
15689 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15691         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15692         (getpwent): Likewise.
15693         (setpwent): Likewise.
15694         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15695         variable.
15697         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15698         (remque): Likewise.
15699         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15700         variable.
15702 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15704         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15705         not being tested.
15707 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15709         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15710         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15711         call.
15712         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15713         (__condvar_cleanup1): Likewise.
15715 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15717         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15718         New
15719         (__pthread_unwind): Renamed to ...
15720         (PTHREAD_UNWIND): This.
15721         (__pthread_enable_asynccancel): Replace
15722         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15724 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15726         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15727         (CLONE_NEWCGROUP): New macro.
15729         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15730         (Q_GETNEXTQUOTA): New macro.
15732 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15734         [BZ #19907]
15735         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15736         buffer updated by the previous run.
15737         * string/test-memcpy.c (do_one_test): Likewise.
15738         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15739         * string/test-memmove.c (do_one_test): Likewise.
15741 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15743         [BZ #20094]
15744         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15745         not [__USE_XOPEN].
15746         (unlockpt): Likewise.
15747         (ptsname): Likewise.
15748         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15749         variable.
15751         [BZ #20076]
15752         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15753         instead of [__USE_UNIX98].
15754         (S_ISSOCK): Likewise.
15755         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15756         variable.
15758         [BZ #20074]
15759         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15760         [__USE_POSIX].
15761         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15762         variable.
15764         [BZ #20051]
15765         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15766         (ttyslot): Do not declare.
15767         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15768         (ttyslot): New prototype.
15769         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15770         variable.
15771         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15773 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15775         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15777 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15779         Fix race condition in tst-mallocfork2, use fewer resources.
15780         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15781         to current process group.
15782         (signal_sender): Yield in the non-sleeping case.
15784 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15786         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15787         (ecvt): Likewise.
15788         (fcvt): Likewise.
15789         (gcvt): Likewise.
15790         (getsubopt): Likewise.
15791         (grantpt): Likewise.
15792         (initstate): Likewise.
15793         (l64a): Likewise.
15794         (mktemp): Likewise.
15795         (mkstemp): Likewise.
15796         (ptsname): Likewise.
15797         (random): Likewise.
15798         (realpath): Likewise.
15799         (setstate): Likewise.
15800         (srandom): Likewise.
15801         (ttyslot): Likewise.
15802         (unlockpt): Likewise.
15803         (valloc): Likewise.
15805         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15806         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15807         variable.
15809 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15811         [BZ #20072]
15812         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15813         init_cpu_features only if SHARED is defined.
15814         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15816 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15818         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15819         non-inclusive caches on Intel processors.
15821 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15823         * malloc/malloc.c (dumped_main_arena_start)
15824         (dumped_main_arena_end): New variables.
15825         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15826         (do_check_chunk): Skip dumped fake mmapped chunks.
15827         (munmap_chunk): Likewise.
15828         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15829         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15830         mmapped chunks.
15831         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15832         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15833         and dumped_main_arena_end to cover the dumped heap.
15835 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15837         * conform/data/time.h-data (getdate_err): Do not expect for
15838         [XPG3].
15839         (getdate): Likewise.
15840         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15841         variable.
15843         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15844         (F_ULOCK): Likewise.
15845         (F_TEST): Likewise.
15846         (F_TLOCK): Likewise.
15847         (useconds_t): Likewise.
15848         (intptr_t): Do not expect for [XPG3] or [XPG4].
15849         (brk): Do not expect for [XPG3]
15850         (fchown): Likewise.
15851         (fchdir): Likewise.
15852         (ftruncate): Likewise.
15853         (getdtablesize): Likewise.
15854         (gethostid): Likewise.
15855         (getpagesize): Likewise.
15856         (getpgid): Likewise.
15857         (getsid): Likewise.
15858         (getwd): Likewise.
15859         (lchown): Likewise.
15860         (lockf): Likewise.
15861         (readlink): Likewise.
15862         (sbrk): Likewise.
15863         (setpgrp): Likewise.
15864         (setregid): Likewise.
15865         (setreuid): Likewise.
15866         (symlink): Likewise.
15867         (sync): Likewise.
15868         (truncate): Likewise.
15869         (ualarm): Likewise.
15870         (usleep): Likewise.
15871         (vfork): Likewise.
15872         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15873         variable.
15875         [BZ #20054]
15876         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15877         not [__USE_UNIX98].
15878         * conform/data/unistd.h-data (gethostname): Do not expect for
15879         [XPG3].
15881         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15882         [!POSIX] (S_IFBLK): Likewise.
15883         [!POSIX] (S_IFCHR): Likewise.
15884         [!POSIX] (S_IFIFO): Likewise.
15885         [!POSIX] (S_IFREG): Likewise.
15886         [!POSIX] (S_IFDIR): Likewise.
15887         [!POSIX] (S_IFLNK): Likewise.
15888         [!POSIX] (S_IFSOCK): Likewise.
15889         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15890         variable.
15891         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15893 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15895         * sysdeps/aarch64/memset.S (__memset):
15896         Rewrite of optimized memset.
15898 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15900         [BZ #19703]
15901         Partially async-signal-safe fork for single-threaded processes.
15902         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15903         variable.  Do not acquire and reset/release malloc and libio locks
15904         in single-threaded processes.
15905         * malloc/tst-mallocfork2.c: New file.
15906         * malloc/Makefile (tests): Add it.
15908 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15910         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15911         argument.  Use scratch buffer instead of extend_alloca.
15912         (gethosts): Use scratch buffer instead of extend_alloca.
15913         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15914         extend_alloca.
15915         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15917 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15919         [BZ #20055]
15920         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15921         instead of [__USE_UNIX98].
15922         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15923         [__USE_UNIX98].
15924         * conform/data/termios.h-data (tcgetsid): Do not expect for
15925         [XPG3].
15926         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15927         variable.
15928         (test-xfail-XPG4/termios.h/conform): Likewise.
15930 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15932         Do not use mcheck in localedef.
15933         * locale/programs/localedef.c (turn_on_mcheck)
15934         (__malloc_initialize_hook): Remove.
15936 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15938         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15939         * sysdeps/s390/s390-64/Makefile: Likewise.
15941 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15943         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15944         Remove ifunc-defines.sym.
15945         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15946         Likewise.
15947         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15948         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15949         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15950         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15951         rtld-global-offsets.sym.
15952         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15953         * sysdeps/x86/cpu-features-offsets.sym: This.
15954         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15955         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15957 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15959         [BZ #20073]
15960         * io/sys/stat.h (fchmod): Declare for
15961         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15962         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15963         variable.
15965         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15966         [XPG3] (S_IFSOCK): Likewise.
15967         [XPG3] (S_ISVTX): Likewise.
15968         [XPG3] (S_ISLNK): Likewise.
15969         [XPG3] (S_ISSOCK): Likewise.
15970         [XPG3] (fchmod): Likewise.
15971         [XPG3] (lstat): Likewise.
15972         [XPG3] (mknod): Likewise.
15974         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15975         [XPG3].  Expect type long and XFAIL for [XPG4].
15976         (st_blocks): Likewise.
15978         [BZ #20044]
15979         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15980         (pthread_atfork): New prototype.
15981         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15982         variable.
15984         [BZ #20043]
15985         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15986         prototype.
15988 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15990         [BZ #20017]
15991         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15992         gmtime.
15994 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15996         [BZ #19994]
15997         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15998         flag in _res.options.
16000 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16002         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16003         [XPG3 || XPG4].
16004         (blksize_t): Likewise.
16005         (clockid_t): Likewise.
16006         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16007         variable.
16008         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16010 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16012         * sysdeps/unix/sysv/linux/s390/init-first.c:
16013         Add VDSO_SYMBOL(getcpu).
16014         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16015         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16016         Add VDSO_SYMBOL(getcpu).
16017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16018         New define HAVE_GETCPU_VSYSCALL.
16019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16021 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16023         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16024         instead of <sysdeps/x86_64/cacheinfo.c>.
16025         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16026         * sysdeps/x86/cacheinfo.c: Here.
16028 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16030         * malloc/malloc-internal.h: Adjust header file guard.
16032 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16034         [BZ #19787]
16035         * inet/getnameinfo.c (check_sprintf_result): New function.
16036         (CHECKED_SNPRINTF): New macro.
16037         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16038         to the host buffer.
16039         (gni_host_local): Use checked_copy to copy the host name.
16040         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16041         (gni_serv_local): Use checked_copy to copy the service name.
16042         (getnameinfo): Remove unnecessary truncation of result buffers.
16044 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16046         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16047         in case of inet_ntop failure.
16049 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16051         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16052         avoid long lines.
16053         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16054         variables.
16055         (gni_host_inet, gni_host_local): Add comment.
16056         (gni_host): Add comment.  Use temporary to avoid long lines.
16058 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16060         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16061         registers specifiers where general purpose registers specifiers should
16062         have been used.
16064 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16066         [BZ #19779]
16067         CVE-2016-1234
16068         Avoid copying names of directory entries.
16069         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16070         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16071         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16072         (struct readdir_result): New type.
16073         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16074         (GL_READDIR): New macros.
16075         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16076         (convert_dirent, convert_dirent64): New functions.
16077         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16078         convert_dirent64.  Adjust references to the readdir result.
16079         * sysdeps/unix/sysv/linux/i386/glob64.c:
16080         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16081         * posix/bug-glob2.c (LONG_NAME): Define.
16082         (filesystem): Add LONG_NAME.
16083         (my_DIR): Increase the size of room_for_dirent.
16085 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16087         [BZ #20041]
16088         * misc/sys/select.h (__need_timespec): Only define if
16089         [__USE_XOPEN2K].
16090         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16091         variable.
16092         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16093         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16094         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16096 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16097             Segher Boessenkool  <segher@gcc.gnu.org>
16099         [BZ #20004]
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16101         (__novec_swapcontext): Add missing load.
16103 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16105         [BZ #20023]
16106         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16107         <time.h>.
16108         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16109         variable.
16110         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16112 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16115         flags CLONE_VM compare.
16117 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16119         [BZ #20031]
16120         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16121         completely empty.
16123 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16125         [BZ #19573]
16126         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16127         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16128         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16129         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16130         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16131         (hesiod_free_list): Mark as hidden.
16132         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16133         res_set, res_get.
16134         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16135         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16136         (hesiod_init): Remove obsolete res_ninit call.
16137         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16138         (hesiod_bind): Do not call init.
16139         (get_txt_records): Use res_mkquery, res_send instead of
16140         res_nmkquery, res_nsend.
16141         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16142         instead of _nss_hesiod_init.
16143         (_nss_hesiod_initgroups_dyn): Likewise.
16144         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16145         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16146         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16148 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16150         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16151         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16153 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16155         * hesiod/hesiod.h: Remove RCS keyword.
16156         * hesiod/hesiod_p.h: Likewise.
16158         * hesiod/hesiod.c: Likewise.
16160 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16162         [BZ #12450]
16163         * locale/iso-639.def: Add Samogitian/sgs.
16165 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16167         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16169         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16171 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16172             Carlos O'Donell  <carlos@redhat.com>
16174         [BZ #19072]
16175         * grp/Makefile (headers): Add grp-merge.h
16176         (routines): Add grp-merge.
16177         * grp/getgrgid_r.c: Include grp-merge.h.
16178         (DEEPCOPY_FN): Define.
16179         (MERGE_FN): Define.
16180         * grp/getgrname_r.c: Include grp-merge.h.
16181         (DEEPCOPY_FN): Define.
16182         (MERGE_FN): Define.
16183         * grp/grp-merge.c: New file.
16184         * grp/grp-merge.h: New file.
16185         * include/grp-merge.h: New file.
16186         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16187         __copy_grp@GLIBC_PRIVATE.
16188         * manual/nss.texi (Actions in the NSS configuration): Describe
16189         return, continue, and merge.
16190         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16191         (DEEPCOPY_FN): Define.
16192         (MERGE_FN): Define.
16193         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16194         (DEEPCOPY_FN): Define.
16195         (MERGE_FN): Define.
16196         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16197         [!MERGE_FN]: Define __merge_einval.
16198         (CHECK_MERGE): Define.
16199         (REENTRANT_NAME): Process merge if do_merge is true.
16200         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16201         (__nss_getent_r): Likewise.
16202         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16203         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16205 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16207         [BZ #20012]
16208         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16209         length to calculate the buffer to read.
16210         (fmemopen_write): Set the buffer position based on bytes written.
16211         (fmemopen_seek): Return EINVAL for invalid whence modes.
16213         [BZ #19957]
16214         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16215         tst-getpid2.
16216         (test): Add tst-clone2.
16217         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16218         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16219         pid/tid fields for CLONE_VM.
16220         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16221         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16222         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16223         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16224         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16225         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16226         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16227         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16229         Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16231         Likewise.
16232         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16233         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16234         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16235         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16236         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16237         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16238         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16239         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16241 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16243         [BZ #19642]
16244         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16245         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16246         (gni_serv_local, gni_serv): New functions extracted from
16247         getnameinfo.
16248         (getnameinfo): Call gni_host and gni_serv to perform the
16249         processing.  Always free scratch buffer.
16251 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16253         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16254         remaining bytes in the dest string, with zeros.
16256 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16258         [BZ #20010]
16259         CVE-2016-3706
16260         * sysdeps/posix/getaddrinfo.c
16261         (convert_hostent_to_gaih_addrtuple): New function.
16262         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16263         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16264         AF_INET data.
16266 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16268         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16269         callback function gl_readdir.
16270         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16271         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16272         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16273         memcpy to copy the name.
16274         * manual/pattern.texi (Calling Glob): Document requirements for
16275         implementations of the gl_readdir callback function.
16276         * manual/examples/mkdirent.c: New example.
16277         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16278         per the manual guidance.
16279         * posix/tst-gnuglob.c (my_readdir): Likewise.
16281 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16283         [BZ #20014]
16284         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16285         not [__USE_POSIX].
16286         (getchar_unlocked): Likewise.
16287         (putc_unlocked): Likewise.
16288         (putchar_unlocked): Likewise.
16289         (flockfile): Likewise.
16290         (ftrylockfile): Likewise.
16291         (funlockfile): Likewise.
16292         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16293         variable.
16294         (test-xfail-XPG4/stdio.h/conform): Likewise.
16296         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16297         Expect constant.
16298         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16299         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16300         variable.
16301         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16302         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16304         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16305         [__USE_LARGEFILE64] (off64_t): Likewise.
16306         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16307         variable.
16309 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16311         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16315         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16316         * resolv/res_init.c: Likewise.
16317         * resolv/res_mkquery.c: Likewise.
16319 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16321         * resolv/res_init.c (isascii): Do not define.  Use definition in
16322         <ctype.h>.
16323         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16324         (LOG_AUTH): Remove.
16325         (SPRINTF): Remove, adjust caller.
16326         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16328 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16330         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16331         SUNSECURITY conditional.
16332         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16336         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16337         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16338         Remove BSD-related preprocessor conditionals.
16339         * conf/portability.h: Remove.
16341 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16343         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16344         * resolv/res_data.c: Likewise.
16346 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16348         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16349         * resolv/res_data.c: Remove code conditional on ultrix.
16351 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16353         * resolv/res_init.c (RFC1535): Do not define.  Remove
16354         RFC1535 preprocessor conditionals.
16355         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16356         because there configuration options which make the resolver
16357         behavior different.
16359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16361         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16362         RESOLVSORT preprocessor conditionals.
16363         * resolv/nss_dns/dns-host.c: Likewise.
16364         * resolv/res_init.c: Likewise.
16366 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16368         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16369         is never defined.
16371 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16373         * inet/inet_lnaof.c: Remove SCSS keyword.
16374         * inet/inet_mkadr.c: Likewise.
16375         * inet/inet_net.c: Likewise.
16376         * inet/inet_netof.c: Likewise.
16377         * inet/rcmd.c: Likewise.
16378         * inet/rexec.c: Likewise.
16379         * inet/ruserpass.c: Likewise.
16381 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16383         * resolv/inet_addr.c: Remove _LIBC conditionals.
16384         * resolv/res_data.c: Likewise.
16385         * resolv/res_init.c: Likewise.
16386         * resolv/res_mkquery.c: Likewise.
16387         * resolv/res_libc.c: Update comment.
16388         * resolv/README: Update.
16390 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16392         * resolv/gethnamaddr.c: Remove SCSS keyword.
16393         * resolv/herror.c: Likewise.
16394         * resolv/inet_addr.c: Likewise.
16395         * resolv/inet_net_ntop.c: Likewise.
16396         * resolv/inet_net_pton.c: Likewise.
16397         * resolv/inet_neta.c: Likewise.
16398         * resolv/inet_ntop.c: Likewise.
16399         * resolv/inet_pton.c: Likewise.
16400         * resolv/ns_date.c: Remove RCS keyword.
16401         * resolv/ns_name.c: Likewise.
16402         * resolv/ns_netint.c: Likewise.
16403         * resolv/ns_parse.c: Likewise.
16404         * resolv/ns_print.c: Likewise.
16405         * resolv/ns_samedomain.c: Likewise.
16406         * resolv/ns_ttl.c: Likewise.
16407         * resolv/nsap_addr.c: Likewise.
16408         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16409         * resolv/res_data.c: Remove RCS keyword.
16410         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16411         * resolv/res_init.c: Likewise.
16412         * resolv/res_mkquery.c: Likewise.
16413         * resolv/res_query.c: Likewise.
16414         * resolv/res_send.c: Likewise.
16416 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16418         * conform/data/stdio.h-data (fdopen): Expect also for
16419         [XPG3 || XPG4].
16421         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16422         (fseeko): Likewise.
16423         (ftello): Likewise.
16424         (ftrylockfile): Likewise.
16425         (funlockfile): Likewise.
16426         (getc_unlocked): Likewise.
16427         (getchar_unlocked): Likewise.
16428         (putc_unlocked): Likewise.
16429         (putchar_unlocked): Likewise.
16431 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16433         [BZ #19868]
16434         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16435         DNS packet syntax checks (which were not needed before).  Skip
16436         over non-PTR records.
16438 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16440         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16441         definition.  Include <stddef.h> instead.
16443 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16445         [BZ #19831]
16446         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16447         function.
16448         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16449         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16451 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16453         [BZ #19862]
16454         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16455         (getanswer_r): Do not call syslog.
16456         (gaih_getanswer_slice): Likewise.
16457         * resolv/gethnamaddr.c (AskedForGot): Remove.
16458         (getanswer): Do not call syslog.
16459         (gethostbyaddr): Likewise.
16461 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16463         * conform/data/signal.h-data (union sigval): Expect also if
16464         [XOPEN2K].
16465         (struct sigevent): Likewise.
16466         (SIGEV_NONE): Likewise.
16467         (SIGEV_SIGNAL): Likewise.
16468         (SIGEV_THREAD): Likewise.
16469         (SIGRTMIN): Likewise.
16470         (SIGRTMAX): Likewise.
16471         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16472         variable.
16473         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16475 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16477         [BZ #19830]
16478         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16479         (gaih_getanswer_slice): Likewise.
16480         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16481         Also check for availability of RR metadata.
16483 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16485         [BZ #19825]
16486         * resolv/res_send.c (send_vc): Remove early *resplen2
16487         initialization.  Set *resplen2 on socket error.  Call
16488         close_and_return_error for other errors.
16490 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16492         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16493         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16494         (SCM_IUCV_TRGCLS): New define.
16496 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16498         [BZ #20005]
16499         * libio/fmemopen.c (fmemopen_write): Update internal position after
16500         write.
16501         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16502         * stdio-common/tst-fmemopen4.c: New file..
16504 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16506         [BZ #19996]
16507         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16508         not [__USE_XOPEN2K].
16509         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16510         variable.
16512         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16513         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16514         variable.
16516         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16517         [__USE_XOPEN2K8].
16518         [__USE_LARGEFILE64] (off64_t): Likewise.
16519         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16520         variable.
16522 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16524         [BZ #19989]
16525         * libio/stdio.h (cuserid): Do not declare if
16526         [__USE_XOPEN2K && !__USE_GNU].
16527         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16528         variable.
16530 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16532         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16533         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16535         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16536         ifunc'ed strcspn.
16537         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16538         [EALIGN]: Removed.
16539         [END]: Likewise
16540         [STRSPN]: Define instead of the above to control symbol name.
16541         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16542         New file.
16543         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16544         Likewise.
16545         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16546         Likewise.
16547         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16548         Likewise.
16549         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16550         [INITIAL_MASK]: New macro.
16551         [STRCSPN]: Likewise.
16552         [UPDATE_MASK]: Likewise.
16553         [USE_AS_STRCSPN]: Likewise.
16555 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16557         [BZ #19931]
16558         * stdio-common/tst-vfprintf-width-prec.c: New file.
16559         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16560         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16561         (generated): Add mtrace-related files.
16562         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16563         (tst-%-mem.out): New pattern rule, replaces
16564         tst-printf-bz18872-mem.out.
16565         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16566         specifier, deallocate any previously allocated work buffer.
16568 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16570         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16571         Add nop before __startcontext, add explaining comments.
16573 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16575         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16576         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16577         completely different API.
16579         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16580         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16581         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16582         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16583         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16584         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16585         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16586         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16587         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16588         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16590 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16592         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16594 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16596         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16597         when it is the default of 0.
16599 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16601         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16602         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16603         (sysdep_routines): Add new strcasestr targets.
16604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16605         (__libc_ifunc_impl_list): Likewise.
16606         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16607         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16608         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16609         * sysdeps/powerpc/powerpc64/power8/Makefile:
16610         New file to add strcasestr-ppc64 to sysdep_routines.
16611         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16612         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16614 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16616         * benchtests/Makefile (wcsmbs-benchset): Include only for
16617         native builds and runs.
16618         (LOCALES): Likewise.
16619         (bench-build): Build timing-type here instead of the bench
16620         target.  Generate locale only for native builds.
16621         * benchtests/README: Add note for cross-building.
16623         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16625         * benchtests/README: Update README to include instructions on
16626         using bench-build.
16628         * Makefile.in (bench-build): New target.
16629         * Rules (PHONY): Add bench-build target.
16630         * benchtests/Makefile (bench): Depend on bench-build.
16631         (bench-build): New target.
16633 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16635         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16636         profil_reply_port.
16637         (profile_waiter): Do not initialize profil_reply_port.
16638         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16639         frequency instead of tick length in us.
16641 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16643         [BZ #18712]
16644         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16645         (__old_mempcpy_small): Likewise.
16646         (__old_strcpy_small): Likewise.
16647         (__old_stpcpy_small): Likewise.
16648         (__old_strpbrk_c2): Fix compat symbol name.
16649         (__old_strpbrk_c3): Likewise.
16650         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16651         (__mempcpy_small): Remove.
16652         (__strcpy_small): Remove.
16653         (__stpcpy_small): Remove.
16655 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16657         [BZ #19400]
16658         * locale/iso-639.def: Add the Talossan/tzl language.
16660 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16662         [BZ #16983]
16663         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16664         comment.  Add "ln" to strchr check on postal_fmt.
16666 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16668         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16669         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16670         tel_dom_fmt.
16672 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16674         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16675         (sysdep_routines): Added __strlen_power8.
16676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16677         __strlen_power8 entry.
16678         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16679         Implementation for POWER8.
16680         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16681         for __strlen_power8.
16682         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16683         Implementation for POWER8.
16685 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16687         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16689 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16691         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16692         Goldmont and Airmont processors.
16694 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16696         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16697         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16698         (__STRING2_SMALL_GET32): Remove.
16699         (memset): Remove.
16700         (__memset_1): Remove.
16701         (__memset_gc): Remove.
16702         (__mempcpy): Remove.
16703         (mempcpy): Remove.
16704         (__mempcpy_args): Remove.
16705         (strchr): Remove.
16706         (strcpy): Remove.
16707         (strcpy_args): Remove.
16708         (__stpcpy_args): Remove.
16709         (__strcmp_cc): Remove.
16710         (__strcmp_gc): Remove.
16711         (strstr): Remove.
16713 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16715         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16716         * nis/nis_call.c (nis_server_cache_add): Likewise.
16718 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16720         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16722 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16724         * malloc/arena.c (__malloc_fork_lock_parent)
16725         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16726         internal_function attribute.
16728 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16730         * stdio-common/printf_fp.c (__printf_fp_l):
16731         Rename ___printf_fp_l to __printf_fp_l and
16732         remove strong alias. Use libc_hidden_def instead
16733         of ldbl_hidden_def macro.
16735 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16737         Remove malloc hooks from fork handler.  They are no longer needed
16738         because malloc runs right before fork, and no malloc calls from
16739         other fork handlers are not possible anymore.
16740         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16741         declarations.
16742         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16743         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16744         (atfork_recursive_cntr): Remove.
16745         (__malloc_fork_lock_parent): Do not override malloc hooks and
16746         thread_arena.
16747         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16748         thread_arena.
16749         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16750         thread_arena instead of save_arena.
16752 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16754         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16755         (thread_atfork, thread_atfork_static): Remove.
16756         * sysdeps/mach/hurd/malloc-machine.h:
16757         (thread_atfork, thread_atfork_static): Remove.
16759 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16761         [BZ #19431]
16762         Run the malloc fork handler as late as possible to avoid deadlocks.
16763         * malloc/malloc-internal.h: New file.
16764         * malloc/malloc.c: Include it.
16765         * malloc/arena.c (ATFORK_MEM): Remove.
16766         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16767         Update comment.
16768         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16769         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16770         Remove outdated comment.
16771         (ptmalloc_init): Do not call thread_atfork.  Remove
16772         thread_atfork_static.
16773         * malloc/tst-malloc-fork-deadlock.c: New file.
16774         * Makefile (tests): Add tst-malloc-fork-deadlock.
16775         (tst-malloc-fork-deadlock): Link against libpthread.
16776         * manual/memory.texi (Aligned Memory Blocks): Update safety
16777         annotation comments.
16778         * sysdeps/nptl/fork.c (__libc_fork): Call
16779         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16780         __malloc_fork_unlock_child.
16781         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16783 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16785         [BZ #19613]
16786         Remove union wait.
16787         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16788         (w_stopsig, w_stopval): Remove.
16789         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16790         stat_loc argument.
16791         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16792         (__WAIT_STATUS_DEFN): Remove.
16793         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16794         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16795         (wait, wait3, wait4): Use int * for the stat_loc argument.
16796         * posix/wait.c (__wait): Likewise.
16797         * posix/wait3.c (__wait3): Likewise.
16798         * posix/wait4.c (__wait4): Likewise.
16799         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16800         (__WAIT_STATUS_DEFN): Remove.
16801         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16802         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16803         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16804         argument.
16805         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16806         * sysdeps/posix/wait3.c (__wait3): Likewise.
16807         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16808         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16809         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16810         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16811         stat_loc argument.
16812         * manual/process.texi (BSD Wait Functions): Remove union wait.
16814 2016-04-13  Andreas Schwab  <schwab@suse.de>
16816         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16817         (test-extras): Add tst-tlsalign-vars.
16818         * math/Makefile: Wrap long lines.
16819         (libm-vec-test-wrappers): Define.
16820         (test-extras): Add $(libm-vec-test-wrappers).
16821         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16822         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16823         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16824         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16825         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16826         (extra-test-objs): Add corresponding objects.
16828 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16830         [BZ #19928]
16831         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16832         New.
16833         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16834         times of shared cache size.
16835         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16836         (VMOVNT): New.
16837         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16838         (VMOVNT): Likewise.
16839         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16840         (VMOVNT): Likewise.
16841         (VMOVU): Changed to movups for smaller code sizes.
16842         (VMOVA): Changed to movaps for smaller code sizes.
16843         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16844         comments.
16845         (PREFETCH): New.
16846         (PREFETCH_SIZE): Likewise.
16847         (PREFETCHED_LOAD_SIZE): Likewise.
16848         (PREFETCH_ONE_SET): Likewise.
16849         Rewrite to use forward and backward loops, which move 4 vector
16850         registers at a time, to support overlapping addresses and use
16851         non temporal store if size is above the threshold and there is
16852         no overlap between destination and source.
16854 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16856         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16857         Include dl-vdso.
16858         * sysdeps/unix/sysv/linux/mips/Versions: Add
16859         __vdso_clock_gettime.
16860         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16861         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16862         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16863         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16864         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16865         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16866         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16867         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16868         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16870 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16872         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16873         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16876         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16877         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16880         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16882         syscalls generation.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16884         [__NR_pwrite64] (__NR_write): Remove define.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16886         [__NR_pwrite64] (__NR_write): Remove define.
16887         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16888         Remove define.
16889         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16890         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16891         Remove define.
16892         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16893         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16894         Linux implementation as base.
16895         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16897         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16898         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16903         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16904         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16905         syscall generation.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16907         [__NR_pread64] (__NR_pread): Remove define.
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16909         [__NR_pread64] (__NR_pread): Likewise.
16910         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16911         define.
16912         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16913         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16914         Remove define.
16915         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16916         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16917         Linux implementation as base.
16918         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16919         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16920         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16922         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16923         definition.
16924         (__ALIGNMENT_COUNT): Likewise.
16925         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16926         (__ALIGNMENT_COUNT): Likewise.
16927         (SYSCALL_LL): New define.
16928         (SYSCALL_LL64): Likewise.
16929         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16930         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16931         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16932         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16934         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16935         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16936         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16937         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16939         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16941 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16943         [BZ #19865]
16944         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16945         original buffer before retry.
16947 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16949         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16950         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16951         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16952         GLRO(dl_auxv) list.
16953         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16954         including <ldsodefs.h>.
16955         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16957 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16959         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16960         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16961         $(CPPFLAGS).
16963 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16965         [BZ #17950]
16966         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16967         Add -mfpmath=387.
16969 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16971         * sysdeps/i386/configure.ac: Change == to = when calling test.
16972         * sysdeps/x86_64/configure.ac: Likewise.
16973         * sysdeps/i386/configure: Regenerated.
16974         * sysdeps/x86_64/configure: Likewise.
16976 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16978         [BZ #16137]
16979         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16980         * benchtests/bench-strcoll.c (input_files): Likewise.
16981         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16982         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16983         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16985 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #19929]
16988         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16989         [__USE_XOPEN2K8 && !__USE_GNU].
16990         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16991         variable.
16993         [BZ #19925]
16994         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16995         define if [!__USE_MISC && __USE_XOPEN2K].
16996         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16997         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16999         Likewise.
17000         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17001         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17002         variable.
17003         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17005 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17007         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17008         (sysdep_routines): Add new strspn targets.
17009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17010         (__libc_ifunc_impl_list): Add strspn.
17011         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17012         New file.
17013         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17014         Likewise.
17015         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17016         Likewise.
17017         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17018         Likewise.
17020 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17022         * misc/hsearch_r.c: Include <limits.h>.
17024 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17026         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17028 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17030         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17031         (MEMCPY_SYMBOL): New.
17032         (MEMPCPY_SYMBOL): Likewise.
17033         (MEMMOVE_CHK_SYMBOL): Likewise.
17034         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17035         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17036         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17037         Provide alias for memcpy in libc.a and ld.so.
17039 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17041         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17042         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17043         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17044         Disabled fro now.
17045         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17046         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17048 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17050         * benchtests/Makefile (string-benchset): Add memcpy-large,
17051         memmove-large and memset-large.
17052         * benchtests/bench-memcpy-large.c: New file.
17053         * benchtests/bench-memmove-large.c: Likewise.
17054         * benchtests/bench-memmove-large.c: Likewise.
17055         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17057 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17059         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17060         32-bit displacement to avoid long nop between instructions.
17062 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17064         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17065         a comment on VMOVU and VMOVA.
17067 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17069         [BZ #19633]
17070         Use specified locale for number formatting in strfmon_l.
17071         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17072         (__nl_lookup_word): New inline functions.
17073         * include/printf.h (__print_fp_l): Declare.
17074         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17075         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17076         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17077         (___printf_fp): New function.
17078         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17079         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17080         * stdlib/tst-strfmon_l.c (do_test): New test.
17081         * stdlib/Makefile (tests): Add kt.
17082         (LOCALES): Build additional locales.
17083         (tst-strfmon_l.out): Require locales.
17085 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17087         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17088         if not in libc.
17089         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17090         Likewise.
17091         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17092         Likewise.
17093         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17094         Likewise.
17096 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17098         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17099         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17100         with unaligned_erms.
17101         (__memmove_erms): Skip if source == destination.
17102         (__memmove_unaligned_erms): Don't check source == destination
17103         first.
17105 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17107         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17108         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17110 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17112         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17113         * string/strspn.c (strspn): Likewise.
17115 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17117         * benchtests/bench-memset.c (do_test): Support 64-byte
17118         alignment.
17119         (test_main): Test 64-byte alignment.
17121 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17123         * benchtests/bench-memmove.c (test_main): Test 64-byte
17124         alignment.
17126 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17128         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17130 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17132         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17133         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17134         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17136         * string/strpbrk.c (strpbrk): Rewrite function.
17137         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17138         (__strpbrk_c2): Likewise.
17139         (__strpbrk_c3): Likewise.
17140         * string/string-inlines.c
17141         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17142         Likewise.
17143         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17144         Likewise.
17146         * string/strspn.c (strcspn): Rewrite function.
17147         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17148         (__strspn_c1): Remove inline function.
17149         (__strspn_c2): Likewise.
17150         (__strspn_c3): Likewise.
17151         * string/string-inlines.c
17152         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17153         compatibility symbol.
17154         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17155         Likewise.
17156         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17157         Likewise.
17158         * string/string-inlines.c: Include generic version.
17160 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17161             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17163         * string/Version (libc): Add GLIBC_2.24.
17164         * string/strcspn.c (strcspn): Rewrite function.
17165         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17166         (__strcspn_c1): Remove inline function.
17167         (__strcspn_c2): Likewise.
17168         (__strcspn_c3): Likewise.
17169         * string/string-inline.c
17170         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17171         compatibility symbol.
17172         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17173         Likewise.
17174         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17175         Likewise.
17176         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17178 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17180         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17181         Use ahi instead of aghi to adjust stack pointer.
17183 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17185         [BZ #19853]
17186         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17187         TEST to take significant digits as second parameter.
17188         [TEST]: Redefine in terms of TEST_N taking 30
17189         significant digits.
17190         (do_test): Add test case to demonstrate precision
17191         failure in the ldbl-128ibm printf.
17192         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17193         (__mpn_extract_long_double): Carry 7 extra intermediate
17194         bits of precision to aide computing difference when
17195         signs differ.
17197 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17199         [BZ #19881]
17200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17201         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17202         memset-avx512-unaligned-erms.
17203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17204         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17205         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17206         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17207         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17208         __memset_sse2_unaligned_erms, __memset_erms,
17209         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17210         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17211         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17212         file.
17213         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17214         Likewise.
17215         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17216         Likewise.
17217         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17218         Likewise.
17220 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17222         [BZ #19776]
17223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17224         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17225         memmove-avx512-unaligned-erms.
17226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17227         (__libc_ifunc_impl_list): Test
17228         __memmove_chk_avx512_unaligned_2,
17229         __memmove_chk_avx512_unaligned_erms,
17230         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17231         __memmove_chk_sse2_unaligned_2,
17232         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17233         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17234         __memmove_avx512_unaligned_erms, __memmove_erms,
17235         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17236         __memcpy_chk_avx512_unaligned_2,
17237         __memcpy_chk_avx512_unaligned_erms,
17238         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17239         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17240         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17241         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17242         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17243         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17244         __mempcpy_chk_avx512_unaligned_erms,
17245         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17246         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17247         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17248         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17249         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17250         __mempcpy_erms.
17251         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17252         file.
17253         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17254         Likewise.
17255         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17256         Likewise.
17257         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17258         Likewise.
17260 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17262         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17263         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17264         (La_s390_64_regs): Likewise.
17265         (La_s390_32_retval): Append vector register lrv_v24.
17266         (La_s390_64_retval): Likeweise.
17267         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17268         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17269         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17270         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17272 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17274         [BZ #19916]
17275         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17276         to create a non-vector/vector version for _dl_runtime_resolve and
17277         _dl_runtime_profile. Move implementation to ...
17278         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17279         (_dl_runtime_resolve) Save and restore fpr/vrs.
17280         (_dl_runtime_profile) Save and restore vrs and fix some issues
17281         if _dl_call_pltexit is called.
17282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17283         Choose the correct resolver function if running on a machine with vx.
17284         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17285         to create a non-vector/vector version for _dl_runtime_resolve and
17286         _dl_runtime_profile. Move implementation to ...
17287         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17288         (_dl_runtime_resolve) Save and restore fpr/vrs.
17289         (_dl_runtime_profile) Save and restore vrs and fix some issues
17290         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17291         Choose the correct resolver function if running on a machine with vx.
17293 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17295         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17297 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17299         [BZ #19509]
17300         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17301         skip_map != NULL.
17302         * elf/tst-dlsym-error.c: New file.
17303         * elf/Makefile (tests): Add tst-dlsym-error.
17304         (tst-dlsym-error): Link against libdl.
17306 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17309         (__ASSUME_FUTIMESAT): Remove macro.
17310         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17312 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17314         [BZ #19879]
17315         CVE-2016-3075
17316         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17317         copy name.
17319 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17321         [BZ #19837]
17322         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17323         error if parse_line fails.
17325 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17327         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17328         (index_cpu_ERMS): Likewise.
17329         (reg_ERMS): Likewise.
17331 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17333         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17334         PER_LINUX_FDPIC): Add.
17336 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17339         memcpy-avx512-no-vzeroupper.
17340         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17341         to ...
17342         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17343         (MEMCPY): Don't define.
17344         (MEMCPY_CHK): Likewise.
17345         (MEMPCPY): Likewise.
17346         (MEMPCPY_CHK): Likewise.
17347         (MEMPCPY_CHK): Renamed to ...
17348         (__mempcpy_chk_avx512_no_vzeroupper): This.
17349         (MEMPCPY_CHK): Renamed to ...
17350         (__mempcpy_chk_avx512_no_vzeroupper): This.
17351         (MEMCPY_CHK): Renamed to ...
17352         (__memmove_chk_avx512_no_vzeroupper): This.
17353         (MEMCPY): Renamed to ...
17354         (__memmove_avx512_no_vzeroupper): This.
17355         (__memcpy_avx512_no_vzeroupper): New alias.
17356         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17358 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17360         [BZ #18858]
17361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17362         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17363         and mempcpy-avx512-no-vzeroupper.
17364         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17365         New.
17366         (MEMPCPY): Likewise.
17367         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17368         (MEMPCPY_CHK): New.
17369         (MEMPCPY): Likewise.
17370         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17371         (MEMPCPY): Likewise.
17372         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17373         (MEMPCPY): Likewise.
17374         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17375         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17376         Likewise.
17377         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17378         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17380 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17381              Amit Pawar  <Amit.Pawar@amd.com>
17383         [BZ #19583]
17384         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17385         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17386         processors.  Set Fast_Copy_Backward for AMD Excavator
17387         processors.
17388         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17389         New.
17390         (index_arch_Fast_Unaligned_Copy): Likewise.
17391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17392         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17394 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17396         [BZ #19791]
17397         * resolv/res_send.c (close_and_return_error): New function.
17398         (send_dg): Initialize *resplen2 after reopen failure.  Call
17399         close_and_return_error for error returns.  On error paths without
17400         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17401         successful return.
17403 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17405         [BZ #19860]
17406         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17407         zero if the compiler does not provide the AVX512F bit.
17409 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17411         [BZ #19848]
17412         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17413         from 8 to 4.
17414         (__ieee754_powl): Compare integer exponent against 4 not 8.
17415         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17416         from 8 to 4.
17417         (__ieee754_powl): Compare integer exponent against 4 not 8.
17418         * math/auto-libm-test-in: Add more tests of pow.
17419         * math/auto-libm-test-out: Regenerated.
17420         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17423 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17425         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17426         Make code unconditional.
17427         [!__NR_utimensat]: Remove conditional code.
17428         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17429         Make code unconditional.
17430         [!__NR_utimensat]: Remove conditional code.
17431         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17432         Make code unconditional.
17433         [!__NR_utimensat]: Remove conditional code.
17435 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17437         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17438         Make code unconditional.
17440 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17442         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17443         call-clobbered %eax on retry path.
17444         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17446 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17448         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17449         Don't set %rcx twice before "rep movsb".
17451 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17453         [BZ #19583]
17454         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17455         inline.  Check family before setting family, model and
17456         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17457         bits here.
17458         (init_cpu_features): Replace HAS_CPU_FEATURE and
17459         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17460         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17461         for Intel processors with usable AVX2.  Call get_common_indeces
17462         for other processors with family == NULL.
17463         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17464         (CPU_FEATURES_ARCH_P): Likewise.
17465         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17466         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17468 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17470         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17471         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17472         $(shared-thread-library) instead of hardcoding the path to libpthread.
17474 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17476         * sysdeps/unix/sysv/linux/kernel-features.h
17477         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17478         * sysdeps/unix/sysv/linux/getdents.c
17479         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17480         [!have_no_getdents64_defined]: Likewise.
17481         (__GETDENTS): Remove __have_no_getdents64 conditional.
17483 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17486         Remove macro.
17487         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17488         <kernel-features.h>.
17489         (signalfd) [__NR_signalfd4]: Make code unconditional.
17490         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17492 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17494         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17495         style.
17497 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17499         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17500         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17501         __pthread_unwind.
17502         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17503         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17504         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17505         (__condvar_cleanup1): Likewise.
17507 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17509         [BZ #19822]
17510         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17511         move it to the final $@ location.
17513 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17515         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17516         access where posix_spawn success and pid argument is null.
17517         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17518         success case.
17520 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17522         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17524         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17526         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17527         and __fcntl.
17528         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17529         __fcntl only.
17530         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17531         adding attribute_hidden to __open and __fcntl.
17533         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17534         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17535         depend on libc-modules.h,
17536         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17538 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17540         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17541         Remove macro.
17542         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17543         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17544         entry.
17546         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17547         Remove macro.
17548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17549         include <kernel-features.h>.
17550         [!__ASSUME_FALLOCATE]: Remove conditional code.
17551         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17553 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17555         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17556         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17557         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17558         (_ZGVdN4v_cos_avx2): Likewise.
17559         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17560         (_ZGVdN4v_cos): Likewise.
17561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17562         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17564         (_ZGVdN4v_exp_avx2): Likewise.
17565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17566         (_ZGVdN4v_exp): Likewise.
17567         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17568         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17569         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17570         (_ZGVdN4v_log_avx2): Likewise.
17571         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17572         (_ZGVdN4v_log): Likewise.
17573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17574         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17576         (_ZGVdN4vv_pow_avx2): Likewise.
17577         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17578         (_ZGVdN4vv_pow): Likewise.
17579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17580         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17582         (_ZGVdN4v_sin_avx2): Likewise.
17583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17584         (_ZGVdN4v_sin): Likewise.
17585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17586         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17587         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17588         (_ZGVdN4vvv_sincos_avx2): Likewise.
17589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17590         (_ZGVdN4vvv_sincos): Likewise.
17591         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17592         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17593         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17594         (_ZGVbN4v_cosf_sse4): Likewise.
17595         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17596         (_ZGVdN8v_cosf_avx2): Likewise.
17597         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17598         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17599         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17600         (_ZGVbN4v_expf_sse4): Likewise.
17601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17602         (_ZGVdN8v_expf_avx2): Likewise.
17603         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17604         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17605         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17606         (_ZGVbN4v_logf_sse4): Likewise.
17607         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17608         (_ZGVdN8v_logf_avx2): Likewise.
17609         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17610         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17611         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17612         (_ZGVbN4vv_powf_sse4): Likewise.
17613         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17614         (_ZGVdN8vv_powf_avx2): Likewise.
17615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17616         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17617         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17618         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17619         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17620         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17622         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17623         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17624         (_ZGVbN4v_sinf_sse4): Likewise.
17625         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17626         (_ZGVdN8v_sinf_avx2): Likewise.
17627         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17628         Use JUMPTARGET to call callee.
17629         (WRAPPER_IMPL_SSE2_ff): Likewise.
17630         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17631         (WRAPPER_IMPL_AVX): Likewise.
17632         (WRAPPER_IMPL_AVX_ff): Likewise.
17633         (WRAPPER_IMPL_AVX_fFF): Likewise.
17634         (WRAPPER_IMPL_AVX512): Likewise.
17635         (WRAPPER_IMPL_AVX512_ff): Likewise.
17636         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17637         Likewise.
17638         (WRAPPER_IMPL_SSE2_ff): Likewise.
17639         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17640         (WRAPPER_IMPL_AVX): Likewise.
17641         (WRAPPER_IMPL_AVX_ff): Likewise.
17642         (WRAPPER_IMPL_AVX_fFF): Likewise.
17643         (WRAPPER_IMPL_AVX512): Likewise.
17644         (WRAPPER_IMPL_AVX512_ff): Likewise.
17645         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17647 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17649         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17650         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17651         qualifier.
17652         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17653         internal_function qualifiers.
17655 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17657         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17658         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17659         * math/atest-exp.c (exp_mpn): Mark chk unused.
17660         * math/atest-exp2.c (exp_mpn): Likewise.
17661         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17662         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17664 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17667         Remove macro.
17668         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17669         <kernel-features.h>.
17670         [__NR_ppoll]: Make code unconditional.
17671         [!__ASSUME_PPOLL]: Remove conditional code.
17673         * sysdeps/unix/sysv/linux/kernel-features.h
17674         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17675         (__ASSUME_ACCEPT4): Likewise.
17676         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17677         Define.
17678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17679         Likewise.
17680         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17681         Likewise.
17682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17685         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17686         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17687         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17688         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17689         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17692         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17693         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17695         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17696         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17698         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17700         Likewise.
17701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17702         Likewise.
17703         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17704         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17705         0x040300].
17706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17707         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17709         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17710         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17711         0x030300].
17712         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17713         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17714         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17715         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17716         0x040300].
17717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17720         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17721         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17722         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17723         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17724         0x030300].
17725         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17726         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17729         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17730         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17733         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17734         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17735         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17736         0x040300].
17737         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17738         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17739         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17740         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17741         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17742         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17743         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17744         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17747         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17748         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17751         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17752         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17754         Likewise.
17755         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17756         Likewise.
17758 2016-03-15  Andreas Schwab  <schwab@suse.de>
17760         [BZ #19257]
17761         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17762         statp->_u._ext.nscount as loop count.
17764 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17766         * math/test-signgam-finite-c99.c: Also #undef
17767         __LIBC_INTERNAL_MATH_INLINES.
17768         * math/test-signgam-main.c: Likewise.
17770 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17772         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17773         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17774         (MADV_FREE): Likewise.
17775         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17776         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17777         EPOLLEXCLUSIVE.
17779 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17781         * timezone/README: Remove mention of checktab.awk. Mention wiki
17782         SharedSourceFiles.
17784 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17786         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17787         WUNTRACED.
17789 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17791         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17792         order to match the type of p when calling atomic_exchange_acq().
17794 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17796         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17797         cfi_offset calls.
17798         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17799         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17800         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17801         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17802         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17804 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17806         * timezone/checktab.awk: Removed.
17808 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17810         * manual/math.texi (Errors in Math Functions): Document relaxed
17811         accuracy goals for IBM long double.
17812         * math/libm-test.inc (test_exceptions): Always allow spurious
17813         "underflow" and "inexact" exceptions for IBM long double.
17815 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17817         [BZ #19762]
17818         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17819         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17820         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17821         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17822         (bit_arch_*): This for feature array.
17823         (bit_*): Renamed to ...
17824         (bit_cpu_*): This for cpu array.
17825         (index_*): Renamed to ...
17826         (index_arch_*): This for feature array.
17827         (index_*): Renamed to ...
17828         (index_cpu_*): This for cpu array.
17829         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17830         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17831         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17832         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17833         bit_##name with index_cpu_##name and bit_cpu_##name.
17834         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17835         bit_##name with index_arch_##name and bit_arch_##name.
17837 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17839         [BZ #19792]
17840         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17841         Terminate FDE before return label.
17843 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17845         [BZ #19790]
17846         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17847         (rintl): Define as macro.
17848         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17849         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17850         of fesetround.  Ensure results are evaluated before end of scope.
17851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17852         USE_AS_NEARBYINTL and include s_rintl.c.
17853         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17854         Disable exception traps in new environment.
17855         (libc_feholdsetround_ppc_ctx): Likewise.
17857 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17859         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17860         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17861         (tst_audit10_aux) [__AVX512F__]: ... here.
17863 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17865         * include/sys/auxv.h: New file.
17867 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17869         [BZ #19759]
17870         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17872 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17874         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17875         operand modifier.
17876         (feclearexcept): Likewise.
17878 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17880         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17881         to reflect the entire 32-bit HWCAP.
17882         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17883         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17885 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17887         [BZ #19783]
17888         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17889         $(test-via-rtld-prefix).
17890         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17892 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17894         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17895         union wait.  Report any non-zero exit status as error.
17897 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17899         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17900         configured with --enable-hardcoded-path-in-tests.
17902 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17904         [BZ #19677]
17905         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17906         (__ieee754_remainderl): Put zero low parts in canonical form.
17907         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17908         file.  Based on
17909         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17910         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17911         with wrapper round test-fmodrem-ldbl-128ibm.c.
17912         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17913         file.
17914         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17915         Likewise.
17916         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17917         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17919 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17921         [BZ #19610]
17922         * elf/ldconfig.c (opt_link): Update comment.
17923         (options): Update help string for option -X.
17924         (search_dir): Unlink stale symbolic link only if updating symbolic
17925         links.
17926         * elf/tst-ldconfig-X.sh: New file.
17927         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17928         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17930 2016-03-07  Andreas Schwab  <schwab@suse.de>
17932         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17933         needed arguments.
17935 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17937         [BZ #15333]
17938         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17939         to lstat64.
17941 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17943         * libio/filedoalloc.c (isatty): Remove.
17944         (local_isatty): Add comment.  Call __isatty directly.
17945         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17946         * libio/wfiledoalloc.c (isatty): Remove.
17947         (_IO_wfile_doallocate): Update comment.
17949 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17951         [BZ #19269]
17952         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17953         tst-audit4-aux.o.
17954         (tst-audit10): Depend on tst-audit10-aux.o.
17955         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17956         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17957         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17958         instead of inline AVX code.
17959         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17960         instead of inline AVX512 code.
17961         * sysdeps/x86_64/tst-audit4-aux.c: New file
17962         * sysdeps/x86_64/tst-audit10-aux.c: New file
17964         [BZ #19648]
17965         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17967 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17969         [BZ #14750]
17970         [BZ #10354]
17971         [BZ #18433]
17972         * include/sched.h (__clone): Add hidden prototype.
17973         (__clone2): Likewise.
17974         * include/unistd.h (__dup): Likewise.
17975         * posix/Makefile (tests): Add tst-spawn2.
17976         * posix/tst-spawn2.c: New file.
17977         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17978         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17979         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17980         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17981         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17982         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17983         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17984         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17985         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17986         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17987         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17989         Likewise.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17991         Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17993         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17994         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17995         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17996         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17997         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17998         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17999         * sysdeps/unix/sysv/linux/nptl-signals.h
18000         (____nptl_is_internal_signal): New function.
18001         * sysdeps/unix/sysv/linux/spawni.c: New file.
18003         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18004         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18005         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18006         * posix/tst-execvp2.c (do_test): Likewise.
18007         * posix/tst-execvp3.c (do_test): Likewise.
18008         * posix/tst-execvp4.c (do_test): Likewise.
18009         * posix/tst-execvpe1.c: New file.
18010         * posix/tst-execvpe2.c: Likewise.
18011         * posix/tst-execvpe3.c: Likewise.
18012         * posix/tst-execvpe4.c: Likewise.
18013         * posix/tst-execvpe5.c: Likewise.
18014         * posix/tst-execvpe6.c: Likewise.
18016         [BZ #19534]
18017         * posix/execl.c (execl): Remove dynamic memory allocation.
18018         * posix/execle.c (execle): Likewise.
18019         * posix/execlp.c (execlp): Likewise.
18021 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18023         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18024         Replace .text with .text.avx512.
18025         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18026         Likewise.
18028 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18030         * sysdeps/generic/libnsl.abilist: New file.
18031         * sysdeps/generic/libutil.abilist: New file.
18033 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18035         [BZ #19762]
18036         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18037         HAS_ARCH_FEATURE with Fast_Rep_String.
18038         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18039         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18040         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18041         Likewise.
18042         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18043         Likewise.
18044         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18045         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18046         Likewise.
18047         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18048         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18049         Likewise.
18051 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18053         [BZ #19745]
18054         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18055         with *%rax in call.
18057 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18059         [BZ #19745]
18060         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18061         with *__libc_start_main@GOTPCREL(%rip) in call.
18063 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18065         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18066         inside conditional for nonempty $(CXX).
18068         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18069         nonempty.
18071         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18072         to test for empty $(CXX) rather than $(CXX) of "no".
18074 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18076         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18078 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18079             H.J. Lu  <hongjiu.lu@intel.com>
18081         [BZ #18880]
18082         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18083         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18084         enable __memcpy_ssse3_back.
18086 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18088         [BZ #19758]
18089         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18090         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18092 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18094         [BZ #19490]
18095         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18096         (__fentry__): Likewise.
18098 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18100         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18101         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18103 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18105         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18106         __mcount_internal directly.
18107         (C_LABEL(__fentry__)): Likewise.
18108         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18109         directly.
18111 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18113         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18114         (__start_context): Call __setcontext directly.
18116 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18118         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18119         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18120         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18121         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18123         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18124         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18125         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18126         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18127         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18128         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18129         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18130         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18131         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18132         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18133         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18134         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18136         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18137         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18138         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18139         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18140         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18141         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18142         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18143         Remove conditional code.
18144         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18145         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18146         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18147         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18148         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18149         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18150         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18151         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18152         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18153         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18154         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18155         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18157 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18159         * NEWS (2.23): Fix typo in bug 19048 text.
18161 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18163         [BZ #14259]
18164         * Makeconfig: Rename msgcatdir to localedir.
18165         Rename inst_msgcatdir to inst_localedir.
18166         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18167         * config.make.in: Add localedir.
18168         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18169         (ldd-rewrite): Likewise.
18170         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18171         (install-others): Use inst_localedir.
18172         (CPPFLAGS): Use localedir.
18173         * locale/Makefile (locale-CPPFLAGS): Likewise.
18174         * po/Makefile (mo-installed): Use inst_localedir.
18176         [BZ #19575]
18177         * localedata/charmaps/GB18030: Update comments regarding PAU to
18178         non-PUA mappings.
18180 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18182         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18183         test for header.
18184         * sysdeps/unix/sysv/linux/configure: Regenerated.
18185         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18186         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18187         Remove conditional code.
18188         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18190         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18191         Define to 3.2.0.
18192         (arch_minimum_kernel): Likewise.
18193         * sysdeps/unix/sysv/linux/configure: Regenerated.
18194         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18195         Define to 2.6.32.
18196         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18197         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18198         (arch_minimum_kernel): Define to 2.6.32.
18199         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18200         * README: Document Linux 3.2 requirement.
18201         * manual/install.texi (Linux): Document Linux 3.2 headers
18202         requirement.
18203         * INSTALL: Regenerated.
18205 2016-02-24  Andreas Schwab  <schwab@suse.de>
18207         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18208         if !NO_LONG_DOUBLE.
18210 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18212         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18213         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18215 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18217         [BZ #19512]
18218         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18220 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18222         * posix/tst-dir.c: Include libc-internal.h.
18224 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18226         [BZ #19056]
18227         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18228         * manual/filesys.texi (Reading/Closing Directory): Mention
18229         deprecaion.
18230         * posix/tst-dir.c (main): Disable deprecation warning in test.
18232 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18234         [BZ #19679]
18235         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18236         Renamed to ...
18237         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18238         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18239         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18240         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18241         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18242         * sysdeps/x86_64/dl-trampoline.h
18243         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18244         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18246 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18248         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18250 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18252         * elf/elf.h (R_386_GOT32X): New.
18253         (R_386_NUM): Update.
18254         (R_X86_64_GOTPCRELX: New.
18255         (R_X86_64_REX_GOTPCRELX): New.
18256         (R_X86_64_NUM): Update.
18258 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18260         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18262 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18264         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18265         assign attr->stackaddr to it, and adjust it down when
18266         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18267         [_STACK_GROWS_UP]: Delete assert.
18268         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18269         Implement stack grows up logic.
18270         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18271         stack grows up logic.
18273 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18275         * NEWS: Update with 2.24 template.
18277 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18279         [BZ #19678]
18280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18281         Ensure +0.0 is returned when taking the next value below the least
18282         positive value.
18284 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18286         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18287         available.  Do not define NO_THREADS.
18288         * malloc/malloc.c: Do not check NO_THREADS.
18289         * malloc/arena.c: Likewise.
18291 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18293         * malloc/malloc.c (__libc_mallinfo): Update comment.
18294         (struct malloc_par): Remove max_total_mem member, it was always 0.
18295         (int_mallinfo): Store 0 into usmblks (no functional change).
18296         * malloc/hooks.c (struct malloc_state): Document that
18297         max_total_mem is always 0.
18298         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18299         always 0.
18300         * manual/memory.texi (Statistics of Malloc): Likewise.
18302 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18304         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18305         * malloc/arena.c (arena_max): Remove.
18306         (heap_trim, _int_new_arena): Do not update arena_max.
18308 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18310         * resolv/res_init.c (res_ninit): Update comment.
18312 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18314         [BZ #19505]
18315         * posix/spawn_int.h: Add headers and include guard.
18316         (__spawn_valid_fd): New function.
18317         * posix/spawn_faction_addopen.c
18318         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18319         * posix/spawn_faction_addclose.c
18320         (posix_spawn_file_actions_addclose): Likewise.
18321         * posix/spawn_faction_adddup2.c
18322         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18323         second file descriptor.
18324         * posix/spawn_valid_fd.c: New file.
18325         * posix/tst-posix_spawn-fd.c: New file.
18326         * posix/Makefile (routines): Add spawn_valid_fd.
18327         (tests): Add tst-posix_spawn-fd.
18329 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18331         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18332         (do_test): Limit the number of arenas, so that we can use fewer
18333         outer threads.  Limit timeout to 3 seconds, in preparation for a
18334         larger TIMEOUT value.
18336 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18338         [BZ #19674]
18339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18340         sign in overflowing and underflowing results when overflow or
18341         underflow is detected early.  Include sign in result before rather
18342         than after scaling.
18344         [BZ #19603]
18345         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18346         (__ieee754_remainderl): Adjust sign of integer version of low part
18347         when taking absolute value of high part.
18348         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18349         * math/libm-test.inc (remainder_test_data): Add another test.
18350         (remquo_test_data): Likewise.
18352 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18354         [BZ #19602]
18355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18356         equal high parts and both low parts zero specially.
18357         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18358         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18359         Add test-fmodl-ldbl-128ibm.
18361         [BZ #19595]
18362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18363         common logic for all cases of shifting subnormal results.  Do not
18364         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18365         exponent to ldbl_insert_mantissa in subnormal case.
18367         [BZ #19594]
18368         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18369         on high and low parts then adjust result and use
18370         ldbl_canonicalize_int if needed.
18372         [BZ #19593]
18373         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18374         on high part and __floor or __ceil on low part then use
18375         ldbl_canonicalize_int if needed.
18377         [BZ #19592]
18378         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18379         high and low parts then use ldbl_canonicalize_int if needed.
18381         [BZ #17899]
18382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18383         New function.
18384         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18385         on high and low parts then use ldbl_canonicalize_int if needed.
18387 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18389         * configure: Regenerated.
18391         * po/libc.pot: Regenerated.
18393         * po/be.po: Updated translation.
18394         * po/bg.po: Likewise.
18395         * po/ca.po: Likewise.
18396         * po/cs.po: Likewise.
18397         * po/da.po: Likewise.
18398         * po/el.po: Likewise.
18399         * po/eo.po: Likewise.
18400         * po/es.po: Likewise.
18401         * po/fi.po: Likewise.
18402         * po/fr.po: Likewise.
18403         * po/gl.po: Likewise.
18404         * po/hr.po: Likewise.
18405         * po/hu.po: Likewise.
18406         * po/ia.po: Likewise.
18407         * po/id.po: Likewise.
18408         * po/it.po: Likewise.
18409         * po/ja.po: Likewise.
18410         * po/lt.po: Likewise.
18411         * po/nb.po: Likewise.
18412         * po/nl.po: Likewise.
18413         * po/pt_BR.po: Likewise.
18414         * po/rw.po: Likewise.
18415         * po/sk.po: Likewise.
18416         * po/sl.po: Likewise.
18417         * po/sv.po: Likewise.
18418         * po/tr.po: Likewise.
18419         * po/zh_CN.po: Likewise.
18420         * po/zh_TW.po: Likewise.
18422         * version.h (RELEAES): Set to "development".
18423         (VERSION): Set to 2.23.90.
18425         * version.h (RELEASE): Set to "stable".
18426         (VERSION): Set to 2.23.
18427         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18429         * NEWS: Updated fixed bugs.
18431 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18432             Wilco Dijkstra  <wdijkstr@arm.com>
18434         [BZ #19462]
18435         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18436         (_STRING_INLINE_unaligned): This.
18437         * include/string.h: Include <string_private.h>.
18438         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18439         _STRING_INLINE_unaligned.
18440         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18441         (_STRING_INLINE_unaligned): New.
18442         * sysdeps/aarch64/string_private.h: New file.
18443         * sysdeps/generic/string_private.h: Likewise.
18444         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18445         * sysdeps/s390/string_private.h: Likewise.
18446         * sysdeps/x86/string_private.h: Likewise.
18447         * sysdeps/m68k/m680x0/m68020/bits/string.h
18448         (_STRING_ARCH_unaligned): Renamed to ...
18449         (_STRING_INLINE_unaligned): This.
18450         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18451         to ...
18452         (_STRING_INLINE_unaligned): This.
18453         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18454         to ...
18455         (_STRING_INLINE_unaligned): This.
18456         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18457         to ...
18458         (_STRING_INLINE_unaligned): This.
18460 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18461             H.J. Lu  <hongjiu.lu@intel.com>
18463         [BZ #19590]
18464         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18465         relocation.
18467 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18469         [BZ #18665]
18470         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18471         *herrno_p.
18472         (gaih_getanswer): Document functional behviour. Return tryagain
18473         if any result is tryagain.
18474         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18475         when freed.
18476         * resolv/res_send.c: Add copyright text.
18477         (__libc_res_nsend): Document that MAXPACKET is expected.
18478         (send_vc): Document. Remove buffer reuse.
18479         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18480         size of the buffer. Add Dprint for truncated UDP buffer.
18482 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18484         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18485         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18486         * INSTALL: Regenerate.
18488 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18489             Jonathan Wakely  <jwakely@redhat.com>
18490             Carlos O'Donell  <carlos@redhat.com>
18492         [BZ 19439]
18493         * math/Makefile (tests): Add test-math-isinff.
18494         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18495         * math/bits/mathcalls.h [__USE_MISC]: Use
18496         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18497         functions not in C++11 and which don't conflict e.g. isinff,
18498         isinfl etc.
18499         * math/test-math-isinff.cc: New file.
18501 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18503         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18505 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18507         [BZ #19529]
18508         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18510 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18512         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18514 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18516         [BZ #19550]
18517         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18518         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18519         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18520         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18521         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18522         New syscall entry.
18523         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18524         New syscall entry.
18525         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18526         syscall entry.
18528 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18530         [BZ #18240]
18531         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18532         unsigned int wraparound.
18534 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18536         [BZ #18240]
18537         * misc/bug18240.c: New test.
18538         * misc/Makefile (tests): Add it.
18540 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18541             Joseph Myers  <joseph@codesourcery.com>
18543         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18544         load in branch delay slot when less than a word of input left.
18546 2016-01-27  Andreas Schwab  <schwab@suse.de>
18548         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18549         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18550         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18551         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18553 2016-01-26  David S. Miller  <davem@davemloft.net>
18555         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18557 2016-01-25  David S. Miller  <davem@davemloft.net>
18559         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18560         __sqrtl_finite.
18561         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18562         instead using versioned_symbol.
18563         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18564         of entries.
18566         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18567         __sqrtl_finite to GLIBC_2.23
18569 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18571         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18573 2016-01-25  Andreas Schwab  <schwab@suse.de>
18575         [BZ #17514]
18576         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18577         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18578         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18579         * nptl/tst-mutex-errorcheck.c: New file.
18581 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18583         [BZ #18560]
18584         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18585         (IPCOP_semop): Likewise.
18586         (IPCOP_semget): Likewise.
18587         (IPCOP_semctl): Likewise.
18588         (IPCOP_msgsnd): Likewise.
18589         (IPCOP_msgrcv): Likewise.
18590         (IPCOP_msgget): Likewise.
18591         (IPCOP_msgctl): Likewise.
18592         (IPCOP_shmat): Likewise.
18593         (IPCOP_shmdt): Likewise.
18594         (IPCOP_shmget): Likewise.
18595         (IPCOP_shmctl): Likewise.
18597 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18599         * string/tst-endian.c: Include <libc-internal.h>.
18600         (do_test): Ignore tautological-compare warnings around
18601         "htobeXX (beXXtoh (i)) != i" and
18602         "htoleXX (leXXtoh (i)) != i" if-statements.
18604 2016-01-24  David S. Miller  <davem@davemloft.net>
18606         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18607         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18608         alias.
18609         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18610         __sqrtl_finite.
18612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18614 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18616         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18617         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18618         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18620 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18622         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18623         (thread_func): Use new function to simplify barrier check.
18624         (do_test): Use new function to simplify checking barrier exit
18625         code, and actually join the child thread.
18627 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18629         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18630         semicolon.
18631         (__libc_tend): Likewise.
18632         (__libc_tabort): Likewise.
18634 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18636         * sysdeps/nios2/libm-test-ulps: Update.
18637         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18638         (__gtsf2): Likewise.
18639         (__unorddf2): Likewise.
18640         (__unordsf2): Likewise.
18641         (__ledf2): Likewise.
18643 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18645         * nis/nis_table.c (__follow_path): Disable diagnostic for
18646         uninitialized variable that is a false positive for gcc 4.7.
18647         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18649 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18651         * sysdeps/nacl/lowlevellock-futex.h
18652         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18653         Always evaluate PRIVATE argument.
18655 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18657         [BZ #19490]
18658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18659         (pthread_cond_broadcast): Use ENTRY/END
18660         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18661         (pthread_cond_signal): Likewise.
18662         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18663         Likewise.
18664         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18665         Likewise.
18666         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18667         Likewise.
18669 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18671         * sysdeps/ieee754/dbl-64/s_finite.c
18672         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18673         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18674         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18675         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18676         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18679         (__gtsf2): Add as optional for libc.so.
18680         (__unordsf2): Likewise.
18681         (__signbit): Remove for libc.so.
18682         (__signbitl): Likewise.
18684 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18686         * iconvdata/bug-iconv11.c (test_ibm93x):
18687         Use %zu printf format specifier for size_t argument.
18689 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18691         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18692         already-recorded ulps.
18693         * sysdeps/arm/libm-test-ulps: Regenerated.
18694         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18695         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18696         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18698 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18699             Paul Pluzhnikov  <ppluzhnikov@google.com>
18701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18702         assembler not supporting AVX-512.
18704 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18706         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18708 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18710         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18711         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18713         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18715         * sysdeps/arm/libm-test-ulps: Regenerated.
18717 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18719         [BZ #19451]
18720         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18722 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18724         [BZ #19486]
18725         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18726         * sysdeps/generic/fix-fp-int-convert-overflow.h
18727         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18728         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18729         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18730         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18731         Likewise.
18732         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18733         Avoid conversions to long int where inexact exceptions
18734         could be raised.
18735         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18736         Likewise.
18737         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18738         Avoid conversions to long long int where inexact exceptions
18739         could be raised.
18740         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18741         Likewise.
18743 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18745         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18746         * configure: Regenerated.
18748 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18750         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18752 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18754         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18755         outside of comment.
18757 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18759         * nptl/tst-barrier1.c: Add description on first line.
18760         * nptl/tst-barrier2.c: Likewise.
18761         * nptl/tst-barrier3.c: Likewise.
18762         * nptl/tst-barrier4.c: Likewise.
18763         * nptl/tst-barrier5.c: Likewise.
18765 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18767         [BZ #18868]
18768         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18770 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18774         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18775         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18776         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18777         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18778         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18779         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18780         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18781         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18782         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18784 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18786         [BZ #13065]
18787         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18788         new implementation.
18789         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18790         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18791         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18792         (BARRIER_IN_THRESHOLD): New macro.
18793         * nptl/pthread_barrierattr_setpshared.c
18794         (pthread_barrierattr_setpshared): Clean up.
18795         * nptl/tst-barrier4.c: Correct comment.
18796         * nptl/tst-barrier5.c: New file.
18797         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18798         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18799         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18800         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18801         * nptl/lowlevelbarrier.sym: Remove.
18802         * nptl/DESIGN-barrier.txt: Remove.
18803         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18804         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18805         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18806         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18807         error.
18808         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18809         implementation.
18811 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18813         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18814         (do_child): Mask SIGRTMIN while thr is running.
18816 2016-01-15  Martin Sebor  <msebor@redhat.com>
18818         [BZ #19432]
18819         * iconvdata/Makefile: Add bug-iconv11.
18820         * iconvdata/bug-iconv11.c: New test.
18821         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18822         * iconvdata/ibm933.c: Same.
18823         * iconvdata/ibm935.c: Same.
18824         * iconvdata/ibm937.c: Same.
18825         * iconvdata/ibm939.c: Same.
18827 2016-01-15  Martin Sebor  <msebor@redhat.com>
18829         [BZ #19443]
18830         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18831         [DEBUG] (_ufc_set_bits): Declare used.
18832         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18833         [DEBUG] (print_all): Declare used.
18834         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18835         operands of the ternary ?: expression to target type.
18836         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18837         calling the undeclared abort.
18838         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18840 2016-01-15  Martin Sebor  <msebor@redhat.com>
18842         [BZ #18755]
18843         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18844         warnings.
18845         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18846         (__gai_create_helper_thread): Same.
18847         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18848         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18849         to suppress -Wmaybe-uninitialized warnings.
18851 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18853         [BZ #19465]
18854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18855         inside if.
18856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18860 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18862         [BZ #19466]
18863         * time/tst-mktime2.c (time_t_max): Removed.
18864         (time_t_min): Likewise.
18865         (TYPE_SIGNED): New.
18866         (TYPE_MINIMUM): Likewise.
18867         (TYPE_MAXIMUM): Likewise.
18868         (TIME_T_MIN): Likewise.
18869         (TIME_T_MAX): Likewise.
18870         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18871         and TIME_T_MIN.
18872         (do_test): Likewise.
18874 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18876         [BZ #19467]
18877         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18878         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18880 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18882         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18884 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18886         * benchtests/Makefile (PYTHON): Define.
18887         (bench-func): Use $(PYTHON) to run python scripts.
18888         ($(objpfx)bench-%.c): Likewise.
18890 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18892         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18893         leading slash when `file_name' is "/".
18895 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18897         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18898         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18899         Likewise.
18900         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18901         Likewise.
18902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18903         Likewise.
18904         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18905         enum constant and macro.
18906         (PTRACE_SETSIGMASK): Likewise.
18907         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18908         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18909         (PTRACE_GETSIGMASK): Likewise.
18910         (PTRACE_SETSIGMASK): Likewise.
18911         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18912         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18913         Likewise.
18914         (PTRACE_SETSIGMASK): Likewise.
18915         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18916         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18917         (PTRACE_GETSIGMASK): Likewise.
18918         (PTRACE_SETSIGMASK): Likewise.
18919         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18921         Likewise.
18922         (PTRACE_SETSIGMASK): Likewise.
18923         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18925         Likewise.
18926         (PTRACE_SETSIGMASK): Likewise.
18927         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18928         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18929         Likewise.
18930         (PTRACE_SETSIGMASK): Likewise.
18931         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18933 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18934             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18936         [BZ #19439]
18937         * math/bits/mathcalls.h
18938         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18939         prototype.
18940         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18942 2016-01-11  Andreas Schwab  <schwab@suse.de>
18944         [BZ #19253]
18945         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18946         cache when TZDEFRULES was used.
18947         * time/tst-tzname.c: New file.
18948         * time/Makefile (test): Add tst-tzname.
18949         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18950         * timezone/Makefile (test-zones): Add $(posixrules-file).
18951         ($(testdata)/$(posixrules-file)): New rule.
18953 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18955         Fix doc quoting problems with Texinfo 5
18956         Without this change, in the info file output, Texinfo 5 quotes code
18957         in text with undirected single quotes 'like this' and generates
18958         code examples that with many PDF readers cannot be cut out of PDFs
18959         and pasted into code.
18960         * manual/libc.texinfo: Configure the libc manual like the GNU
18961         Emacs manual, by using @documentencoding and setting
18962         txicodequoteundirected and txicodequotebacktick.  This way,
18963         Texinfo 5 quotes code in text with directed single quotes ‘like
18964         this’ and produces examples that can be cut out of PDFs.  This
18965         change causes Texinfo 5 to generate info files that contain UTF-8
18966         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18967         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18969 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18971         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18972         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18973         barriers to their respective compiler built-ins.
18974         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18975         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18976         * sysdeps/powerpc/sysdep.h: Likewise.
18977         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18978         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18979         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18981 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18983         * scripts/config.guess: Revert previous shebang change.
18984         * scripts/config.sub: Likewise.
18985         * scripts/mkinstalldirs: Likewise.
18987 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18989         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18990         PPC_FEATURE2_HAS_IEEE128.
18991         * sysdeps/powerpc/dl-procinfo.c:
18992         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18994 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18996         [BZ #19415]
18997         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18998         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18999         (_dl_lookup_address): Rewrite using function resolver trampoline.
19000         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19001         two bits in address.
19003 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19005         * longlong.h: Change !__SHMEDIA__ to
19006         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19007         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19009 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19010             Joseph Myers  <joseph@codesourcery.com>
19011             Mark Shinwell  <shinwell@codesourcery.com>
19012             Andrew Stubbs  <ams@codesourcery.com>
19013             Rich Felker <dalias@libc.org>
19015         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19017 2016-01-07  Richard Henderson  <rth@redhat.com>
19019         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19021 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19023         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19024         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19025         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19026         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19027         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19029 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19030             Joseph Myers  <joseph@codesourcery.com>
19032         * timezone/private.h: Update from tzcode 2015g.
19033         * timezone/tzfile.h: Likewise.
19034         * timezone/tzselect.ksh: Likewise.
19035         * timezone/zdump.c: Likewise.
19036         * timezone/zic.c: Likewise.
19037         * timezone/ialloc.c: Remove file.
19038         * timezone/scheck.c: Likewise.
19039         * timezone/Makefile (extra-objs): Remove variable.
19040         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19041         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19042         -Wno-maybe-uninitialized.
19043         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19044         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19045         (CFLAGS-ialloc.c): Remove variable.
19046         (CFLAGS-scheck.c): Likewise.
19047         * timezone/README: Update list of files from tzcode.
19049 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19051         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19052         instead of __fxprintf when _LIBC is undefined.
19054 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19056         * catgets/test-gencat.sh: Remove space after shebang.
19057         * conform/GlibcConform.pm: Likewise.
19058         * conform/check-header-lists.sh: Likewise.
19059         * conform/conformtest.pl: Likewise.
19060         * conform/linknamespace.pl: Likewise.
19061         * conform/list-header-symbols.pl: Likewise.
19062         * debug/catchsegv.sh: Likewise.
19063         * elf/genrtldtbl.awk: Likewise.
19064         * elf/tst-pathopt.sh: Likewise.
19065         * elf/tst-rtld-load-self.sh: Likewise.
19066         * grp/tst_fgetgrent.sh: Likewise.
19067         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19068         * iconvdata/gen-8bit-gap.sh: Likewise.
19069         * iconvdata/gen-8bit.sh: Likewise.
19070         * iconvdata/run-iconv-test.sh: Likewise.
19071         * intl/tst-gettext.sh: Likewise.
19072         * intl/tst-gettext2.sh: Likewise.
19073         * intl/tst-gettext4.sh: Likewise.
19074         * intl/tst-gettext6.sh: Likewise.
19075         * intl/tst-translit.sh: Likewise.
19076         * io/ftwtest-sh: Likewise.
19077         * libio/test-freopen.sh: Likewise.
19078         * locale/gen-translit.pl: Likewise.
19079         * malloc/tst-mtrace.sh: Likewise.
19080         * manual/check-safety.sh: Likewise.
19081         * manual/libc-texinfo.sh: Likewise.
19082         * manual/tsort.awk: Likewise.
19083         * manual/xtract-typefun.awk: Likewise.
19084         * nptl/tst-cancel-wrappers.sh: Likewise.
19085         * nptl/tst-tls6.sh: Likewise.
19086         * posix/globtest.sh: Likewise.
19087         * posix/tst-getconf.sh: Likewise.
19088         * posix/wordexp-tst.sh: Likewise.
19089         * scripts/check-c++-types.sh: Likewise.
19090         * scripts/check-local-headers.sh: Likewise.
19091         * scripts/config.guess: Likewise.
19092         * scripts/config.sub: Likewise.
19093         * scripts/cpp: Likewise.
19094         * scripts/cross-test-ssh.sh: Likewise.
19095         * scripts/documented.sh: Likewise.
19096         * scripts/evaluate-test.sh: Likewise.
19097         * scripts/gen-libc-abis: Likewise.
19098         * scripts/gen-sorted.awk: Likewise.
19099         * scripts/list-fixed-bugs.py: Likewise.
19100         * scripts/merge-test-results.sh: Likewise.
19101         * scripts/mkinstalldirs: Likewise.
19102         * scripts/rellns-sh: Likewise.
19103         * scripts/test-installation.pl: Likewise.
19104         * scripts/update-copyrights: Likewise.
19105         * stdio-common/tst-printf.sh: Likewise.
19106         * stdio-common/tst-unbputc.sh: Likewise.
19107         * stdlib/tst-fmtmsg.sh: Likewise.
19108         * stdlib/tst-setcontext3.sh: Likewise.
19109         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19110         * sysdeps/unix/make-syscalls.sh: Likewise.
19112 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19114         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19115         asm stw with atomic_exchange_rel.  Add explanatory comment.
19116         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19117         Likewise.
19119 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19121         [BZ #19122]
19122         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19123         * sysdeps/generic/dl-unistd.h: New file.
19124         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19126 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19128          [BZ #19122]
19129          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19130          * sysdeps/generic/dl-mman.h: New file.
19131          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19133 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19135         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19136         trailing whitespace removed.
19137         * scripts/config.guess: Update to version 2016-01-01.
19138         * scripts/config.sub: Update to version 2016-01-01.
19139         * scripts/move-if-change: Update from gnulib.
19141 2016-01-04  Anton Blanchard  <anton@samba.org>
19143         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19144         for array indices.
19145         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19147 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19149         * NEWS: Update copyright dates.
19150         * catgets/gencat.c (print_version): Likewise.
19151         * csu/version.c (banner): Likewise.
19152         * debug/catchsegv.sh: Likewise.
19153         * debug/pcprofiledump.c (print_version): Likewise.
19154         * debug/xtrace.sh (do_version): Likewise.
19155         * elf/ldconfig.c (print_version): Likewise.
19156         * elf/ldd.bash.in: Likewise.
19157         * elf/pldd.c (print_version): Likewise.
19158         * elf/sotruss.sh: Likewise.
19159         * elf/sprof.c (print_version): Likewise.
19160         * iconv/iconv_prog.c (print_version): Likewise.
19161         * iconv/iconvconfig.c (print_version): Likewise.
19162         * locale/programs/locale.c (print_version): Likewise.
19163         * locale/programs/localedef.c (print_version): Likewise.
19164         * login/programs/pt_chown.c (print_version): Likewise.
19165         * malloc/memusage.sh (do_version): Likewise.
19166         * malloc/memusagestat.c (print_version): Likewise.
19167         * malloc/mtrace.pl: Likewise.
19168         * manual/libc.texinfo: Likewise.
19169         * nptl/version.c (banner): Likewise.
19170         * nscd/nscd.c (print_version): Likewise.
19171         * nss/getent.c (print_version): Likewise.
19172         * nss/makedb.c (print_version): Likewise.
19173         * posix/getconf.c (main): Likewise.
19174         * scripts/test-installation.pl: Likewise.
19175         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19177         * All files with FSF copyright notices: Update copyright dates
19178         using scripts/update-copyrights.
19179         * intl/plural.c: Regenerated.
19180         * locale/programs/charmap-kw.h: Likewise.
19181         * locale/programs/locfile-kw.h: Likewise.
19183 2016-01-02  Helge Deller  <deller@gmx.de>
19185         [BZ #19285]
19186         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19187         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19188         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19189         (MADV_xxK_PAGES): Remove.
19191 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19193         [BZ #15421]
19194         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19195         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19196         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19197         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19199 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19201         [BZ #19408]
19202         * sysdeps/unix/sysv/linux/personality.c: New file.
19203         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19204         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19205         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19206         (sysdep_routines): Add personality.
19207         (tests): Add tst-personality.
19208         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19210         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19211         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19212         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19213         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19214         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19215         Likewise.
19216         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19217         Likewise.
19218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19219         Likewise.
19220         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19221         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19222         Likewise.
19224 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19226         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19227         (PATH_ARM_SYSTYPE): Remove.
19228         (PATH_CPUINFO): Likewise.
19229         (IO_BASE_FOOTBRIDGE): Likewise.
19230         (IO_SHIFT_FOOTBRIDGE): Likewise.
19231         (struct platform): Likewise.
19232         (init_iosys): Remove compatibility code for 2.4 kernels.
19233         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19235 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19237         * malloc/tst-malloc-thread-fail.c: New file.
19238         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19239         (tst-malloc-thread-fail): Link against libpthread.
19241 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19243         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19244         (get_parser): New function.
19245         (main): New function.
19247 2015-12-29  Rob Wu  <rob@robwu.nl>
19249         [BZ #19369]
19250         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19252 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19254         [BZ #19270]
19255         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19257 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19259         [BZ #15421]
19260         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19262 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19264         [BZ #13690]
19265         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19266         after releasing it.
19267         (__lll_robust_unlock): Likewise.
19268         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19269         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19270         (lll_robust_unlock): Likewise.
19271         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19272         Prevent warnings in callers.
19274 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19276         * malloc/arena.c (list_lock): Update comment.
19278 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19280         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19281         __parse_hwcap_and_convert_at_platform to libc.a.
19283 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19285         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19286         platform and feature support for POWER9.
19287         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19288         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19289         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19290         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19291         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19292         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19293         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19294         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19296 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19298         Harmonize generic stdio-lock support with nptl
19300         This fixes build when _IO_funlockfile is a macro, fixes build where
19301         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19302         stack unwind.
19304         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19305         _IO_release_lock ): Use cleanup attribute on new
19306         _IO_acquire_lock_file variable instead of assuming that
19307         _IO_release_lock will be called.
19308         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19309         _IO_acquire_lock_needs_exceptions_enabled.
19310         (_IO_acquire_lock_clear_flags2): New macro.
19312 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19314         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19316 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19318         [BZ #19182]
19319         * malloc/arena.c (list_lock): Document lock ordering requirements.
19320         (free_list_lock): New lock.
19321         (ptmalloc_lock_all): Comment on free_list_lock.
19322         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19323         (detach_arena): Update comment.  free_list_lock is now needed.
19324         (_int_new_arena): Use free_list_lock around detach_arena call.
19325         Acquire arena lock after list_lock.  Add comment, including FIXME
19326         about incorrect synchronization.
19327         (get_free_list): Switch to free_list_lock.
19328         (reused_arena): Acquire free_list_lock around detach_arena call
19329         and attached threads counter update.  Add two FIXMEs about
19330         incorrect synchronization.
19331         (arena_thread_freeres): Switch to free_list_lock.
19332         * malloc/malloc.c (struct malloc_state): Update comments to
19333         mention free_list_lock.
19335 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19337         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19338         Remove functions.
19339         (sloww, sloww1): Accept argument to offset quadrant.
19340         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19341         quadrant.
19342         (__sin, __cos): Consolidate common code into new functions.
19343         (reduce_sincos_1, do_sincos_1): New functions.
19344         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19347         code to new functions.
19348         (reduce_sincos_2, do_sincos_2): New functions.
19349         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19352         common code for sincos.
19353         (__cos) [!IN_SINCOS]: Likewise.
19354         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19355         New function.
19356         (__sincos): Use it.
19358 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19360         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19361         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19362         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19364 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19366         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19369         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19370         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19371         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19372         index_Prefer_No_VZEROUPPER): New feature.
19373         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19374         Prefer_No_VZEROUPPER for Knights Landing.
19376 015-12-18  Torvald Riegel  <triegel@redhat.com>
19378         * math/atest-exp2.c (mp_exp_m1): Remove.
19380 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19382         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19383         syscalls.
19384         (__SYSCALL0): New macro.
19385         (__SYSCALL1): Likewise.
19386         (__SYSCALL2): Likewise.
19387         (__SYSCALL3): Likewise.
19388         (__SYSCALL4): Likewise.
19389         (__SYSCALL5): Likewise.
19390         (__SYSCALL6): Likewise.
19391         (__SYSCALL_CONCAT_X): Likewise.
19392         (__SYSCALL_CONCAT): Likewise.
19393         (__SYSCALL_DIST): Likewise.
19394         (__SYSCALL_CALL): Likewise.
19396 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19398         [BZ #19363]
19399         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19401 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19403         [BZ #19375]
19404         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19405         negative subnormals.
19407 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19410         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19411         (INTERNAL_SYSCALL_NCS): Use it.
19412         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19414 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19416         [BZ #19243]
19417         * malloc/arena.c (get_free_list): Remove assert and adjust
19418         reference count handling.  Add comment about reused_arena
19419         interaction.
19420         (reused_arena): Add comments abount get_free_list interaction.
19421         * malloc/tst-malloc-thread-exit.c: New file.
19422         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19423         (tst-malloc-thread-exit): Link against libpthread.
19425 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19427         [BZ #19367]
19428         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19429         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19430         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19431         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19432         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19434 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19436         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19437         Silvermont optimizations for Knights Landing.
19439 2015-12-15  Andreas Schwab  <schwab@suse.de>
19441         [BZ #17197]
19442         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19443         immediately after emitting SI.
19444         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19445         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19446         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19447         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19448         * iconvdata/bug-iconv10.c: New file.
19449         * iconvdata/Makefile (tests): Add bug-iconv10.
19450         ($(objpfx)bug-iconv10.out): New rule.
19452 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19454         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19455         aliasing violation.
19457 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #18472]
19460         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19461         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19462         conditionals for them.
19463         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19464         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19466         sys/kdaemon.h.
19467         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19468         compat-only syscall, obsoleted in glibc 2.23.
19469         (create_module): Likewise.
19470         (get_kernel_syms): Likewise.
19471         (query_module): Likewise.
19472         (uselib): Likewise.
19473         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19475 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19477         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19478         <linux/version.h>.
19479         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19480         conditional code.
19481         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19482         and ioshift_name initialization.
19484 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19486         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19487         Fix indentation.
19489 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19491         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19493 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19495         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19497 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19498             Jakub Wilk  <jwilk@debian.org>
19500         [BZ #19347]
19501         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19502         to change the group of the device to the tty group.
19504 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19506         Split large string section; add truncation advice
19507         * manual/examples/strncat.c: Remove.
19508         This example was misleading, as the code would have undefined
19509         behavior if "hello" was longer than SIZE.  Anyway, the manual
19510         shouldn't encourage strncpy+strncat for this sort of thing.
19511         * manual/string.texi (Copying Strings and Arrays): Split into
19512         three sections Copying Strings and Arrays, Concatenating Strings,
19513         and Truncating Strings, as this section was way too long.  All
19514         cross-referenced changed.  Add advice about string-truncation
19515         functions.  Remove misleading strncat example.
19517 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19519         * manual/nss.texi (NSS Modules Interface): Document
19520         NSS_STATUS_NOTFOUND and SUCCESS.
19522 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19524         [BZ 18568]
19525         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19526         201505L, for Unicode 8.
19528 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19530         * locale/C-translit.h: Regenerate.
19532 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19534         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19535         and U+0153.
19537 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19539         [BZ #19351]
19540         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19541         expanding log(1+z), compare z rather than its square with epsilon
19542         to determine when to avoid evaluating the expansion.
19544         [BZ #19350]
19545         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19546         Increase overflow threshold.
19548         [BZ #19349]
19549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19550         when small.
19552         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19553         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19554         New macro.
19555         [__LINUX_KERNEL_VERSION >= 0x040300]
19556         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19558         Likewise.
19559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19560         Likewise.
19561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19562         Likewise.
19563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19564         Likewise.
19565         [__LINUX_KERNEL_VERSION >= 0x040300]
19566         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19567         [__LINUX_KERNEL_VERSION >= 0x040300]
19568         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19569         [__LINUX_KERNEL_VERSION >= 0x040300]
19570         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19571         [__LINUX_KERNEL_VERSION >= 0x040300]
19572         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19573         [__LINUX_KERNEL_VERSION >= 0x040300]
19574         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19576         Likewise.
19577         [__LINUX_KERNEL_VERSION >= 0x040300]
19578         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19580         Likewise.
19581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19582         Likewise.
19583         [__LINUX_KERNEL_VERSION >= 0x040300]
19584         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19586         Likewise.
19587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19588         Likewise.
19589         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19591         Likewise.
19592         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19593         Likewise.
19594         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19595         Likewise.
19596         [__LINUX_KERNEL_VERSION >= 0x040300]
19597         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19599         Likewise.
19600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19601         Likewise.
19602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19603         Likewise.
19604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19605         Likewise.
19606         [__LINUX_KERNEL_VERSION >= 0x040300]
19607         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19608         [__LINUX_KERNEL_VERSION >= 0x040300]
19609         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19610         [__LINUX_KERNEL_VERSION >= 0x040300]
19611         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19612         [__LINUX_KERNEL_VERSION >= 0x040300]
19613         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19614         [__LINUX_KERNEL_VERSION >= 0x040300]
19615         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19617         Likewise.
19618         [__LINUX_KERNEL_VERSION >= 0x040300]
19619         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19620         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19621         Likewise.
19622         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19623         Likewise.
19624         [__LINUX_KERNEL_VERSION >= 0x040300]
19625         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19627         Likewise.
19628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19629         Likewise.
19630         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19631         (__ASSUME_SOCKET_SYSCALL): Likewise.
19632         (__ASSUME_BIND_SYSCALL): Likewise.
19633         (__ASSUME_CONNECT_SYSCALL): Likewise.
19634         (__ASSUME_LISTEN_SYSCALL): Likewise.
19635         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19636         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19637         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19638         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19639         (__ASSUME_SEND_SYSCALL): Likewise.
19640         (__ASSUME_SENDTO_SYSCALL): Likewise.
19641         (__ASSUME_RECV_SYSCALL): Likewise.
19642         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19643         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19644         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19645         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19646         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19647         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19648         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19649         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19650         Likewise.
19651         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19652         Likewise.
19653         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19654         Likewise.
19655         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19656         Likewise.
19657         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19658         Likewise.
19659         [__LINUX_KERNEL_VERSION >= 0x020625]
19660         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19661         [__LINUX_KERNEL_VERSION >= 0x020625]
19662         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19663         [__LINUX_KERNEL_VERSION >= 0x020625]
19664         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19666         Likewise.
19667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19668         Likewise.
19669         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19670         Likewise.
19671         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19672         Likewise.
19673         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19674         Likewise.
19675         [__LINUX_KERNEL_VERSION >= 0x020625]
19676         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19677         [__LINUX_KERNEL_VERSION >= 0x020625]
19678         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19680         Likewise.
19681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19682         Likewise.
19684 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19686         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19687         record the current if the current ABI and CPU support the FP64
19688         extension.
19689         (has-modd-spreg): Define to record the current if the current ABI and
19690         CPU support 32-bit floating point values in odd FPU registers.
19691         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19692         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19693         $(has-modd-spreg) equals yes.
19694         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19695         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19696         $(has-modd-spreg) equal yes.
19698 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19700         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19701         basename.
19703 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19705         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19706         (bench-string): ... here.
19707         (bench): Add bench-string.
19708         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19709         to *-benchset to reflect what they are.
19710         (benchset): Adjust.
19712         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19713         cos-inputs.
19715 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19717         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19718         __attribute__ ((__simd__)) for vector math function declarations.
19720 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19722         Fix typo in strncat, wcsncat manual entries
19723         * manual/string.texi (Copying and Concatenation): Fix typos in
19724         sample implementations of strncat and wcsncat, by having them use
19725         the old value of the destination length, not the new one.
19727 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19729         [BZ #16961]
19730         [BZ #16962]
19731         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19732         string on the stack for strtod.
19733         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19734         a string on the stack for strtof.
19735         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19736         constructing a string on the stack for strtold.
19737         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19738         __strtold_nan to GLIBC_PRIVATE.
19739         * math/test-nan-overflow.c: New file.
19740         * math/test-nan-payload.c: Likewise.
19741         * math/Makefile (tests): Add test-nan-overflow and
19742         test-nan-payload.
19744 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19746         Consistency about byte vs character in string.texi
19747         * manual/string.texi (String and Array Utilities):
19748         Distinguish more carefully among bytes, multibyte characters,
19749         and wide characters.  Use "byte" when talking about C 'char',
19750         to distinguish it more clearly from multibyte characters.
19751         Say "wide character" or "multibyte character" instead of
19752         "character", when a wide or multibyte character is intended.
19753         Similarly for "multibyte string" versus "string".
19754         Define these terms more carefully.
19756 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19758         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19759         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19760         Likewise.
19761         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19762         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19763         * sysdeps/sh/math_private.h: New file.
19764         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19765         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19766         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19767         long double function name.
19768         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19769         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19770         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19774         Remove __finitel, __isinfl, and __isnanl.
19775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19776         Likewise.
19777         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19779         Remove __finitel.
19780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19781         Likewise.
19782         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19784 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19786         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19787         installed libmvec_nonshared.a.
19789 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19791         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19792         (sysdep_routines): Likewise.
19793         (sysdep-rtld-routines): Likewise.
19794         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19795         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19796         * sysdeps/powerpc/Versions: Added new
19797         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19798         * sysdeps/powerpc/hwcapinfo.c: New file.
19799         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19800         and parse hwcap, hwcap2 and platform number information.
19801         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19802         to store HWCAP+HWCAP2 and platform number.
19803         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19804         for HWCAP+HWCAP2 and platform number in the TCB.
19805         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19806         the HWCAP, HWCAP2 and platform number in the TCB.
19807         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19808         (TLS_INIT_TP): Included calls to add the hwcap and
19809         at_platform values in the TCB in TP initialization.
19810         (TLS_DEFINE_INIT_TP): Likewise.
19811         (THREAD_GET_HWCAP): New macro.
19812         (THREAD_SET_HWCAP): Likewise.
19813         (THREAD_GET_AT_PLATFORM): Likewise.
19814         (THREAD_SET_AT_PLATFORM): Likewise.
19815         * sysdeps/powerpc/powerpc32/dl-machine.h:
19816         (dl_platform_init): New function that calls
19817         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19818         powerpc32.
19819         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19820         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19821         this functionality, static linking case.
19822         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19823         linking case.
19824         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19825         __parse_hwcap_and_convert_at_platform for the static linking case.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19827         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19828         ABI list for GLIBC 2.23.
19829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19830         Likewise.
19831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19832         Likewise.
19834 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19836         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19837         * configure: Regenerate.
19838         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19839         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19841 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19843         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19844         * iconvdata/ibm933.c: Likewise.
19845         * iconvdata/ibm935.c: Likewise.
19846         * iconvdata/ibm937.c: Likewise.
19847         * iconvdata/ibm939.c: Likewise.
19849 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19851         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19852         pthread_join.
19853         * nptl/tst-cancel21.c (tf): Likewise.
19855 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19857         [BZ #19313]
19858         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19859         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19860         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19861         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19862         Likewise.
19863         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19864         Likewise.
19865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19866         Likewise.
19867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19868         Likewise.
19869         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19870         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19871         unsigned long int with __CPU_MASK_TYPE.
19873 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19875         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19877 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19879         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19880         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19881         t512.x.
19882         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19884 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19886         [BZ #19214]
19887         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19888         argument to return extended model.  Update family and model
19889         with extended family and model when family == 0x0f.
19890         (init_cpu_features): Updated.
19892 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19894         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19895         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19897         * sysdeps/mach/hurd/mmap64.c: New file.
19899 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19901         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19902         rights for its main user thread in NEWTASK.
19904 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19906         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19907         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19909 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19911         [BZ #14259]
19912         * Makeconfig: Rename localedir to complocaledir.
19913         Rename inst_localedir to inst_complocaledir.
19914         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19915         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19916         * configure.ac: Use libc_cv_complocaledir.
19917         * configure: Regenerate.
19918         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19919         -DCOMPLOCALEDIR.
19920         * locale/findlocale.c: Use COMPLOCALEDIR.
19921         * locale/loadarchive.c: Likewise.
19922         * locale/programs/locale.c: Likewise.
19923         * locale/programs/localedef.c: Likewise.
19924         * locale/programs/locarchive.c: Likewise.
19925         * localedata/Makefile: Use inst_complocaledir.
19926         * sysdeps/gnu/configure: Regenerate.
19927         * sysdeps/hppa/configure: Regenerate.
19928         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19929         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19931         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19932         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19933         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19934         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19936 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19938         [BZ #19058]
19939         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19940         AS_NEEDED.
19941         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19942         workaround.
19943         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19944         libmvec-static-only-routines): Added new file.
19945         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19947 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19949         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19950         of interrupted RPC instead of restoring it.
19952         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19953         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19954         libc_hidden_def.
19955         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19956         into initialized data instead of common. Define rtld_hidden_data_def.
19957         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19958         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19959         libc_hidden_def.
19960         (if_freenameindex): Add libc_hidden_weak.
19961         (if_nameindex): Add libc_hidden_weak.
19962         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19963         __open64.
19964         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19965         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19966         * sysdeps/mach/nanosleep.c: Include <time.h>
19967         (__nanosleep): Rename to __libc_nanosleep.
19968         (__nanosleep): Add weak_alias.
19969         (nanosleep): Update alias.
19971 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19973         * stdlib/strtod_nan.c: New file.
19974         * stdlib/strtod_nan_double.h: Likewise.
19975         * stdlib/strtod_nan_float.h: Likewise.
19976         * stdlib/strtod_nan_main.c: Likewise.
19977         * stdlib/strtod_nan_narrow.h: Likewise.
19978         * stdlib/strtod_nan_wide.h: Likewise.
19979         * stdlib/strtof_nan.c: Likewise.
19980         * stdlib/strtold_nan.c: Likewise.
19981         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19982         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19983         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19984         * wcsmbs/wcstod_nan.c: Likewise.
19985         * wcsmbs/wcstof_nan.c: Likewise.
19986         * wcsmbs/wcstold_nan.c: Likewise.
19987         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19988         strtold_nan.
19989         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19990         wcstof_nan.
19991         * include/stdlib.h (__strtof_nan): Declare and use
19992         libc_hidden_proto.
19993         (__strtod_nan): Likewise.
19994         (__strtold_nan): Likewise.
19995         (__wcstof_nan): Likewise.
19996         (__wcstod_nan): Likewise.
19997         (__wcstold_nan): Likewise.
19998         * include/wchar.h (____wcstoull_l_internal): Declare.
19999         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20000         (____strtoull_l_internal): Remove declaration.
20001         (STRTOF_NAN): Define macro.
20002         (SET_MANTISSA): Remove macro.
20003         (STRTOULL): Likewise.
20004         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20005         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20006         (STRTOF_NAN): Define macro.
20007         (SET_MANTISSA): Remove macro.
20008         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20009         (SET_MANTISSA): Remove macro.
20010         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20011         macro.
20012         (SET_MANTISSA): Remove macro.
20013         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20014         macro.
20015         (SET_MANTISSA): Remove macro.
20016         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20017         (SET_MANTISSA): Remove macro.
20018         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20019         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20020         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20022         [BZ #19266]
20023         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20024         upper case and lower case letters inside NAN(), not using TOLOWER.
20025         * stdlib/tst-strtod-nan-locale-main.c: New file.
20026         * stdlib/tst-strtod-nan-locale.c: Likewise.
20027         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20028         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20029         Depend on $(gen-locales).
20030         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20031         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20032         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20033         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20034         Depend on $(gen-locales).
20035         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20037 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20039         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20041         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20043         __finitel, __isinfl, and __isnanl.
20044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20045         Likewise.
20046         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20048         __finitel.
20049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20050         Likewise.
20051         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20053 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20055         * malloc/memusage.c (me): Remove redundant getenv call.
20057 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20059         [BZ #19143]
20060         [BZ #19164]
20061         * nptl/check-cpuset.h: Remove.
20062         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20063         Remove CPU set size check.
20064         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20065         Likewise.
20066         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20067         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20068         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20069         (__pthread_setaffinity_new): Remove CPU set size check.
20070         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20071         (__kernel_cpumask_size): Remove.
20072         (__sched_setaffinity_new): Remove CPU set size check.
20073         * manual/threads.texi (Default Thread Attributes): Remove stale
20074         reference to check_cpuset_attr, determine_cpumask_size in comment.
20075         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20076         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20077         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20078         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20079         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20080         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20081         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20082         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20083         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20084         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20085         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20086         skeleton test file.
20087         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20088         tst-affinity-pid.
20090 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20092         * scripts/update-abilist.sh: New file.
20093         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20094         * Makerules (update-all-abi-%, update-all-abi)
20095         (subdir_update-all-abi): New targets.
20096         * elf/Makefile (update-all-abi): New target.
20098 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20100         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20101         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20102         (__libc_lock_define_initialized): Use it.
20103         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20104         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20105         * malloc/malloc.c (main_arena): Likewise.
20106         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20107         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20109 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20111         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20112         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20113         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20114         (PTRACE_O_MASK): Update value.
20115         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20116         New value in enum __ptrace_setoptions.
20117         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20118         (PTRACE_O_MASK): Update value.
20119         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20120         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20121         (PTRACE_O_MASK): Update value.
20122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20123         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20124         (PTRACE_O_MASK): Update value.
20125         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20126         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20127         (PTRACE_O_MASK): Update value.
20128         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20129         New value in enum __ptrace_setoptions.
20130         (PTRACE_O_MASK): Update value.
20131         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20132         New value in enum __ptrace_setoptions.
20133         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20134         (PTRACE_O_MASK): Update value.
20136         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20137         New macro.
20138         (PACKET_AUXDATA): Likewise.
20139         (PACKET_ORIGDEV): Likewise.
20140         (PACKET_VERSION): Likewise.
20141         (PACKET_HDRLEN): Likewise.
20142         (PACKET_RESERVE): Likewise.
20143         (PACKET_TX_RING): Likewise.
20144         (PACKET_LOSS): Likewise.
20145         (PACKET_VNET_HDR): Likewise.
20146         (PACKET_TX_TIMESTAMP): Likewise.
20147         (PACKET_TIMESTAMP): Likewise.
20148         (PACKET_FANOUT): Likewise.
20149         (PACKET_TX_HAS_OFF): Likewise.
20150         (PACKET_QDISC_BYPASS): Likewise.
20151         (PACKET_ROLLOVER_STATS): Likewise.
20152         (PACKET_FANOUT_DATA): Likewise.
20153         (PACKET_MR_UNICAST): Likewise.
20155         [BZ #19242]
20156         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20157         (TOUPPER): Likewise.
20158         * stdlib/tst-strtol-locale-main.c: New file.
20159         * stdlib/tst-strtol-locale.c: Likewise.
20160         * stdlib/Makefile (tests): Add tst-strtol-locale.
20161         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20162         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20163         Depend on $(gen-locales).
20164         * wcsmbs/tst-wcstol-locale.c: New file.
20165         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20166         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20167         tr_TR.ISO-8859-9.
20168         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20169         Depend on $(gen-locales).
20171 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20173         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20174         __glibc_likely instead of __builtin_expect.  After falling back to
20175         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20176         system interface to register the code pages as occupied.
20178 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20180         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20181         [!ARM_MATH_PRIVATE_H].
20182         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20183         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20184         [!HPPA_MATH_PRIVATE_H].
20185         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20186         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20187         to [!I386_MATH_PRIVATE_H].
20188         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20189         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20190         Change guard to [!M68K_MATH_PRIVATE_H].
20191         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20192         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20193         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20194         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20195         macro.
20196         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20197         [!MIPS_MATH_PRIVATE_H].
20198         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20199         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20200         [!NIO2_MATH_PRIVATE_H].
20201         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20202         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20203         [!TILE_MATH_PRIVATE_H].
20204         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20206         [BZ #15421]
20207         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20208         initialize with 0 and define as weak alias of __signgam.
20209         * include/math.h [!_ISOMAC] (__signgam): Declare.
20210         * math/Makefile (libm-calls): Add w_lgamma_compat.
20211         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20212         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20213         test-signgam-ullong-init.
20214         (tests-static): Add test-signgam-uchar-static,
20215         test-signgam-uchar-init-static, test-signgam-uint-static,
20216         test-signgam-uint-init-static, test-signgam-ullong-static and
20217         test-signgam-ullong-init-static.
20218         (CFLAGS-test-signgam-uchar.c): New variable.
20219         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20220         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20221         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20222         (CFLAGS-test-signgam-uint.c): Likewise.
20223         (CFLAGS-test-signgam-uint-init.c): Likewise.
20224         (CFLAGS-test-signgam-uint-static.c): Likewise.
20225         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20226         (CFLAGS-test-signgam-ullong.c): Likewise.
20227         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20228         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20229         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20230         * math/Versions (libm): Add GLIBC_2.23.
20231         * math/lgamma-compat.h: New file.
20232         * math/test-signgam-main.c: Likewise.
20233         * math/test-signgam-uchar-init-static.c: Likewise.
20234         * math/test-signgam-uchar-init.c: Likewise.
20235         * math/test-signgam-uchar-static.c: Likewise.
20236         * math/test-signgam-uchar.c: Likewise.
20237         * math/test-signgam-uint-init-static.c: Likewise.
20238         * math/test-signgam-uint-init.c: Likewise.
20239         * math/test-signgam-uint-static.c: Likewise.
20240         * math/test-signgam-uint.c: Likewise.
20241         * math/test-signgam-ullong-init-static.c: Likewise.
20242         * math/test-signgam-ullong-init.c: Likewise.
20243         * math/test-signgam-ullong-static.c: Likewise.
20244         * math/test-signgam-ullong.c: Likewise.
20245         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20246         wrapper of w_lgamma_main.c.
20247         * math/w_lgamma_compat.c: New file.
20248         * math/w_lgamma_compatf.c: Likewise.
20249         * math/w_lgamma_compatl.c: Likewise.
20250         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20251         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20252         defining compatibility symbols.
20253         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20254         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20255         wrapper of w_lgammaf_main.c.
20256         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20257         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20258         defining compatibility symbols.
20259         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20260         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20261         wrapper of w_lgammal_main.c.
20262         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20263         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20264         defining compatibility symbols.
20265         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20266         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20267         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20268         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20269         <lgamma-compat.h>.
20270         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20271         (__ieee754_gamma): Define as alias.
20272         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20273         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20274         <lgamma-compat.h>.
20275         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20276         (__ieee754_gammaf): Define as alias.
20277         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20278         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20279         <lgamma-compat.h>.
20280         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20281         (__ieee754_gammal): Define as alias.
20282         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20283         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20284         <math/w_lgamma_compat.c>.
20285         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20286         Define as alias of __lgamma_compat and use in defining lgammal.
20287         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20288         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20289         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20290         (USE_AS_COMPAT): New macro.
20291         (LGAMMA_OLD_VER): Undefine and redefine.
20292         (lgammal): Do not define here.
20293         (gammal): Only define here if [GAMMA_ALIAS].
20294         * conform/linknamespace.pl (@whitelist): Remove signgam.
20295         * sysdeps/nacl/libm.abilist: Update.
20296         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20297         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20298         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20299         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20300         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20301         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20302         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20303         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20304         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20305         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20306         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20307         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20309         Likewise.
20310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20311         Likewise.
20312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20313         Likewise.
20314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20315         Likewise.
20316         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20317         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20318         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20319         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20320         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20322         Likewise.
20323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20324         Likewise.
20325         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20326         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20327         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20329 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20331         [BZ #16364]
20332         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20333         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20335 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20337         * sysdeps/s390/fpu/bits/mathinline.h:
20338         Use __asm__ [__volatile__] instead of asm [volatile].
20339         * sysdeps/s390/abort-instr.h: Likewise.
20340         * sysdeps/s390/atomic-machine.h: Likewise.
20341         * sysdeps/s390/bits/string.h: Likewise.
20342         * sysdeps/s390/dl-tls.h: Likewise.
20343         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20344         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20345         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20346         * sysdeps/s390/fpu/fesetround.c: Likewise.
20347         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20348         * sysdeps/s390/fpu/s_fma.c: Likewise.
20349         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20350         * sysdeps/s390/memusage.h: Likewise.
20351         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20352         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20353         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20354         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20355         * sysdeps/s390/nptl/tls.h: Likewise.
20356         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20357         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20358         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20359         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20360         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20361         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20362         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20363         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20364         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20365         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20366         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20367         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20368         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20369         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20370         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20371         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20372         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20373         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20374         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20376         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20378         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20380 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20381             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20383         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20384         Add lwarx hint, and use macro for acquire instruction.
20385         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20386         Likewise.
20387         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20388         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20389         update to use new atomic macros.
20391 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20393         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20394         (__lll_trylock_elision): Fix setting of adapt_count.
20395         * sysdeps/unix/sysv/linux/powerpc/htm.h
20396         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20397         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20398         (_ABORT_SYSCALL): Renumber, and clarify definition.
20399         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20401 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20403         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20404         after system headers to prevent MIN/MAX redefinition.  Define
20405         HAVE_ALLOCA to preserve builtin alloca usage.
20407 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20410         static and don't set or restore rounding.
20411         (__cos)[IN_SINCOS]: Likewise.
20412         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20413         (__sincos): Set and restore rounding mode.  Remove check for infinite
20414         or NaN input.
20416         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20418         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20419         as used.
20421 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20423         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20425 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20427         * config.make.in (have-glob-dat-reloc): New.
20428         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20429         target supports GLOB_DAT relocaton. AC_SUBST.
20430         * configure: Regenerated.
20431         * elf/Makefile (tests): Add tst-prelink.
20432         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20433         (tst-prelink-ENV): New.
20434         ($(objpfx)tst-prelink-conflict.out): Likewise.
20435         ($(objpfx)tst-prelink-cmp.out): Likewise.
20436         * sysdeps/x86/tst-prelink.c: Moved to ...
20437         * elf/tst-prelink.c: Here.
20438         * sysdeps/x86/tst-prelink.exp: Moved to ...
20439         * elf/tst-prelink.exp: Here.
20440         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20441         (tst-prelink-ENV): Removed.
20442         ($(objpfx)tst-prelink-conflict.out): Likewise.
20443         ($(objpfx)tst-prelink-cmp.out): Likewise.
20444         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20446 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20448         [BZ #14551]
20449         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20450         (__mpn_construct_long_double): If high part overflows to infinity,
20451         set errno and recompute overflowed result of the correct sign.
20452         * sysdeps/ieee754/ldbl-128ibm/Makefile
20453         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20454         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20455         $(libm).
20456         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20458 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20460         [BZ #15479]
20461         [BZ #19238]
20462         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20463         floating-point state after first operation on input.  Restore full
20464         state rather than just rounding mode.
20465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20466         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20467         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20469         [BZ #19235]
20470         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20471         add 0.5 to integer arguments.
20472         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20473         Likewise.
20474         (.LC2): New object.
20476 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20478         * scripts/pylintrc (reports): Set to no.
20480 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20482         * elf/dl-load.c (open_verify): Take new argument FD.
20483         Skip __open call if passed FD is not -1.
20484         (_dl_map_object, open_path): Update callers.
20485         * elf/dl-sysdep-open.h: New file.
20486         * elf/dl-load.c: Include it.
20487         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20488         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20489         * sysdeps/nacl/dl-sysdep-open.h: New file.
20490         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20491         from libc to rtld.
20493 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20495         [BZ #19228]
20496         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20497         and restore full floating-point state.
20498         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20499         Likewise.
20500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20501         Likewise.
20502         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20503         Likewise.
20504         * math/test-nearbyint-except-2.c: New file.
20505         * math/Makefile (tests): Add test-nearbyint-except-2.
20507 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20509         [BZ #19178]
20510         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20511         (tst-prelink-ENV): New.
20512         ($(objpfx)tst-prelink-conflict.out): Likewise.
20513         ($(objpfx)tst-prelink-cmp.out): Likewise.
20514         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20515         * sysdeps/x86/tst-prelink.c: New file.
20516         * sysdeps/x86/tst-prelink.exp: Likewise.
20518 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20520         * math/auto-libm-test-in: Add another test of pow.
20521         * math/auto-libm-test-out: Regenerated.
20522         * math/libm-test.inc (pow_test_data): Add another test.
20524 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20526         [BZ #19219]
20527         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20528         weak_alias to nearbyintl.
20530 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20532         * sysdeps/aarch64/bits/string.h: New file.
20533         (_STRING_ARCH_unaligned): Define.
20535 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20537         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20538         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20539         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20540         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20543 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20545         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20546         for original name of the DSO.  Add it to the name list of the DSO
20547         if it is actually given.
20548         (_dl_map_object): Keep track of whether an audit module rewrote
20549         the file name.  If yes, pass the original name to
20550         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20551         debugging is enabled, log the change of the file name.
20552         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20553         _dl_map_object_from_fd.
20554         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20555         * elf/tst-audit11.c: New file
20556         * elf/tst-auditmod11.c: New file.
20557         * elf/tst-audit11mod1.c: New file.
20558         * elf/tst-audit11mod2.c: New file.
20559         * elf/tst-audit11mod2.map: New file.
20560         * elf/tst-audit12.c: New file
20561         * elf/tst-auditmod12.c: New file.
20562         * elf/tst-audit12mod1.c: New file.
20563         * elf/tst-audit12mod2.c: New file.
20564         * elf/tst-audit12mod2.map: New file.
20565         * elf/tst-audit12mod3.c: New file.
20567 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20569         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20570         Don't create weak aliases,
20571         because versioned symbols are created later.
20572         * sysdeps/s390/s390-32/setjmp.S
20573         (setjmp, _setjmp): Remove weak and rename to an unique name
20574         in SHARED case due to existing versioned symbols.
20575         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20577         (getcontext): Create weak alias only in non SHARED case.
20578         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20580 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20582         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20583         (__ASSUME_*_SYSCALL) Define new macros.
20584         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20585         Remove socketcall syscalls.
20586         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20587         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20588         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20589         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20590         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20591         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20593 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20595         [BZ #12926]
20596         Terminate process on invalid netlink response.
20597         * sysdeps/unix/sysv/linux/netlinkaccess.h
20598         (__netlink_assert_response): Declare.
20599         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20600         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20601         (sysdep_routines): Add netlink_assert_response.
20602         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20603         __netlink_assert_response.
20604         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20605         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20606         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20607         __netlink_assert_response.
20609 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20611         [BZ #19178]
20612         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20613         (RTYPE_CLASS_PLT): Likewise.
20614         (RTYPE_CLASS_COPY): Likewise.
20615         (RTYPE_CLASS_TLS): Likewise.
20616         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20617         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20618         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20619         DL_DEBUG_PRELINK.
20621 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20623         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20624         calls with argument -0.5.
20625         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20627         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20628         (libc_cv_z_nodlopen): Likewise.
20629         (libc_cv_z_initfirst): Likewise.
20630         * configure: Regenerated.
20632 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20634         Simplify abilist format to be line-based.
20635         * scripts/abilist.awk: Collect descriptors in the descs variable.
20636         (emit): Write descs variable and sort it
20637         externally, with sort.
20638         * sysdeps/**/*.abilist: Convert to new format.
20640 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20642         [BZ #11460]
20643         * io/Makefile (routines): Add fts64.
20644         (tests): Add tst-fts and tst-fts-lfs.
20645         (CFLAGS-fts64.c): New.
20646         * io/Versions (GLIBC_2.23): New.
20647         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20648         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20649         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20650         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20651         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20652         (FTSENT64): Likewise.
20653         (fts64_children): Likewise.
20654         (fts64_close): Likewise.
20655         (fts64_open): Likewise.
20656         (fts64_read): Likewise.
20657         (fts64_set): Likewise.
20658         * io/fts64.c: New file.
20659         * io/tst-fts.c: New test.
20660         * io/tst-fts-lfs.c: Likewise.
20661         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20662         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20663         fts64_set.
20664         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20665         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20666         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20667         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20668         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20669         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20670         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20671         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20672         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20673         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20674         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20675         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20676         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20678         Likewise.
20679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20680         Likewise.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20683         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20684         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20685         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20686         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20687         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20690         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20691         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20692         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20693         * sysdeps/wordsize-64/fts.c: New file.
20694         * sysdeps/wordsize-64/fts64.c: Likewise.
20695         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20696         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20697         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20698         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20700 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20702         * math/libm-test.inc (NON_FINITE): New macro.
20703         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20704         * math/gen-libm-test.pl (show_exceptions): Add argument
20705         $non_finite.
20706         (parse_args): Update call to show_exceptions.
20707         * math/test-math-finite.h: New file.
20708         * math/test-math-no-finite.h: Likewise.
20709         * math/test-double-finite.c: Likewise.
20710         * math/test-float-finite.c: Likewise.
20711         * math/test-ldouble-finite.c: Likewise.
20712         * math/test-double.c: Include "test-math-no-finite.h".
20713         * math/test-float.c: Include "test-math-no-finite.h".
20714         * math/test-ldouble.c: Include "test-math-no-finite.h".
20715         * math/test-math-inline.h (TEST_FINITE): New macro.
20716         * math/test-math-vector.h (TEST_FINITE): Likewise.
20717         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20718         (libm-tests): Add test-float-finite and test-double-finite.
20719         ($(objpfx)test-float-finite.o): New dependency on
20720         $(objpfx)libm-test.stmp.
20721         ($(objpfx)test-double-finite.o): Likewise.
20722         ($(objpfx)test-ldouble-finite.o): Likewise.
20723         (libm-test-no-inline-cflags): New variable.
20724         (libm-test-finite-cflags): Likewise.
20725         (CFLAGS-test-float-finite.c): Likewise.
20726         (CFLAGS-test-double-finite.c): Likewise.
20727         (CFLAGS-test-ldouble-finite.c): Likewise.
20728         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20729         (CFLAGS-test-double.c): Likewise.
20730         (CFLAGS-test-ldouble.c): Likewise.
20732 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20734         * io/fcntl.c (__fcntl): Add ... to prototype.
20735         * misc/ioctl.c (__ioctl): Likewise.
20736         * misc/syscall.c (syscall): Likewise.
20738 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20740         * scripts/list-fixed-bugs.py: New file.
20742         [BZ #19213]
20743         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20744         returned for argument 1.
20745         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20746         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20747         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20748         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20749         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20750         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20752         [BZ #19211]
20753         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20754         __USE_XOPEN], not if [!__USE_ISOC99].
20755         (lgammaf): Likewise.
20756         (lgammal): Likewise.
20757         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20758         (gammaf): Likewise.
20759         (gammal): Likewise.
20760         * math/test-signgam-finite-c11.c: New file.
20761         * math/test-signgam-finite-c99.c: Likewise.
20762         * math/test-signgam-finite.c: Likewise.
20763         * math/Makefile (tests): Add test-signgam-finite,
20764         test-signgam-finite-c99 and test-signgam-finite-c11.
20765         (CFLAGS-test-signgam-finite.c): New variable.
20766         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20767         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20769         [BZ #19212]
20770         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20771         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20772         500].
20773         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20774         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20775         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20776         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20777         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20778         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20779         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20780         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20781         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20782         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20784         [BZ #19209]
20785         * math/bits/math-finite.h (ldexp): Remove declaration.
20786         (ldexpf): Likewise.
20787         (ldexpl): Likewise.
20789         [BZ #19205]
20790         * math/bits/math-finite.h (acosf): Condition declaration on
20791         [__USE_ISOC99].
20792         (acosl): Likewise.
20793         (acoshf): Likewise.
20794         (acoshl): Likewise.
20795         (asinf): Likewise.
20796         (asinl): Likewise.
20797         (atan2f): Likewise.
20798         (atan2l): Likewise.
20799         (atanhf): Likewise.
20800         (atanhl): Likewise.
20801         (coshf): Likewise.
20802         (coshl): Likewise.
20803         (expf): Likewise.
20804         (expl): Likewise.
20805         (fmodf): Likewise.
20806         (fmodl): Likewise.
20807         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20808         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20809         (j0l): Likewise.
20810         (y0f): Likewise.
20811         (y0l): Likewise.
20812         (j1f): Likewise.
20813         (j1l): Likewise.
20814         (y1f): Likewise.
20815         (y1l): Likewise.
20816         (jnf): Likewise.
20817         (jnl): Likewise.
20818         (ynf): Likewise.
20819         (ynl): Likewise.
20820         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20821         (lgammal_r): Likewise.
20822         (__lgamma_r_finite): New declaration.
20823         (__lgammaf_r_finite): Likewise.
20824         (__lgammal_r_finite): Likewise.
20825         (lgamma): Use __lgamma_r_finite.
20826         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20827         __lgammaf_r_finite.
20828         (lgammal): Condition definition on [__USE_ISOC99].  Use
20829         __lgammal_r_finite.
20830         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20831         __lgamma_r_finite.
20832         (gammaf): Condition definition on [__USE_ISOC99].  Use
20833         __lgammaf_r_finite.
20834         (gammal): Condition definition on [__USE_ISOC99].  Use
20835         __lgammal_r_finite.
20836         (logf): Condition declaration on [__USE_ISOC99].
20837         (logl): Likewise.
20838         (log10f): Likewise.
20839         (log10l): Likewise.
20840         (ldexpf): Likewise.
20841         (ldexpl): Likewise.
20842         (powf): Likewise.
20843         (powl): Likewise.
20844         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20845         __USE_ISOC99].
20846         (remainderf): Condition declaration on [__USE_ISOC99].
20847         (remainderl): Likewise.
20848         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20849         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20850         (scalbl): Likewise.
20851         (sinhf): Condition declaration on [__USE_ISOC99].
20852         (sinhl): Likewise.
20853         (sqrtf): Likewise.
20854         (sqrtl): Likewise.
20856 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20858         * sysdeps/arm/atomic-machine.h
20859         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20860         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20861         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20862         Remove conditional code.
20863         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20864         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20865         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20866         Change conditional to [__ASSEMBLER__].
20867         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20868         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20869         [!__ASSEMBLER__].
20870         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20871         code.
20872         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20873         conditional macro definitions.
20874         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20875         (__arch_compare_and_exchange_val_16_acq): Likewise.
20876         (__arch_compare_and_exchange_val_32_acq): Likewise.
20877         (atomic_exchange_and_add): Likewise.
20878         (atomic_add): Likewise.
20879         (atomic_add_negative): Likewise.
20880         (atomic_add_zero): Likewise.
20881         (atomic_bit_set): Likewise.
20882         (atomic_bit_test_set): Likewise.
20883         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20884         code unconditional.
20885         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20887         * math/test-math-errno.h: New file.
20888         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20889         empty.
20890         (TEST_ERRNO): New macro.
20891         (TEST_EXCEPTIONS): Likewise.
20892         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20893         (TEST_EXCEPTIONS): Likewise.
20894         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20895         * math/test-double.c: Include "test-math-errno.h".
20896         * math/test-float.c: Likewise.
20897         * math/test-ldouble.c: Likewise.
20898         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20899         code unconditional.
20900         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20901         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20902         unconditional.
20903         (test_errno): Only run code if TEST_ERRNO.
20904         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20906 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20908         * nptl/tst-once5.cc: Remove attribution.
20910 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20912         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20913         sqrt, tan, tanh, y0, y1 and yn.
20914         * math/auto-libm-test-out: Regenerated.
20915         * math/libm-test.inc (scalb_test_data): Add more tests.
20916         (scalbn_test_data): Likewise.
20917         (scalbln_test_data): Likewise.
20918         (signbit_test_data): Likewise.
20919         (sin_test_data): Likewise.
20920         (sincos_test_data): Likewise.
20921         (sinh_test_data): Likewise.
20922         (sqrt_test_data): Likewise.
20923         (tan_test_data): Likewise.
20924         (tanh_test_data): Likewise.
20925         (tgamma_test_data): Likewise.
20926         (y0_test_data): Likewise.
20927         (y1_test_data): Likewise.
20928         (yn_test_data): Likewise.
20929         (significand_test_data): Likewise.
20930         * sysdeps/i386/fpu/libm-test-ulps: Update.
20932 2015-11-03  David Kastrup  <dak@gnu.org>
20934         [BZ #18604]
20935         * assert/assert.h (assert): Don't macro-expand failed assertion
20936         expression in error message.
20937         * malloc/malloc.c (assert): Likewise.
20939 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20941         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20942         test.
20943         * configure: Regenerated.
20945 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20947         * math/libm-test.inc (modf_test_data): Add more tests.
20948         (nearbyint_test_data): Likewise.
20949         (nextafter_test_data): Likewise.
20950         (nexttoward_test_data): Likewise.
20951         (pow_test_data): Likewise.
20952         (remainder_test_data): Likewise.
20953         (remquo_test_data): Likewise.
20954         (rint_test_data): Likewise.
20956         [BZ #19201]
20957         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20958         Check for zero remainder in case of large exponents and ensure
20959         correct sign of result in that case.
20960         * math/libm-test.inc (remainder_test_data): Add more tests.
20962         [BZ #6799]
20963         * math/s_nextafter.c: Include <errno.h>.
20964         (__nextafter): Set errno on overflow and underflow.
20965         * math/s_nexttowardf.c: Include <errno.h>.
20966         (__nexttowardf): Set errno on overflow and underflow.
20967         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20968         (__nextafterl): Set errno on overflow and underflow.
20969         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20970         (__nexttoward): Set errno on overflow and underflow.
20971         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20972         (__nexttowardf): Set errno on overflow and underflow.
20973         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20974         (__nextafterf): Set errno on overflow and underflow.
20975         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20976         (__nextafterl): Set errno on overflow and underflow.
20977         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20978         (__nexttoward): Set errno on overflow and underflow.
20979         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20980         (__nexttowardf): Set errno on overflow and underflow.
20981         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20982         (__nextafterl): Set errno on overflow and underflow.
20983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20984         (__nexttoward): Set errno on overflow and underflow.
20985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20986         (__nexttowardf): Set errno on overflow and underflow.
20987         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20988         (__nexttoward): Set errno on overflow and underflow.
20989         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20990         (__nexttowardf): Set errno on overflow and underflow.
20991         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20992         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20993         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20994         (__nextafterl): Set errno on overflow and underflow.
20995         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20996         setting to be missing on overflow.  Add more tests.
20997         (nexttoward_test_data): Likewise.
20999         * configure.ac (libc_cv_initfini_array): Remove configure test.
21000         * configure: Regenerated.
21002 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21004         [BZ #19189]
21005         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21006         non-finite argument handle arguments with negative sign.
21008         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21009         result from infinite argument.
21010         (j1_test_data): Likewise.
21011         (jn_test_data): Likewise.
21012         (y0_test_data): Likewise.
21013         (y1_test_data): Likewise.
21014         (yn_test_data): Likewise.
21016         [BZ #16171]
21017         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21018         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21019         * math/w_remainderf.c (dremf): Define as weak alias of
21020         __remainderf.
21021         * math/w_remainderl.c (dreml): Define as weak alias of
21022         __remainderl.
21023         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21024         __remainder.
21025         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21026         __remainderf.
21027         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21028         __remainderl.
21029         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21030         weak alias of remainderl.
21031         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21032         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21033         alias of __remainder.
21034         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21035         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21036         strong alias of __remainderl.
21037         (dreml): Use long_double_symbol.
21038         * math/Makefile (libm-calls): Remove w_drem.
21039         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21040         (CFLAGS-nldbl-drem.c): Remove variable.
21041         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21042         * math/w_drem.c: Remove file.
21043         * math/w_dremf.c: Likewise.
21044         * math/w_dreml.c: Likewise.
21045         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21046         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21047         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21049         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21050         * sysdeps/i386/configure: Regenerated.
21051         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21052         * sysdeps/x86_64/configure: Regenerated.
21054         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21055         test.
21056         (libc_cv_visibility_attribute): Likewise.
21057         (libc_cv_protected_data): Test unconditionally.
21058         (libc_cv_broken_visibility_attribute): Remove configure test.
21059         (libc_cv_have_sdata_section): Test unconditionally.
21060         * configure: Regenerated.
21062         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21063         * include/scratch_buffer.h: Include <stddef.h> instead of
21064         <libc-internal.h>.
21065         (struct scratch_buffer): Use max_align_t instead of
21066         libc_max_align_t.
21068 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21070         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21071         instead of extend_alloca.  Change control flow to avoid a goto.
21072         Remove assert which is trivially always true.
21074 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21076         [BZ #16068]
21077         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21078         (FE_ALL_EXCEPT_X86): New macro.
21079         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21080         FE_ALL_EXCEPT.  Ensure precision control is included in
21081         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21082         handle "denormal operand exception" and clear FZ and DAZ bits.
21083         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21084         (FE_ALL_EXCEPT_X86): New macro.
21085         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21086         FE_ALL_EXCEPT.  Ensure precision control is included in
21087         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21088         handle "denormal operand exception" and clear FZ and DAZ bits.
21089         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21090         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21091         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21092         test-fenv-x87 and test-fenv-sse-2.
21093         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21095         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21096         * math/test-double.h (BUILD_COMPLEX): New macro.
21097         * math/test-float.h (BUILD_COMPLEX): Likewise.
21098         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21100         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21101         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21102         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21104         instead of DBL_DENORM_MIN in comment.
21105         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21106         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21107         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21108         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21109         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21110         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21112 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21114         [BZ #19048]
21115         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21116         attached_threads member.
21117         (main_arena): Initialize attached_threads.
21118         * malloc/arena.c (list_lock): Update comment.
21119         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21120         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21121         (deattach_arena): New function.
21122         (_int_new_arena): Initialize arena reference count and deattach
21123         replaced arena.
21124         (get_free_list, reused_arena): Update reference count and deattach
21125         replaced arena.
21126         (arena_thread_freeres): Update arena reference count and only put
21127         unreferenced arenas on the free list.
21129 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21131         [BZ #19181]
21132         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21133         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21134         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21135         * math/test-fenv-clear-main.c: New file.
21136         * math/test-fenv-clear.c: Likewise.
21137         * math/Makefile (tests): Add test-fenv-clear.
21138         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21139         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21140         test-fenv-clear-sse.
21141         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21143         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21144         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21145         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21147 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21149         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21150         static libc.
21152 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21154         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21155         test.
21156         * sysdeps/i386/configure: Regenerated.
21157         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21158         test.
21159         * sysdeps/x86_64/configure: Regenerated.
21160         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21162         memset-avx2 unconditionally instead of conditionally on
21163         [$(config-cflags-avx2) = yes].
21164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21165         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21166         unconditional.
21167         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21168         * sysdeps/x86_64/multiarch/memset_chk.S
21169         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21170         to [IS_IN (libc) && SHARED].
21172 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21174         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21175         configure test.
21176         * sysdeps/arm/configure: Regenerated.
21177         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21178         Define variable if not already defined.
21180         [BZ #17404]
21181         * sysdeps/mips/atomic-machine.h
21182         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21183         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21184         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21186         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21187         unconditional.
21188         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21189         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21190         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21191         unconditional.
21192         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21193         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21194         unconditional.
21195         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21196         * stdlib/setenv.c
21197         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21198         code unconditional.
21199         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21200         Remove conditional code.
21201         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21202         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21203         unconditional.
21204         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21205         code.
21206         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21207         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21208         unconditional.
21209         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21210         code.
21211         * sysdeps/ieee754/ldbl-128/k_tanl.c
21212         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21213         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21214         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21215         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21216         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21217         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21218         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21219         unconditional.
21220         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21221         code.
21222         * sysdeps/ieee754/ldbl-96/k_tanl.c
21223         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21224         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21226         * nptl/tst-initializers1-c11.c: New file.
21227         * nptl/tst-initializers1-gnu11.c: Likewise.
21228         * nptl/Makefile (tests): Add these new tests.
21229         (CFLAGS-tst-initializers1-c11.c): New variable.
21230         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21232         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21233         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21234         instead of -std=gnu99.
21235         * configure.ac (systemtap): Test with -std=gnu11 instead of
21236         -std=gnu99.
21237         * configure: Regenerated.
21238         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21239         in compilation command in comment.
21241         * sysdeps/nptl/configure.ac: Remove file.
21242         * sysdeps/nptl/configure: Remove generated file.
21243         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21244         * configure: Regenerated.
21245         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21246         * config.make.in (have-forced-unwind): Remove variable.
21247         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21248         unconditional.
21249         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21250         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21251         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21252         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21253         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21254         unconditional.
21256 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21258         [BZ #19174]
21259         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21260         .skip_lock_out_of_tbegin_retries.
21261         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21262         (__lll_lock_elision): Likewise, and respect a value of
21263         try_tbegin <= 0.
21265 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21267         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21268         statement.
21270 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21272         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21273         variable.
21274         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21275         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21277         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21278         of -std=c1x -D_ISOC11_SOURCE.
21280         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21281         * configure: Regenerated.
21282         * manual/install.texi (Tools for Compilation): Document
21283         requirement for GCC 4.7 or later.
21284         * INSTALL: Regenerated.
21286 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21288         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21289         on CNT to a conditional jump to 'puntdata'.
21291 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21293         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21294         (libc_cv_gcc_tls_model_attr): Likewise.
21295         * configure: Regenerated.
21297         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21298         * configure: Regenerated.
21299         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21301 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21303         * configure.ac (old_glibc_headers): Remove configure test.
21304         * configure: Regenerated.
21305         * config.make.in (old-glibc-headers): Remove variable.
21306         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21307         (install): Remove dependency on remove-old-headers.
21308         (headers2_0): Remove variable.
21309         (remove-old-headers): Remove rule.
21311         * configure.ac (libc_cv_dot_text): Remove configure test.
21312         (libc_cv_asm_set_directive): Use .text instead of
21313         ${libc_cv_dot_text} in configure test.
21314         * configure: Regenerated.
21316 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21318         [BZ #19168]
21319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21321 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21323         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21324         not support static linking.
21325         * configure: Regenerate.
21327 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21329         * math/libm-test.inc (check_float_internal): Do not special-case
21330         errors up to 0.5 ulp.
21332         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21333         log2.
21334         * math/auto-libm-test-out: Regenerated.
21335         * math/libm-test.inc (MAX_EXP): New macro.
21336         (ilogb_test_data): Add more tests.
21337         (isfinite_test_data): Likewise.
21338         (isgreater_test_data): Likewise.
21339         (isgreaterequal_test_data): Likewise.
21340         (isinf_test_data): Likewise.
21341         (isless_test_data): Likewise.
21342         (islessequal_test_data): Likewise.
21343         (islessgreater_test_data): Likewise.
21344         (isnan_test_data): Likewise.
21345         (isnormal_test_data): Likewise.
21346         (issignaling_test_data): Likewise.
21347         (isunordered_test_data): Likewise.
21348         (j0_test_data): Likewise.
21349         (j1_test_data): Likewise.
21350         (jn_test_data): Likewise.
21351         (lgamma_test_data): Likewise.
21352         (log_test_data): Likewise.
21353         (log10_test_data): Likewise.
21354         (log1p_test_data): Likewise.
21355         (log2_test_data): Likewise.
21356         (logb_test_data): Likewise.
21357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21359         [BZ #18611]
21360         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21361         avoid excess range and precision on underflow.
21362         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21363         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21364         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21365         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21366         underflow.
21367         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21369         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21371         * math/auto-libm-test-in: Do not allow missing errno setting for
21372         tests of j1 and jn.
21373         * math/auto-libm-test-out: Regenerated.
21375 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21377         [BZ #15491]
21378         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21379         floating-point environment instead of clearing all exceptions.
21380         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21381         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21382         merging in "invalid" exceptions from frndint.
21383         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21384         * math/test-nearbyint-except.c: New file.
21385         * math/Makefile (tests): Add test-nearbyint-except.
21387 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21389         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21391         * sysdeps/tile/libm-test-ulps: Regenerated.
21393 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21396         (__NR_sync_file_range2): Assume it is always defined.
21397         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21398         (__NR_sync_file_range): Assume it is always defined.
21400 2015-10-22  Andreas Schwab  <schwab@suse.de>
21402         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21403         INTERNAL_SYSCALL_ERRNO.
21404         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21405         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21406         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21407         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21408         Likewise.
21409         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21411 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21413         * io/tst-fcntl.c (fd): New static variable.
21414         (do_prepare): Open temporary file here....
21415         (do_test): ...not here.
21417         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21419 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21421         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21422         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21423         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21424         Moved before "#ifdef __ASSEMBLER__".
21426 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21428         [BZ #19156]
21429         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21430         arguments very close to 0.
21432 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21434         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21435         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21437 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21439         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21440         New.  Defined for GCC 5 and above when not compiling for
21441         profiling.
21442         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21444         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21445         Renamed to ...
21446         (CFLAGS-epoll_pwait.o): This.
21447         (CFLAGS-mmap.c): Renamed to ...
21448         (CFLAGS-mmap.o): This.
21449         (CFLAGS-mmap64.c): Renamed to ...
21450         (CFLAGS-mmap64.o): This.
21451         (CFLAGS-epoll_pwait.os): New.
21452         (CFLAGS-mmap.os): Likewise.
21453         (CFLAGS-mmap64.os): Likewise.
21454         (CFLAGS-semtimedop.os): Likewise.
21455         (CFLAGS-semtimedop.c): Renamed to ...
21456         (CFLAGS-semtimedop.o): This.
21458 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21460         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21461         warning message.
21463 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21465         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21466         * Makefile ($(objpfx)c++-types-check.out): Filter out
21467         $(+gccwarn-c) instead of -Wstrict-prototypes.
21469         * io/fts.c (fts_open): Convert to prototype-style function
21470         definition.
21471         * malloc/mcheck.c (mcheck): Likewise.
21472         (mcheck_pedantic): Likewise.
21473         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21474         internal_function.
21475         (re_search_internal): Likewise.
21476         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21477         prototype-style function definition.
21478         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21479         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21480         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21481         (xdr_utmpptr): Likewise.
21482         (xdr_utmparr): Likewise.
21483         (xdr_utmpidle): Likewise.
21484         (xdr_utmpidleptr): Likewise.
21485         (xdr_utmpidlearr): Likewise.
21487         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21488         log, log10 and log2.
21489         * math/auto-libm-test-out: Regenerated.
21490         * math/libm-test.inc (fmod_test_data): Add more tests.
21491         (fpclassify_test_data): Likewise.
21492         (frexp_test_data): Likewise.
21493         (hypot_test_data): Likewise.
21494         (ilogb_test_data): Likewise.
21496 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21498         * debug/fortify_fail.c (__fortify_fail): Convert to
21499         prototype-style function definition.  Use internal_function.
21500         * libio/genops.c (save_for_backup): Convert to prototype-style
21501         function definition.
21502         * libio/wgenops.c (save_for_wbackup): Likewise.
21503         * login/grantpt.c (grantpt): Likewise.
21504         * login/ptsname.c (ptsname): Likewise.
21505         (__ptsname_r): Likewise.
21506         * login/unlockpt.c (unlockpt): Likewise.
21507         * mach/msgserver.c (__mach_msg_server): Likewise.
21508         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21509         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21510         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21511         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21512         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21513         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21514         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21515         Likewise.
21516         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21517         internal_function.
21518         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21519         prototype-style function definition.
21520         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21521         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21522         (__pthread_create_2_0): Likewise.
21523         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21524         * nptl/register-atfork.c (__register_atfork): Likewise.
21525         * posix/glob.c (glob): Likewise.
21526         * posix/regcomp.c (re_comp): Likewise.
21527         * posix/regexec.c (re_exec): Likewise.
21528         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21529         [!__STDC__]: Remove conditional code.
21530         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21531         [!__STDC__]: Remove conditional code.
21532         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21533         [!__STDC__]: Remove conditional code.
21534         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21535         [!__STDC__]: Remove conditional code.
21536         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21537         [!__STDC__]: Remove conditional code.
21538         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21539         [!__STDC__]: Remove conditional code.
21540         * stdlib/mul.c [__STDC__]: Make code unconditional.
21541         [!__STDC__]: Remove conditional code.
21542         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21543         [!__STDC__]: Remove conditional code.
21544         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21545         [!__STDC__]: Remove conditional code.
21546         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21547         function definition.
21548         (STRTOF): Likewise.
21549         * stdlib/strtod_l.c (__STRTOF): Likewise.
21550         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21551         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21552         (__strtol_l): Likewise.
21553         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21554         [!__STDC__]: Remove conditional code.
21555         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21556         definition.
21557         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21558         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21559         type.
21560         (__strcasecmp): Convert to prototype-style function definition.
21561         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21562         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21563         type.
21564         (__strncasecmp): Convert to prototype-style function definition.
21565         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21566         * sunrpc/xdr.c (xdr_union): Likewise.
21567         * sunrpc/xdr_array.c (xdr_array): Likewise.
21568         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21569         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21570         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21571         Likewise.
21572         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21573         Likewise.
21574         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21575         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21576         Likewise.
21577         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21578         (LOCALE_PARAM_PROTO): Likewise.
21579         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21580         argument type.
21581         (ut_argument_spec): Remove macro.
21582         (ut_argument_spec_iso): Rename to ut_argument_spec.
21583         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21584         prototype-style function definition.
21585         (memcpy_uppcase): Likewise.
21586         (__strftime_internal): Likewise.
21587         (my_strftime): Likewise.
21588         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21589         (LOCALE_PARAM_DECL): Likewise.
21590         [_LIBC] (LOCALE_PARAM): Include argument type.
21591         (__strptime_internal): Convert to prototype-style function
21592         definition.
21593         (strptime): Likewise.
21594         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21595         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21596         type.
21597         (__wcscasecmp): Convert to prototype-style function definition.
21598         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21599         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21600         type.
21601         (__wcsncasecmp): Convert to prototype-style function definition.
21603         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21604         function definition.
21605         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21606         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21607         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21608         * elf/dl-minimal.c (_itoa): Likewise.
21609         * hurd/hurdmalloc.c (malloc): Likewise.
21610         (free): Likewise.
21611         (realloc): Likewise.
21612         * inet/inet6_option.c (inet6_option_space): Likewise.
21613         (inet6_option_init): Likewise.
21614         (inet6_option_append): Likewise.
21615         (inet6_option_alloc): Likewise.
21616         (inet6_option_next): Likewise.
21617         (inet6_option_find): Likewise.
21618         * io/ftw.c (FTW_NAME): Likewise.
21619         (NFTW_NAME): Likewise.
21620         (NFTW_NEW_NAME): Likewise.
21621         (NFTW_OLD_NAME): Likewise.
21622         * libio/iofwide.c (_IO_fwide): Likewise.
21623         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21624         (_IO_str_init_static): Likewise.
21625         (_IO_str_init_readonly): Likewise.
21626         (_IO_str_overflow): Likewise.
21627         (_IO_str_underflow): Likewise.
21628         (_IO_str_count): Likewise.
21629         (_IO_str_seekoff): Likewise.
21630         (_IO_str_pbackfail): Likewise.
21631         (_IO_str_finish): Likewise.
21632         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21633         (_IO_wstr_overflow): Likewise.
21634         (_IO_wstr_underflow): Likewise.
21635         (_IO_wstr_count): Likewise.
21636         (_IO_wstr_seekoff): Likewise.
21637         (_IO_wstr_pbackfail): Likewise.
21638         (_IO_wstr_finish): Likewise.
21639         * locale/programs/localedef.c (normalize_codeset): Likewise.
21640         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21641         (add_locales_to_archive): Likewise.
21642         (delete_locales_from_archive): Likewise.
21643         * malloc/malloc.c (__libc_mallinfo): Likewise.
21644         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21645         * misc/tsearch.c (__tfind): Likewise.
21646         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21647         * nptl/pthread_attr_getdetachstate.c
21648         (__pthread_attr_getdetachstate): Likewise.
21649         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21650         Likewise.
21651         * nptl/pthread_attr_getinheritsched.c
21652         (__pthread_attr_getinheritsched): Likewise.
21653         * nptl/pthread_attr_getschedparam.c
21654         (__pthread_attr_getschedparam): Likewise.
21655         * nptl/pthread_attr_getschedpolicy.c
21656         (__pthread_attr_getschedpolicy): Likewise.
21657         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21658         Likewise.
21659         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21660         Likewise.
21661         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21662         Likewise.
21663         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21664         Likewise.
21665         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21666         (__pthread_attr_init_2_0): Likewise.
21667         * nptl/pthread_attr_setdetachstate.c
21668         (__pthread_attr_setdetachstate): Likewise.
21669         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21670         Likewise.
21671         * nptl/pthread_attr_setinheritsched.c
21672         (__pthread_attr_setinheritsched): Likewise.
21673         * nptl/pthread_attr_setschedparam.c
21674         (__pthread_attr_setschedparam): Likewise.
21675         * nptl/pthread_attr_setschedpolicy.c
21676         (__pthread_attr_setschedpolicy): Likewise.
21677         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21678         Likewise.
21679         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21680         Likewise.
21681         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21682         Likewise.
21683         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21684         Likewise.
21685         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21686         Likewise.
21687         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21688         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21689         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21690         use internal_function.
21691         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21692         prototype-style function definition.
21693         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21694         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21695         internal_function.
21696         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21697         Convert to prototype-style function definition.
21698         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21699         Likewise.
21700         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21701         Likewise.
21702         (__pthread_mutex_unlock): Likewise.
21703         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21704         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21705         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21706         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21707         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21708         * nss/makedb.c (process_input): Likewise.
21709         * posix/fnmatch.c (__strchrnul): Likewise.
21710         (__wcschrnul): Likewise.
21711         (fnmatch): Likewise.
21712         * posix/fnmatch_loop.c (FCT): Likewise.
21713         * posix/glob.c (globfree): Likewise.
21714         (__glob_pattern_type): Likewise.
21715         (__glob_pattern_p): Likewise.
21716         * posix/regcomp.c (re_compile_pattern): Likewise.
21717         (re_set_syntax): Likewise.
21718         (re_compile_fastmap): Likewise.
21719         (regcomp): Likewise.
21720         (regerror): Likewise.
21721         (regfree): Likewise.
21722         * posix/regexec.c (regexec): Likewise.
21723         (re_match): Likewise.
21724         (re_search): Likewise.
21725         (re_match_2): Likewise.
21726         (re_search_2): Likewise.
21727         (re_search_stub): Likewise.  Use internal_function
21728         (re_copy_regs): Likewise.
21729         (re_set_registers): Convert to prototype-style function
21730         definition.
21731         (prune_impossible_nodes): Likewise.  Use internal_function.
21732         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21733         prototype-style function definition.
21734         (inet_net_pton_ipv4): Likewise.
21735         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21736         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21737         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21738         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21739         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21740         Make variadic.
21741         * time/strptime_l.c (localtime_r): Convert to prototype-style
21742         function definition.
21743         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21744         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21745         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21746         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21748         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21749         definition.
21750         (_ufc_doit_r): Likewise.
21751         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21752         (_ufc_output_conversion_r): Likewise.
21753         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21754         * inet/rcmd.c (rcmd_af): Likewise.
21755         (rcmd): Likewise.
21756         (ruserok_af): Likewise.
21757         (ruserok): Likewise.
21758         (ruserok2_sa): Likewise.
21759         (ruserok_sa): Likewise.
21760         (iruserok_af): Likewise.
21761         (iruserok): Likewise.
21762         (__ivaliduser): Likewise.
21763         (__validuser2_sa): Likewise.
21764         * inet/rexec.c (rexec_af): Likewise.
21765         (rexec): Likewise.
21766         * inet/ruserpass.c (ruserpass): Likewise.
21767         * locale/programs/xmalloc.c (xcalloc): Likewise.
21768         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21769         * math/w_drem.c (__drem): Likewise.
21770         * math/w_dremf.c (__dremf): Likewise.
21771         * math/w_dreml.c (__dreml): Likewise.
21772         * misc/daemon.c (daemon): Likewise.
21773         * resolv/res_debug.c (p_fqnname): Likewise.
21774         * stdlib/div.c (div): Likewise.
21775         * string/memcmp.c (memcmp_bytes): Likewise.
21776         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21777         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21779         * crypt/cert.c (main): Convert to prototype-style function
21780         definition.
21781         * io/pipe.c (__pipe): Likewise.
21782         * io/pipe2.c (__pipe2): Likewise.
21783         * misc/futimesat.c (futimesat): Likewise.
21784         * misc/utimes.c (__utimes): Likewise.
21785         * posix/execve.c (__execve): Likewise.
21786         * posix/execvp.c (execvp): Likewise.
21787         * posix/execvpe.c (__execvpe): Likewise.
21788         * posix/fexecve.c (fexecve): Likewise.
21789         * socket/socketpair.c (socketpair): Likewise.
21790         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21791         * stdlib/erand48.c (erand48): Likewise.
21792         * stdlib/erand48_r.c (__erand48_r): Likewise.
21793         * stdlib/jrand48.c (jrand48): Likewise.
21794         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21795         * stdlib/lcong48.c (lcong48): Likewise.
21796         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21797         * stdlib/nrand48.c (nrand48): Likewise.
21798         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21799         * stdlib/seed48.c (seed48): Likewise.
21800         * stdlib/seed48_r.c (__seed48_r): Likewise.
21801         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21802         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21803         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21805 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21807         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21808         * configure: Regenerated.
21809         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21810         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21811         unconditional.
21812         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21813         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21814         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21815         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21816         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21817         unconditional.
21818         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21820         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21821         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21823         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21824         function definition.
21825         * crypt/crypt_util.c (__encrypt_r): Likewise.
21826         * libio/genops.c (_IO_no_init): Likewise.
21827         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21828         (_IO_old_fopencookie): Likewise.
21829         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21830         * libio/iogetline.c (_IO_getline): Likewise.
21831         (_IO_getline_info): Likewise.
21832         * libio/iogetwline.c (_IO_getwline): Likewise.
21833         (_IO_getwline_info): Likewise.
21834         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21835         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21836         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21837         (find_entry): Likewise.
21838         (iterate_table): Likewise.
21839         (lookup): Likewise.
21840         * login/forkpty.c (forkpty): Likewise.
21841         * misc/hsearch_r.c (__hsearch_r): Likewise.
21842         * misc/select.c (__select): Likewise.
21843         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21844         Likewise.
21845         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21846         Likewise.
21847         * nptl/old_pthread_cond_timedwait.c
21848         (__pthread_cond_timedwait_2_0): Likewise.
21849         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21850         * nptl/pthread_barrierattr_getpshared.c
21851         (pthread_barrierattr_getpshared): Likewise.
21852         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21853         Likewise.
21854         * nptl/pthread_mutex_setprioceiling.c
21855         (pthread_mutex_setprioceiling): Likewise.
21856         * nptl/pthread_mutexattr_getprioceiling.c
21857         (pthread_mutexattr_getprioceiling): Likewise.
21858         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21859         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21860         Likewise.
21861         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21862         Likewise.
21863         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21864         Likewise.
21865         * socket/recvfrom.c (__recvfrom): Likewise.
21866         * socket/sendto.c (__sendto): Likewise.
21867         * socket/setsockopt.c (__setsockopt): Likewise.
21868         * stdio-common/_itoa.c (_itoa): Likewise.
21869         * stdio-common/_itowa.c (_itowa): Likewise.
21870         * stdio-common/reg-printf.c (__register_printf_specifier):
21871         Likewise.
21872         (__register_printf_function): Likewise.
21873         * stdio-common/tempname.c (__path_search): Likewise.
21874         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21875         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21876         * stdlib/random_r.c (__initstate_r): Likewise.
21877         * stdlib/setenv.c (__add_to_environ): Likewise.
21878         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21879         * streams/getpmsg.c (getpmsg): Likewise.
21880         * streams/putmsg.c (putmsg): Likewise.
21881         * streams/putpmsg.c (putpmsg): Likewise.
21882         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21883         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21884         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21885         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21886         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21887         * sunrpc/svc_udp.c (cache_get): Likewise.
21888         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21889         * sysdeps/mach/hurd/getcwd.c
21890         (__canonicalize_directory_name_internal): Likewise.
21891         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21892         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21893         * sysdeps/mach/hurd/select.c (__select): Likewise.
21894         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21895         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21896         * sysdeps/sparc/nptl/pthread_barrier_init.c
21897         (__pthread_barrier_init): Likewise.
21898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21899         (__pthread_cond_timedwait): Likewise.
21900         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21901         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21902         Likewise.
21903         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21904         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21905         Likewise.
21906         * sysvipc/semtimedop.c (semtimedop): Likewise.
21907         * time/setitimer.c (__setitimer): Likewise.
21908         * time/strftime_l.c (emacs_strftime): Likewise.
21910 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21912         * config.make.in (have-ssp): Delete.
21913         (stack-protector): New variable.
21914         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21915         cache test for -fstack-protector-strong.  Export stack_protector to
21916         the best ssp flag.
21917         * configure: Regenerated.
21918         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21919         * nscd/Makefile (CFLAGS-nscd): Likewise.
21920         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21922 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21924         [BZ #19122]
21925         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21926         attribute_hidden.
21928 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21930         [BZ #18743]
21931         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21932         code to...
21933         (ELIDE_LOCK): ...here.
21934         (__get_new_count): New function with part of the code from
21935         __elide_lock that updates the value of adapt_count after a
21936         transaction abort.
21937         (__elided_trylock): Moved this code to...
21938         (ELIDE_TRYLOCK): ...here.
21940 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21942         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21943         * configure: Regenerate.
21944         * INSTALL: Regenerate.
21945         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21946         and tweak grammar.
21948 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21950         * login/programs/pt_chown.c: Include signal.h
21951         (main): Clear any signal mask from the parent process.
21953 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21955         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21956         * configure: Regenerated.
21957         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21958         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21959         $(gnu89-inline-CFLAGS).
21961         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21962         test.
21963         (libc_cv_asm_weakext_directive): Likewise.
21964         * configure: Regenerated.
21965         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21966         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21967         * include/libc-symbols.h
21968         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21969         #error.
21970         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21971         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21973         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21974         prototype-style function definition.
21975         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21976         * sysdeps/i386/ffs.c (__ffs): Likewise.
21977         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21978         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21979         Likewise.
21980         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21981         Likewise.
21982         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21984         Likewise.
21985         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21986         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21987         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21988         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21989         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21990         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21991         * sysdeps/mach/hurd/access.c (__access): Likewise.
21992         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21993         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21994         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21995         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21996         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21997         (cthread_getspecific): Likewise.
21998         (cthread_setspecific): Likewise.
21999         (__libc_getspecific): Likewise.
22000         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22001         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22002         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22003         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22004         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22005         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22006         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22007         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22008         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22009         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22010         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22011         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22012         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22013         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22014         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22015         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22016         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22017         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22018         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22019         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22020         * sysdeps/mach/hurd/link.c (__link): Likewise.
22021         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22022         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22023         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22024         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22025         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22026         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22027         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22028         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22029         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22030         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22031         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22032         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22033         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22034         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22035         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22036         * sysdeps/mach/hurd/send.c (__send): Likewise.
22037         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22038         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22039         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22040         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22041         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22042         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22043         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22044         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22045         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22046         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22047         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22048         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22049         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22050         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22051         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22052         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22053         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22054         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22055         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22056         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22057         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22058         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22059         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22060         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22061         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22062         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22063         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22064         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22065         * sysdeps/posix/alarm.c (alarm): Likewise.
22066         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22067         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22068         * sysdeps/posix/dup.c (__dup): Likewise.
22069         * sysdeps/posix/dup2.c (__dup2): Likewise.
22070         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22071         (main): Likewise.
22072         * sysdeps/posix/flock.c (__flock): Likewise.
22073         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22074         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22075         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22076         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22077         * sysdeps/posix/isatty.c (__isatty): Likewise.
22078         * sysdeps/posix/killpg.c (killpg): Likewise.
22079         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22080         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22081         * sysdeps/posix/raise.c (raise): Likewise.
22082         * sysdeps/posix/remove.c (remove): Likewise.
22083         * sysdeps/posix/rename.c (rename): Likewise.
22084         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22085         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22086         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22087         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22088         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22089         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22090         * sysdeps/posix/sigset.c (sigset): Likewise.
22091         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22092         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22093         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22094         * sysdeps/posix/time.c (time): Likewise.
22095         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22096         (ttyname): Likewise.
22097         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22098         * sysdeps/posix/utime.c (utime): Likewise.
22099         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22100         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22101         Likewise.
22102         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22103         (pthread_spin_trylock): Likewise.
22104         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22105         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22106         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22107         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22108         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22109         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22110         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22111         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22112         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22113         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22114         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22115         * sysdeps/s390/ffs.c (__ffs): Likewise.
22116         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22117         Likewise.
22118         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22119         Likewise.
22120         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22121         Likewise.
22122         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22123         (pthread_barrier_destroy): Likewise.
22124         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22125         (__pthread_barrier_wait): Likewise.
22126         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22127         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22128         (__pthread_barrier_wait): Likewise.
22129         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22130         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22131         (memcmp_not_common_alignment): Likewise.
22132         (MEMCMP): Likewise.
22133         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22134         (_wordcopy_fwd_dest_aligned): Likewise.
22135         (_wordcopy_bwd_aligned): Likewise.
22136         (_wordcopy_bwd_dest_aligned): Likewise.
22137         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22138         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22139         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22140         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22141         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22142         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22143         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22144         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22145         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22146         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22147         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22148         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22149         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22150         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22151         * sysdeps/unix/stime.c (stime): Likewise.
22152         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22153         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22154         Likewise.  Use internal_function.
22155         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22156         Convert to prototype-style function definition.
22157         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22158         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22159         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22160         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22161         Likewise.  Use internal_function.
22162         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22163         prototype-style function definition
22164         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22165         Likewise.
22166         (__getlogin_r): Likewise.
22167         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22168         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22169         (__pthread_cond_broadcast): Likewise.
22170         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22171         (__pthread_cond_destroy): Likewise.
22172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22173         (__pthread_cond_init): Likewise.
22174         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22175         (__pthread_cond_signal): Likewise.
22176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22177         (__pthread_cond_wait): Likewise.
22178         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22179         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22180         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22181         Likewise.
22182         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22183         Likewise.
22184         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22185         Likewise.
22186         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22187         Likewise.
22188         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22190         (__ftruncate64): Likewise.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22192         (truncate64): Likewise.
22193         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22194         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22195         (pthread_getcpuclockid): Likewise.
22196         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22197         Likewise.
22198         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22199         Likewise.
22200         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22201         Likewise.
22202         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22203         Likewise.
22204         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22205         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22206         (__libc_sigaction): Likewise.
22207         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22208         Likewise.
22209         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22210         (__sigprocmask): Likewise.
22211         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22212         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22213         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22214         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22215         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22216         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22217         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22218         Likewise.
22219         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22220         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22221         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22222         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22223         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22224         Likewise.
22225         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22226         (__sigprocmask): Likewise.
22227         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22228         (cfgetispeed): Likewise.
22229         (cfsetospeed): Likewise.
22230         (cfsetispeed): Likewise.
22231         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22232         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22233         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22234         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22235         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22236         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22237         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22238         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22239         Likewise.
22240         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22241         Likewise.
22242         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22243         Likewise.
22244         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22245         Likewise.
22246         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22248 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22250         sunrpc: Rewrite with explicit TLS access using __thread.
22251         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22252         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22253         directly.
22254         (__rpc_thread_variables): Access thread_rpc_vars directly.
22255         Eliminate redundant assignment of the tvp variable.
22257 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22259         malloc: Rewrite with explicit TLS access using __thread.
22260         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22261         (tsd_setspecific, tsd_getspecific): Remove.
22262         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22263         (tsd_setspecific, tsd_getspecific): Likewise.
22264         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22265         (tsd_setspecific, tsd_getspecific): Likewise.
22266         * malloc/arena.c (thread_arena): New TLS variable.
22267         (arena_key): Remove variable.
22268         (arena_get): Use thread_arena.
22269         (arena_lookup): Remove macro.
22270         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22271         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22272         (_int_new_arena, get_free_list, reused_arena)
22273         (arena_thread_freeres): Use thread_arena.
22274         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22275         tsd_getspecific, tsd_setspecific from safety annotations.
22276         (Allocating Cleared Space): Remove arena_lookup from safety
22277         annotations.
22279 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22281         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22282         struct scratch_buffer instead of extend_alloca.
22284 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22286         * sysdeps/unix/sysv/linux/kernel-features.h
22287         (__ASSUME_SOCK_CLOEXEC): Remove.
22288         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22289         (__have_paccept): Remove unused macro.
22290         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22291         * misc/syslog.c (openlog_internal): Remove fallback code for
22292         !__ASSUME_SOCK_CLOEXEC.
22293         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22294         missing SOCK_CLOEXEC.
22295         * nscd/connections.c (have_sock_cloexec): Remove definition.
22296         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22297         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22298         !__ASSUME_SOCK_CLOEXEC.
22299         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22300         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22301         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22302         definition.
22303         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22304         code for !__ASSUME_SOCK_CLOEXEC.
22306 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22308         [BZ #18982]
22309         * manual/stdio.texi (Variable Arguments Output): Add portability
22310         note, explaining that vfprintf clobbers the va_list pointer.
22312 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22314         * math/libm-test.inc (fabs_test_data): Add more tests.
22315         (fdim_test_data): Likewise.
22316         (fma_test_data): Likewise.
22317         (fmax_test_data): Likewise.
22318         (fmin_test_data): Likewise.
22319         (fmod_test_data): Likewise.
22321 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22323         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22324         data.
22326 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22328         * math/libm-test.inc (ceil_test_data): Add more tests and more
22329         expectations for "inexact".
22330         (floor_test_data): Add more tests.
22331         (round_test_data): Likewise.
22332         (trunc_test_data): Likewise.
22334         * crypt/cert.c (good_bye): Convert to prototype-style function
22335         definition.
22336         (get8): Likewise.
22337         (put8): Likewise.
22338         * crypt/crypt-entry.c (crypt): Likewise.
22339         (__fcrypt): Likewise.
22340         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22341         (_ufc_set_bits): Likewise.
22342         (_ufc_clearmem): Likewise.
22343         (__init_des_r): Likewise.
22344         (shuffle_sb): Likewise.
22345         (shuffle_sb): Likewise.
22346         (_ufc_setup_salt_r): Likewise.
22347         (_ufc_mk_keytab_r): Likewise.
22348         (_ufc_dofinalperm_r): Likewise.
22349         (encrypt): Likewise.
22350         (__setkey_r): Likewise.
22351         (setkey): Likewise.
22352         * crypt/md5.c (md5_init_ctx): Likewise.
22353         (md5_read_ctx): Likewise.
22354         (md5_finish_ctx): Likewise.
22355         (md5_stream): Likewise.
22356         (md5_buffer): Likewise.
22357         (md5_process_bytes): Likewise.
22358         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22359         (__sha256_finish_ctx): Likewise.
22360         (__sha256_process_bytes): Likewise.
22361         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22362         (__sha512_finish_ctx): Likewise.
22363         (__sha512_process_bytes): Likewise.
22364         * ctype/isctype.c (__isctype): Likewise.
22365         * debug/backtrace.c (__backtrace): Likewise.
22366         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22367         * debug/fgets_chk.c (__fgets_chk): Likewise.
22368         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22369         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22370         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22371         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22372         * debug/memset_chk.c (__memset_chk): Likewise.
22373         * debug/strcat_chk.c (__strcat_chk): Likewise.
22374         * debug/strncat_chk.c (__strncat_chk): Likewise.
22375         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22376         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22377         * dirent/dirfd.c (dirfd): Likewise.
22378         * dirent/getdents.c (__getdirentries): Likewise.
22379         * dirent/getdents64.c (getdirentries64): Likewise.
22380         * dirent/rewinddir.c (__rewinddir): Likewise.
22381         * dirent/seekdir.c (seekdir): Likewise.
22382         * dirent/telldir.c (telldir): Likewise.
22383         * elf/sln.c (makesymlinks): Likewise.
22384         (makesymlink): Likewise.
22385         * gmon/gmon.c (__moncontrol): Likewise.
22386         (__monstartup): Likewise.
22387         (write_hist): Likewise.
22388         (write_call_graph): Likewise.
22389         (write_bb_counts): Likewise.
22390         * grp/setgroups.c (setgroups): Likewise.
22391         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22392         * inet/inet_net.c (inet_network): Likewise.
22393         * inet/inet_netof.c (inet_netof): Likewise.
22394         * inet/rcmd.c (rresvport_af): Likewise.
22395         (rresvport): Likewise.
22396         * io/access.c (__access): Likewise.
22397         * io/chdir.c (__chdir): Likewise.
22398         * io/chmod.c (__chmod): Likewise.
22399         * io/chown.c (__chown): Likewise.
22400         * io/close.c (__close): Likewise.
22401         * io/creat.c (creat): Likewise.
22402         * io/creat64.c (creat64): Likewise.
22403         * io/dup.c (__dup): Likewise.
22404         * io/dup2.c (__dup2): Likewise.
22405         * io/dup3.c (__dup3): Likewise.
22406         * io/euidaccess.c (__euidaccess): Likewise.
22407         * io/faccessat.c (faccessat): Likewise.
22408         * io/fchmod.c (__fchmod): Likewise.
22409         * io/fchmodat.c (fchmodat): Likewise.
22410         * io/fchown.c (__fchown): Likewise.
22411         * io/fchownat.c (fchownat): Likewise.
22412         * io/fcntl.c (__fcntl): Likewise.
22413         * io/flock.c (__flock): Likewise.
22414         * io/fts.c (fts_load): Likewise.
22415         (fts_close): Likewise.
22416         (fts_read): Likewise.
22417         (fts_set): Likewise.
22418         (fts_children): Likewise.
22419         (fts_build): Likewise.
22420         (fts_stat): Likewise.
22421         (fts_sort): Likewise.
22422         (fts_alloc): Likewise.
22423         (fts_lfree): Likewise.
22424         (fts_palloc): Likewise.
22425         (fts_padjust): Likewise.
22426         (fts_maxarglen): Likewise.
22427         (fts_safe_changedir): Likewise.
22428         * io/getwd.c (getwd): Likewise.
22429         * io/isatty.c (__isatty): Likewise.
22430         * io/lchown.c (__lchown): Likewise.
22431         * io/link.c (__link): Likewise.
22432         * io/linkat.c (linkat): Likewise.
22433         * io/lseek.c (__libc_lseek): Likewise.
22434         * io/mkdir.c (__mkdir): Likewise.
22435         * io/mkdirat.c (mkdirat): Likewise.
22436         * io/mkfifo.c (mkfifo): Likewise.
22437         * io/mkfifoat.c (mkfifoat): Likewise.
22438         * io/open.c (__libc_open): Likewise.
22439         * io/open64.c (__libc_open64): Likewise.
22440         * io/readlink.c (__readlink): Likewise.
22441         * io/readlinkat.c (readlinkat): Likewise.
22442         * io/rmdir.c (__rmdir): Likewise.
22443         * io/symlink.c (__symlink): Likewise.
22444         * io/symlinkat.c (symlinkat): Likewise.
22445         * io/ttyname.c (ttyname): Likewise.
22446         * io/ttyname_r.c (__ttyname_r): Likewise.
22447         * io/umask.c (__umask): Likewise.
22448         * io/unlink.c (__unlink): Likewise.
22449         * io/unlinkat.c (unlinkat): Likewise.
22450         * io/utime.c (utime): Likewise.
22451         * libio/clearerr.c (clearerr): Likewise.
22452         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22453         * libio/feof.c (_IO_feof): Likewise.
22454         * libio/feof_u.c (feof_unlocked): Likewise.
22455         * libio/ferror.c (_IO_ferror): Likewise.
22456         * libio/ferror_u.c (ferror_unlocked): Likewise.
22457         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22458         * libio/fileno.c (__fileno): Likewise.
22459         * libio/fputc.c (fputc): Likewise.
22460         * libio/fputc_u.c (fputc_unlocked): Likewise.
22461         * libio/fputwc.c (fputwc): Likewise.
22462         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22463         * libio/freopen.c (freopen): Likewise.
22464         * libio/freopen64.c (freopen64): Likewise.
22465         * libio/fseek.c (fseek): Likewise.
22466         * libio/fseeko.c (fseeko): Likewise.
22467         * libio/fseeko64.c (fseeko64): Likewise.
22468         * libio/ftello.c (__ftello): Likewise.
22469         * libio/ftello64.c (ftello64): Likewise.
22470         * libio/fwide.c (fwide): Likewise.
22471         * libio/genops.c (_IO_un_link): Likewise.
22472         (_IO_link_in): Likewise.
22473         (_IO_least_marker): Likewise.
22474         (_IO_switch_to_main_get_area): Likewise.
22475         (_IO_switch_to_backup_area): Likewise.
22476         (_IO_switch_to_get_mode): Likewise.
22477         (_IO_free_backup_area): Likewise.
22478         (_IO_switch_to_put_mode): Likewise.
22479         (__overflow): Likewise.
22480         (__underflow): Likewise.
22481         (__uflow): Likewise.
22482         (_IO_setb): Likewise.
22483         (_IO_doallocbuf): Likewise.
22484         (_IO_default_underflow): Likewise.
22485         (_IO_default_uflow): Likewise.
22486         (_IO_default_xsputn): Likewise.
22487         (_IO_sgetn): Likewise.
22488         (_IO_default_xsgetn): Likewise.
22489         (_IO_sync): Likewise.
22490         (_IO_default_setbuf): Likewise.
22491         (_IO_default_seekpos): Likewise.
22492         (_IO_default_doallocate): Likewise.
22493         (_IO_init): Likewise.
22494         (_IO_old_init): Likewise.
22495         (_IO_default_sync): Likewise.
22496         (_IO_default_finish): Likewise.
22497         (_IO_default_seekoff): Likewise.
22498         (_IO_sputbackc): Likewise.
22499         (_IO_sungetc): Likewise.
22500         (_IO_set_column): Likewise.
22501         (_IO_set_column): Likewise.
22502         (_IO_adjust_column): Likewise.
22503         (_IO_get_column): Likewise.
22504         (_IO_init_marker): Likewise.
22505         (_IO_remove_marker): Likewise.
22506         (_IO_marker_difference): Likewise.
22507         (_IO_marker_delta): Likewise.
22508         (_IO_seekmark): Likewise.
22509         (_IO_unsave_markers): Likewise.
22510         (_IO_nobackup_pbackfail): Likewise.
22511         (_IO_default_pbackfail): Likewise.
22512         (_IO_default_seek): Likewise.
22513         (_IO_default_stat): Likewise.
22514         (_IO_default_read): Likewise.
22515         (_IO_default_write): Likewise.
22516         (_IO_default_showmanyc): Likewise.
22517         (_IO_default_imbue): Likewise.
22518         (_IO_iter_next): Likewise.
22519         (_IO_iter_file): Likewise.
22520         * libio/getc.c (_IO_getc): Likewise.
22521         * libio/getwc.c (_IO_getwc): Likewise.
22522         * libio/iofclose.c (_IO_new_fclose): Likewise.
22523         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22524         * libio/iofflush.c (_IO_fflush): Likewise.
22525         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22526         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22527         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22528         * libio/iofgets.c (_IO_fgets): Likewise.
22529         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22530         * libio/iofgetws.c (fgetws): Likewise.
22531         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22532         * libio/iofopen64.c (_IO_fopen64): Likewise.
22533         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22534         (_IO_cookie_write): Likewise.
22535         (_IO_cookie_seek): Likewise.
22536         (_IO_cookie_close): Likewise.
22537         (_IO_cookie_seekoff): Likewise.
22538         (_IO_old_cookie_seek): Likewise.
22539         * libio/iofputs.c (_IO_fputs): Likewise.
22540         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22541         * libio/iofputws.c (fputws): Likewise.
22542         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22543         * libio/iofread.c (_IO_fread): Likewise.
22544         * libio/iofread_u.c (__fread_unlocked): Likewise.
22545         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22546         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22547         * libio/ioftell.c (_IO_ftell): Likewise.
22548         * libio/iofwrite.c (_IO_fwrite): Likewise.
22549         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22550         * libio/iogets.c (_IO_gets): Likewise.
22551         * libio/iopadn.c (_IO_padn): Likewise.
22552         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22553         (_IO_new_popen): Likewise.
22554         (_IO_new_proc_close): Likewise.
22555         * libio/ioputs.c (_IO_puts): Likewise.
22556         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22557         (_IO_seekoff): Likewise.
22558         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22559         (_IO_seekpos): Likewise.
22560         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22561         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22562         * libio/ioungetc.c (_IO_ungetc): Likewise.
22563         * libio/ioungetwc.c (ungetwc): Likewise.
22564         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22565         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22566         * libio/iowpadn.c (_IO_wpadn): Likewise.
22567         * libio/libc_fatal.c (__libc_fatal): Likewise.
22568         * libio/memstream.c (__open_memstream): Likewise.
22569         (_IO_mem_sync): Likewise.
22570         (_IO_mem_finish): Likewise.
22571         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22572         (_IO_old_file_close_it): Likewise.
22573         (_IO_old_file_finish): Likewise.
22574         (_IO_old_file_fopen): Likewise.
22575         (_IO_old_file_attach): Likewise.
22576         (_IO_old_file_setbuf): Likewise.
22577         (_IO_old_do_write): Likewise.
22578         (old_do_write): Likewise.
22579         (_IO_old_file_underflow): Likewise.
22580         (_IO_old_file_overflow): Likewise.
22581         (_IO_old_file_sync): Likewise.
22582         (_IO_old_file_seekoff): Likewise.
22583         (_IO_old_file_write): Likewise.
22584         (_IO_old_file_xsputn): Likewise.
22585         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22586         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22587         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22588         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22589         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22590         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22591         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22592         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22593         (_IO_old_popen): Likewise.
22594         (_IO_old_proc_close): Likewise.
22595         * libio/oldpclose.c (__old_pclose): Likewise.
22596         * libio/pclose.c (__new_pclose): Likewise.
22597         * libio/peekc.c (_IO_peekc_locked): Likewise.
22598         * libio/putc.c (_IO_putc): Likewise.
22599         * libio/putc_u.c (putc_unlocked): Likewise.
22600         * libio/putchar.c (putchar): Likewise.
22601         * libio/putchar_u.c (putchar_unlocked): Likewise.
22602         * libio/putwc.c (putwc): Likewise.
22603         * libio/putwc_u.c (putwc_unlocked): Likewise.
22604         * libio/putwchar.c (putwchar): Likewise.
22605         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22606         * libio/rewind.c (rewind): Likewise.
22607         * libio/setbuf.c (setbuf): Likewise.
22608         * libio/setlinebuf.c (setlinebuf): Likewise.
22609         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22610         * libio/vscanf.c (_IO_vscanf): Likewise.
22611         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22612         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22613         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22614         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22615         (_IO_switch_to_main_wget_area): Likewise.
22616         (_IO_switch_to_wbackup_area): Likewise.
22617         (_IO_wsetb): Likewise.
22618         (_IO_wdefault_pbackfail): Likewise.
22619         (_IO_wdefault_finish): Likewise.
22620         (_IO_wdefault_uflow): Likewise.
22621         (__woverflow): Likewise.
22622         (__wuflow): Likewise.
22623         (__wunderflow): Likewise.
22624         (_IO_wdefault_xsputn): Likewise.
22625         (_IO_wdefault_xsgetn): Likewise.
22626         (_IO_wdoallocbuf): Likewise.
22627         (_IO_wdefault_doallocate): Likewise.
22628         (_IO_switch_to_wget_mode): Likewise.
22629         (_IO_free_wbackup_area): Likewise.
22630         (_IO_switch_to_wput_mode): Likewise.
22631         (_IO_sputbackwc): Likewise.
22632         (_IO_sungetwc): Likewise.
22633         (_IO_adjust_wcolumn): Likewise.
22634         (_IO_init_wmarker): Likewise.
22635         (_IO_wmarker_delta): Likewise.
22636         (_IO_seekwmark): Likewise.
22637         (_IO_unsave_wmarkers): Likewise.
22638         * libio/wmemstream.c (open_wmemstream): Likewise.
22639         (_IO_wmem_sync): Likewise.
22640         (_IO_wmem_finish): Likewise.
22641         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22642         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22643         * locale/programs/simple-hash.c (init_hash): Likewise.
22644         (delete_hash): Likewise.
22645         (insert_entry): Likewise.
22646         (set_entry): Likewise.
22647         (next_prime): Likewise.
22648         (is_prime): Likewise.
22649         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22650         (xmalloc): Likewise.
22651         (xrealloc): Likewise.
22652         * locale/programs/xstrdup.c (xstrdup): Likewise.
22653         * localedata/collate-test.c (xstrcoll): Likewise.
22654         * localedata/xfrm-test.c (xstrcmp): Likewise.
22655         * login/getlogin_r.c (__getlogin_r): Likewise.
22656         * login/getpt.c (__posix_openpt): Likewise.
22657         * login/login_tty.c (login_tty): Likewise.
22658         * login/setlogin.c (setlogin): Likewise.
22659         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22660         (mach_msg_destroy_port): Likewise.
22661         (mach_msg_destroy_memory): Likewise.
22662         * malloc/mcheck.c (flood): Likewise.
22663         * misc/acct.c (acct): Likewise.
22664         * misc/brk.c (__brk): Likewise.
22665         * misc/chflags.c (chflags): Likewise.
22666         * misc/chroot.c (chroot): Likewise.
22667         * misc/fchflags.c (fchflags): Likewise.
22668         * misc/fstab.c (getfsspec): Likewise.
22669         (getfsfile): Likewise.
22670         * misc/fsync.c (fsync): Likewise.
22671         * misc/ftruncate.c (__ftruncate): Likewise.
22672         * misc/ftruncate64.c (__ftruncate64): Likewise.
22673         * misc/getdomain.c (getdomainname): Likewise.
22674         (getdomainname): Likewise.
22675         * misc/gethostname.c (__gethostname): Likewise.
22676         * misc/getpass.c (getpass): Likewise.
22677         * misc/getttyent.c (skip): Likewise.
22678         (value): Likewise.
22679         * misc/gtty.c (gtty): Likewise.
22680         * misc/hsearch.c (hsearch): Likewise.
22681         (hcreate): Likewise.
22682         * misc/hsearch_r.c (__hcreate_r): Likewise.
22683         (__hdestroy_r): Likewise.
22684         * misc/ioctl.c (__ioctl): Likewise.
22685         * misc/mkdtemp.c (mkdtemp): Likewise.
22686         * misc/mkostemp.c (mkostemp): Likewise.
22687         * misc/mkostemp64.c (mkostemp64): Likewise.
22688         * misc/mkostemps.c (mkostemps): Likewise.
22689         * misc/mkostemps64.c (mkostemps64): Likewise.
22690         * misc/mkstemp.c (mkstemp): Likewise.
22691         * misc/mkstemp64.c (mkstemp64): Likewise.
22692         * misc/mkstemps.c (mkstemps): Likewise.
22693         * misc/mkstemps64.c (mkstemps64): Likewise.
22694         * misc/mktemp.c (__mktemp): Likewise.
22695         * misc/preadv.c (preadv): Likewise.
22696         * misc/preadv64.c (preadv64): Likewise.
22697         * misc/pwritev.c (pwritev): Likewise.
22698         * misc/pwritev64.c (pwritev64): Likewise.
22699         * misc/readv.c (__readv): Likewise.
22700         * misc/revoke.c (revoke): Likewise.
22701         * misc/setdomain.c (setdomainname): Likewise.
22702         * misc/setegid.c (setegid): Likewise.
22703         * misc/seteuid.c (seteuid): Likewise.
22704         * misc/sethostid.c (sethostid): Likewise.
22705         * misc/sethostname.c (sethostname): Likewise.
22706         * misc/setregid.c (__setregid): Likewise.
22707         * misc/setreuid.c (__setreuid): Likewise.
22708         * misc/sstk.c (sstk): Likewise.
22709         * misc/stty.c (stty): Likewise.
22710         * misc/syscall.c (syscall): Likewise.
22711         * misc/syslog.c (setlogmask): Likewise.
22712         * misc/truncate.c (__truncate): Likewise.
22713         * misc/truncate64.c (truncate64): Likewise.
22714         * misc/ualarm.c (ualarm): Likewise.
22715         * misc/usleep.c (usleep): Likewise.
22716         * misc/ustat.c (ustat): Likewise.
22717         * misc/writev.c (__writev): Likewise.
22718         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22719         * nptl/old_pthread_cond_broadcast.c
22720         (__pthread_cond_broadcast_2_0): Likewise.
22721         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22722         Likewise.
22723         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22724         Likewise.
22725         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22726         Likewise.
22727         * nptl/pt-raise.c (raise): Likewise.
22728         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22729         Likewise.
22730         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22731         * nptl/pthread_barrierattr_destroy.c
22732         (pthread_barrierattr_destroy): Likewise.
22733         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22734         Likewise.
22735         * nptl/pthread_barrierattr_setpshared.c
22736         (pthread_barrierattr_setpshared): Likewise.
22737         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22738         Likewise.
22739         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22740         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22741         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22742         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22743         Likewise.
22744         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22745         Likewise.
22746         * nptl/pthread_condattr_getpshared.c
22747         (pthread_condattr_getpshared): Likewise.
22748         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22749         Likewise.
22750         * nptl/pthread_condattr_setpshared.c
22751         (pthread_condattr_setpshared): Likewise.
22752         * nptl/pthread_detach.c (pthread_detach): Likewise.
22753         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22754         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22755         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22756         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22757         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22758         Likewise.
22759         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22760         Likewise.
22761         * nptl/pthread_mutex_getprioceiling.c
22762         (pthread_mutex_getprioceiling): Likewise.
22763         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22764         Likewise.
22765         * nptl/pthread_mutexattr_getprotocol.c
22766         (pthread_mutexattr_getprotocol): Likewise.
22767         * nptl/pthread_mutexattr_getpshared.c
22768         (pthread_mutexattr_getpshared): Likewise.
22769         * nptl/pthread_mutexattr_getrobust.c
22770         (pthread_mutexattr_getrobust): Likewise.
22771         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22772         Likewise.
22773         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22774         Likewise.
22775         * nptl/pthread_mutexattr_setprioceiling.c
22776         (pthread_mutexattr_setprioceiling): Likewise.
22777         * nptl/pthread_mutexattr_setprotocol.c
22778         (pthread_mutexattr_setprotocol): Likewise.
22779         * nptl/pthread_mutexattr_setpshared.c
22780         (pthread_mutexattr_setpshared): Likewise.
22781         * nptl/pthread_mutexattr_setrobust.c
22782         (pthread_mutexattr_setrobust): Likewise.
22783         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22784         Likewise.
22785         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22786         Likewise.
22787         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22788         Likewise.
22789         * nptl/pthread_rwlockattr_getkind_np.c
22790         (pthread_rwlockattr_getkind_np): Likewise.
22791         * nptl/pthread_rwlockattr_getpshared.c
22792         (pthread_rwlockattr_getpshared): Likewise.
22793         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22794         Likewise.
22795         * nptl/pthread_rwlockattr_setkind_np.c
22796         (pthread_rwlockattr_setkind_np): Likewise.
22797         * nptl/pthread_rwlockattr_setpshared.c
22798         (pthread_rwlockattr_setpshared): Likewise.
22799         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22800         Likewise.
22801         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22802         Likewise.
22803         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22804         Likewise.
22805         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22806         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22807         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22808         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22809         * nptl/sem_close.c (sem_close): Likewise.
22810         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22811         * nptl/sem_init.c (__old_sem_init): Likewise.
22812         * nptl/sigaction.c (__sigaction): Likewise.
22813         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22814         * posix/_exit.c (_exit): Likewise.
22815         * posix/alarm.c (alarm): Likewise.
22816         * posix/confstr.c (confstr): Likewise.
22817         * posix/fpathconf.c (__fpathconf): Likewise.
22818         * posix/getgroups.c (__getgroups): Likewise.
22819         * posix/getpgid.c (__getpgid): Likewise.
22820         * posix/group_member.c (__group_member): Likewise.
22821         * posix/pathconf.c (__pathconf): Likewise.
22822         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22823         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22824         * posix/setgid.c (__setgid): Likewise.
22825         * posix/setpgid.c (__setpgid): Likewise.
22826         * posix/setuid.c (__setuid): Likewise.
22827         * posix/sleep.c (__sleep): Likewise.
22828         * posix/sysconf.c (__sysconf): Likewise.
22829         * posix/times.c (__times): Likewise.
22830         * posix/uname.c (__uname): Likewise.
22831         * posix/waitid.c (__waitid): Likewise.
22832         * pwd/getpw.c (__getpw): Likewise.
22833         * resolv/base64.c (b64_pton): Likewise.
22834         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22835         * resolv/gethnamaddr.c (Dprintf): Likewise.
22836         (gethostbyname): Likewise.
22837         (gethostbyname2): Likewise.
22838         (gethostbyaddr): Likewise.
22839         (_sethtent): Likewise.
22840         (_gethtbyname): Likewise.
22841         (_gethtbyname2): Likewise.
22842         (_gethtbyaddr): Likewise.
22843         (map_v4v6_address): Likewise.
22844         (map_v4v6_hostent): Likewise.
22845         (addrsort): Likewise.
22846         (ht_sethostent): Likewise.
22847         (ht_gethostbyname): Likewise.
22848         (ht_gethostbyaddr): Likewise.
22849         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22850         (inet_net_ntop_ipv4): Likewise.
22851         * resolv/inet_neta.c (inet_neta): Likewise.
22852         * resolv/inet_ntop.c (inet_ntop): Likewise.
22853         (inet_ntop4): Likewise.
22854         (inet_ntop6): Likewise.
22855         * resolv/inet_pton.c (__inet_pton): Likewise.
22856         (inet_pton4): Likewise.
22857         (inet_pton6): Likewise.
22858         * resolv/res_debug.c (loc_aton): Likewise.
22859         (loc_ntoa): Likewise.
22860         * resource/getpriority.c (__getpriority): Likewise.
22861         * resource/getrusage.c (__getrusage): Likewise.
22862         * resource/nice.c (nice): Likewise.
22863         * resource/setpriority.c (__setpriority): Likewise.
22864         * resource/setrlimit64.c (setrlimit64): Likewise.
22865         * resource/vlimit.c (vlimit): Likewise.
22866         * resource/vtimes.c (vtimes): Likewise.
22867         * rt/aio_error.c (aio_error): Likewise.
22868         * rt/aio_return.c (aio_return): Likewise.
22869         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22870         * signal/kill.c (__kill): Likewise.
22871         * signal/killpg.c (killpg): Likewise.
22872         * signal/raise.c (raise): Likewise.
22873         * signal/sigaction.c (__sigaction): Likewise.
22874         * signal/sigaddset.c (sigaddset): Likewise.
22875         * signal/sigaltstack.c (sigaltstack): Likewise.
22876         * signal/sigandset.c (sigandset): Likewise.
22877         * signal/sigblock.c (__sigblock): Likewise.
22878         * signal/sigdelset.c (sigdelset): Likewise.
22879         * signal/sigempty.c (sigemptyset): Likewise.
22880         * signal/sigfillset.c (sigfillset): Likewise.
22881         * signal/sighold.c (sighold): Likewise.
22882         * signal/sigignore.c (sigignore): Likewise.
22883         * signal/sigintr.c (siginterrupt): Likewise.
22884         * signal/sigisempty.c (sigisemptyset): Likewise.
22885         * signal/sigismem.c (sigismember): Likewise.
22886         * signal/signal.c (signal): Likewise.
22887         * signal/sigorset.c (sigorset): Likewise.
22888         * signal/sigpause.c (__sigpause): Likewise.
22889         * signal/sigpending.c (sigpending): Likewise.
22890         * signal/sigprocmask.c (__sigprocmask): Likewise.
22891         * signal/sigrelse.c (sigrelse): Likewise.
22892         * signal/sigreturn.c (__sigreturn): Likewise.
22893         * signal/sigset.c (sigset): Likewise.
22894         * signal/sigsetmask.c (__sigsetmask): Likewise.
22895         * signal/sigstack.c (sigstack): Likewise.
22896         * signal/sigsuspend.c (__sigsuspend): Likewise.
22897         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22898         * signal/sysv_signal.c (__sysv_signal): Likewise.
22899         * socket/accept.c (accept): Likewise.
22900         * socket/accept4.c (__libc_accept4): Likewise.
22901         * socket/bind.c (__bind): Likewise.
22902         * socket/connect.c (__connect): Likewise.
22903         * socket/getpeername.c (getpeername): Likewise.
22904         * socket/getsockname.c (__getsockname): Likewise.
22905         * socket/getsockopt.c (getsockopt): Likewise.
22906         * socket/listen.c (__listen): Likewise.
22907         * socket/recv.c (__recv): Likewise.
22908         * socket/recvmsg.c (__recvmsg): Likewise.
22909         * socket/send.c (__send): Likewise.
22910         * socket/sendmsg.c (__sendmsg): Likewise.
22911         * socket/shutdown.c (shutdown): Likewise.
22912         * socket/sockatmark.c (sockatmark): Likewise.
22913         * socket/socket.c (__socket): Likewise.
22914         * stdio-common/ctermid.c (ctermid): Likewise.
22915         * stdio-common/cuserid.c (cuserid): Likewise.
22916         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22917         * stdio-common/remove.c (remove): Likewise.
22918         * stdio-common/rename.c (rename): Likewise.
22919         * stdio-common/renameat.c (renameat): Likewise.
22920         * stdio-common/tempname.c (__gen_tempname): Likewise.
22921         * stdio-common/xbug.c (InitBuffer): Likewise.
22922         (AppendToBuffer): Likewise.
22923         (ReadFile): Likewise.
22924         * stdlib/a64l.c (a64l): Likewise.
22925         * stdlib/drand48_r.c (drand48_r): Likewise.
22926         * stdlib/getcontext.c (getcontext): Likewise.
22927         * stdlib/getenv.c (getenv): Likewise.
22928         * stdlib/l64a.c (l64a): Likewise.
22929         * stdlib/llabs.c (llabs): Likewise.
22930         * stdlib/lldiv.c (lldiv): Likewise.
22931         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22932         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22933         * stdlib/putenv.c (putenv): Likewise.
22934         * stdlib/random.c (__srandom): Likewise.
22935         (__initstate): Likewise.
22936         (__setstate): Likewise.
22937         * stdlib/random_r.c (__srandom_r): Likewise.
22938         (__setstate_r): Likewise.
22939         (__random_r): Likewise.
22940         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22941         * stdlib/setcontext.c (setcontext): Likewise.
22942         * stdlib/setenv.c (setenv): Likewise.
22943         (unsetenv): Likewise.
22944         * stdlib/srand48.c (srand48): Likewise.
22945         * stdlib/srand48_r.c (__srand48_r): Likewise.
22946         * stdlib/swapcontext.c (swapcontext): Likewise.
22947         * stdlib/system.c (__libc_system): Likewise.
22948         * stdlib/tst-strtod.c (expand): Likewise.
22949         * stdlib/tst-strtol.c (expand): Likewise.
22950         * stdlib/tst-strtoll.c (expand): Likewise.
22951         * streams/fattach.c (fattach): Likewise.
22952         * streams/fdetach.c (fdetach): Likewise.
22953         * streams/getmsg.c (getmsg): Likewise.
22954         * streams/isastream.c (isastream): Likewise.
22955         * string/ffs.c (__ffs): Likewise.
22956         * string/ffsll.c (ffsll): Likewise.
22957         * string/memcmp.c (memcmp_common_alignment): Likewise.
22958         (memcmp_not_common_alignment): Likewise.
22959         (MEMCMP): Likewise.
22960         * string/memcpy.c (memcpy): Likewise.
22961         * string/memmove.c (MEMMOVE): Likewise.
22962         * string/memset.c (memset): Likewise.
22963         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22964         * string/strchrnul.c (STRCHRNUL): Likewise.
22965         * string/strerror.c (strerror): Likewise.
22966         * string/strndup.c (__strndup): Likewise.
22967         * string/strverscmp.c (__strverscmp): Likewise.
22968         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22969         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22970         (clnttcp_freeres): Likewise.
22971         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22972         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22973         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22974         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22975         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22976         (xdr_callhdr): Likewise.
22977         * sunrpc/rpcinfo.c (udpping): Likewise.
22978         (tcpping): Likewise.
22979         (pstatus): Likewise.
22980         (pmapdump): Likewise.
22981         (brdcst): Likewise.
22982         (deletereg): Likewise.
22983         (getprognum): Likewise.
22984         (getvers): Likewise.
22985         (get_inet_address): Likewise.
22986         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22987         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22988         (svcudp_stat): Likewise.
22989         (svcudp_recv): Likewise.
22990         (svcudp_reply): Likewise.
22991         (svcudp_getargs): Likewise.
22992         (svcudp_freeargs): Likewise.
22993         (svcudp_destroy): Likewise.
22994         * sunrpc/xdr.c (xdr_bytes): Likewise.
22995         (xdr_netobj): Likewise.
22996         (xdr_string): Likewise.
22997         (xdr_wrapstring): Likewise.
22998         * sunrpc/xdr_float.c (xdr_float): Likewise.
22999         (xdr_double): Likewise.
23000         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23001         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23002         * sysvipc/ftok.c (ftok): Likewise.
23003         * sysvipc/msgctl.c (msgctl): Likewise.
23004         * sysvipc/msgget.c (msgget): Likewise.
23005         * sysvipc/msgrcv.c (msgrcv): Likewise.
23006         * sysvipc/msgsnd.c (msgsnd): Likewise.
23007         * sysvipc/semget.c (semget): Likewise.
23008         * sysvipc/semop.c (semop): Likewise.
23009         * sysvipc/shmat.c (shmat): Likewise.
23010         * sysvipc/shmctl.c (shmctl): Likewise.
23011         * sysvipc/shmdt.c (shmdt): Likewise.
23012         * sysvipc/shmget.c (shmget): Likewise.
23013         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23014         * termios/speed.c (cfgetospeed): Likewise.
23015         (cfgetispeed): Likewise.
23016         (cfsetospeed): Likewise.
23017         (cfsetispeed): Likewise.
23018         * termios/tcflow.c (tcflow): Likewise.
23019         * termios/tcflush.c (tcflush): Likewise.
23020         * termios/tcgetattr.c (__tcgetattr): Likewise.
23021         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23022         * termios/tcgetsid.c (tcgetsid): Likewise.
23023         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23024         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23025         * time/adjtime.c (__adjtime): Likewise.
23026         * time/dysize.c (dysize): Likewise.
23027         * time/ftime.c (ftime): Likewise.
23028         * time/getitimer.c (__getitimer): Likewise.
23029         * time/gettimeofday.c (__gettimeofday): Likewise.
23030         * time/gmtime.c (__gmtime_r): Likewise.
23031         (gmtime): Likewise.
23032         * time/localtime.c (__localtime_r): Likewise.
23033         (localtime): Likewise.
23034         * time/offtime.c (__offtime): Likewise.
23035         * time/settimeofday.c (__settimeofday): Likewise.
23036         * time/stime.c (stime): Likewise.
23037         * time/strftime_l.c (tm_diff): Likewise.
23038         (iso_week_days): Likewise.
23039         * time/strptime.c (strptime): Likewise.
23040         * time/time.c (time): Likewise.
23041         * time/timespec_get.c (timespec_get): Likewise.
23042         * time/tzset.c (tzset_internal): Likewise.
23043         (compute_change): Likewise.
23044         (__tz_compute): Likewise.
23045         * wcsmbs/btowc.c (__btowc): Likewise.
23046         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23047         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23048         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23049         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23050         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23051         * wcsmbs/wcscat.c (__wcscat): Likewise.
23052         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23053         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23054         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23055         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23056         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23057         * wcsmbs/wcslen.c (__wcslen): Likewise.
23058         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23059         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23060         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23061         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23062         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23063         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23064         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23065         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23066         * wcsmbs/wcstok.c (wcstok): Likewise.
23067         * wcsmbs/wctob.c (wctob): Likewise.
23068         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23069         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23070         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23071         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23072         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23073         * wcsmbs/wmemset.c (__wmemset): Likewise.
23074         * wctype/wcfuncs.c (__towlower): Likewise.
23075         (__towupper): Likewise.
23077         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23078         (lll_unlock_elision): Add adapt_count parameter.
23080 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23082         * sysdeps/nptl/configure.ac: Do not give errors based on the
23083         results of top-level configure tests.
23084         * sysdeps/nptl/configure: Regenerated.
23086         * configure.ac (libc_cv_Bgroup): Remove configure test.
23087         * configure: Regenerated.
23088         * config.make.in (have-Bgroup): Remove variable.
23090         * configure.ac (sizeof_long_double): Remove configure test.
23091         * configure: Regenerated.
23092         * config.make.in (sizeof-long-double): Remove variable.
23094         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23095         * configure: Regenerated.
23096         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23097         variable.
23098         (exceptions): Likewise.
23099         * sysdeps/arm/configure: Regenerated.
23100         * config.make.in (exceptions): Remove variable.
23101         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23102         $(exceptions).
23103         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23104         (CFLAGS-vdprintf_chk.c): Likewise.
23105         (CFLAGS-printf_chk.c): Likewise.
23106         (CFLAGS-fprintf_chk.c): Likewise.
23107         (CFLAGS-vprintf_chk.c): Likewise.
23108         (CFLAGS-vfprintf_chk.c): Likewise.
23109         (CFLAGS-gets_chk.c): Likewise.
23110         (CFLAGS-fgets_chk.c): Likewise.
23111         (CFLAGS-fgets_u_chk.c): Likewise.
23112         (CFLAGS-fread_chk.c): Likewise.
23113         (CFLAGS-fread_u_chk.c): Likewise.
23114         (CFLAGS-wprintf_chk.c): Likewise.
23115         (CFLAGS-fwprintf_chk.c): Likewise.
23116         (CFLAGS-vwprintf_chk.c): Likewise.
23117         (CFLAGS-vfwprintf_chk.c): Likewise.
23118         (CFLAGS-fgetws_chk.c): Likewise.
23119         (CFLAGS-fgetws_u_chk.c): Likewise.
23120         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23121         (CFLAGS-fputc.c): Likewise.
23122         (CFLAGS-fputwc.c): Likewise.
23123         (CFLAGS-freopen64.c): Likewise.
23124         (CFLAGS-freopen.c): Likewise.
23125         (CFLAGS-fseek.c): Likewise.
23126         (CFLAGS-fseeko64.c): Likewise.
23127         (CFLAGS-fseeko.c): Likewise.
23128         (CFLAGS-ftello64.c): Likewise.
23129         (CFLAGS-ftello.c): Likewise.
23130         (CFLAGS-fwide.c): Likewise.
23131         (CFLAGS-genops.c): Likewise.
23132         (CFLAGS-getc.c): Likewise.
23133         (CFLAGS-getchar.c): Likewise.
23134         (CFLAGS-getwc.c): Likewise.
23135         (CFLAGS-getwchar.c): Likewise.
23136         (CFLAGS-iofclose.c): Likewise.
23137         (CFLAGS-iofflush.c): Likewise.
23138         (CFLAGS-iofgetpos64.c): Likewise.
23139         (CFLAGS-iofgetpos.c): Likewise.
23140         (CFLAGS-iofgets.c): Likewise.
23141         (CFLAGS-iofgetws.c): Likewise.
23142         (CFLAGS-iofputs.c): Likewise.
23143         (CFLAGS-iofputws.c): Likewise.
23144         (CFLAGS-iofread.c): Likewise.
23145         (CFLAGS-iofsetpos64.c): Likewise.
23146         (CFLAGS-iofsetpos.c): Likewise.
23147         (CFLAGS-ioftell.c): Likewise.
23148         (CFLAGS-iofwrite.c): Likewise.
23149         (CFLAGS-iogetdelim.c): Likewise.
23150         (CFLAGS-iogetline.c): Likewise.
23151         (CFLAGS-iogets.c): Likewise.
23152         (CFLAGS-iogetwline.c): Likewise.
23153         (CFLAGS-ioputs.c): Likewise.
23154         (CFLAGS-ioseekoff.c): Likewise.
23155         (CFLAGS-ioseekpos.c): Likewise.
23156         (CFLAGS-iosetbuffer.c): Likewise.
23157         (CFLAGS-iosetvbuf.c): Likewise.
23158         (CFLAGS-ioungetc.c): Likewise.
23159         (CFLAGS-ioungetwc.c): Likewise.
23160         (CFLAGS-oldfileops.c): Likewise.
23161         (CFLAGS-oldiofclose.c): Likewise.
23162         (CFLAGS-oldiofgetpos64.c): Likewise.
23163         (CFLAGS-oldiofgetpos.c): Likewise.
23164         (CFLAGS-oldiofsetpos64.c): Likewise.
23165         (CFLAGS-oldiofsetpos.c): Likewise.
23166         (CFLAGS-peekc.c): Likewise.
23167         (CFLAGS-putc.c): Likewise.
23168         (CFLAGS-putchar.c): Likewise.
23169         (CFLAGS-putwc.c): Likewise.
23170         (CFLAGS-putwchar.c): Likewise.
23171         (CFLAGS-rewind.c): Likewise.
23172         (CFLAGS-wfileops.c): Likewise.
23173         (CFLAGS-wgenops.c): Likewise.
23174         (CFLAGS-oldiofopen.c): Likewise.
23175         (CFLAGS-iofopen.c): Likewise.
23176         (CFLAGS-iofopen64.c): Likewise.
23177         (CFLAGS-oldtmpfile.c): Likewise.
23178         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23179         (CFLAGS-fprintf.c): Likewise.
23180         (CFLAGS-printf.c): Likewise.
23181         (CFLAGS-vfwprintf.c): Likewise.
23182         (CFLAGS-vfscanf.c): Likewise.
23183         (CFLAGS-vfwscanf.c): Likewise.
23184         (CFLAGS-fscanf.c): Likewise.
23185         (CFLAGS-scanf.c): Likewise.
23186         (CFLAGS-isoc99_vfscanf.c): Likewise.
23187         (CFLAGS-isoc99_vscanf.c): Likewise.
23188         (CFLAGS-isoc99_fscanf.c): Likewise.
23189         (CFLAGS-isoc99_scanf.c): Likewise.
23190         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23191         (CFLAGS-isoc99_fwscanf.c): Likewise.
23192         (CFLAGS-isoc99_vwscanf.c): Likewise.
23193         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23195         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23196         after mkstemp64.
23197         * login/tst-utmp.c (do_prepare): Likewise.
23198         * rt/tst-aio.c (do_prepare): Likewise.
23199         * rt/tst-aio64.c (do_prepare): Likewise.
23201 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23203         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23204         (__lll_lock_elision): Remove adapt_count decrement...
23205         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23206         (__lll_trylock_elision): Likewise.
23207         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23208         (__lll_unlock_elision): ... to here. And utilize
23209         new adapt_count parameter.
23210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23211         (__lll_unlock_elision): Update to include adapt_count
23212         parameter.
23213         (lll_unlock_elision): Pass pointer to adapt_count
23214         variable.
23216 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23218         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23219         Add elision adapt_count parameter to list of arguments.
23220         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23221         (lll_unlock_elision): Update with new parameter list
23222         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23223         (lll_unlock_elision): Likewise.
23224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23225         (lll_unlock_elision): Likewise.
23227 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23229         [BZ #19122]
23230         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23231         attribute_hidden.
23233         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23234         attribute_hidden.
23235         [IS_IN (rtld)] (__strdup): Likewise.
23236         [IS_IN (rtld)] (__strerror_r): Likewise.
23237         [IS_IN (rtld)] (__strsep_g): Likewise.
23238         [IS_IN (rtld)] (memchr): Likewise.
23239         [IS_IN (rtld)] (memcmp): Likewise.
23240         [IS_IN (rtld)] (memcpy): Likewise.
23241         [IS_IN (rtld)] (memmove): Likewise.
23242         [IS_IN (rtld)] (memset): Likewise.
23243         [IS_IN (rtld)] (rawmemchr): Likewise.
23244         [IS_IN (rtld)] (stpcpy): Likewise.
23245         [IS_IN (rtld)] (strchr): Likewise.
23246         [IS_IN (rtld)] (strcmp): Likewise.
23247         [IS_IN (rtld)] (strlen): Likewise.
23248         [IS_IN (rtld)] (strnlen): Likewise.
23249         [IS_IN (rtld)] (strsep): Likewise.
23251         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23252         attribute_hidden.
23253         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23255         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23256         attribute_hidden.
23257         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23259         * include/setjmp.h (__longjmp): Add attribute_hidden.
23260         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23262         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23263         Add attribute_hidden.
23265         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23266         [IS_IN (rtld)] (__open): Likewise.
23267         [IS_IN (rtld)] (__fcntl): Likewise.
23269         * include/dirent.h (__opendirat): Add attribute_hidden.
23270         (__getdents): Likewise.
23271         (__getdents64): Likewise.
23272         (__alloc_dir): Likewise.
23273         [IS_IN (rtld)] (__closedir): Likewise.
23274         [IS_IN (rtld)] (__fdopendir): Likewise.
23275         [IS_IN (rtld)] (__readdir): Likewise.
23276         [IS_IN (rtld)] (__readdir64): Likewise.
23277         [IS_IN (rtld)] (__rewinddir): Likewise.
23279         * include/dlfcn.h (_dl_catch_error): Moved to ...
23280         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23281         attribute_hidden.
23283         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23284         (_itoa_word): Likewise.
23286         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23287         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23288         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23289         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23290         (_dl_higher_prime_number): Likewise.
23291         (_dl_debug_printf_c): Likewise.
23292         (_dl_signal_cerror): Likewise.
23293         (_dl_receive_error): Likewise.
23294         (_dl_reloc_bad_type): Likewise.
23295         (_dl_resolve_conflicts): Likewise.
23296         (_dl_check_all_versions): Likewise.
23297         (_dl_check_map_versions): Likewise.
23298         (_dl_sort_fini): Likewise.
23299         (_dl_debug_initialize): Likewise.
23300         (_dl_init_paths): Likewise.
23301         (_dl_show_auxv): Likewise.
23302         (_dl_next_ld_env_entry): Likewise.
23303         (_dl_important_hwcaps): Likewise.
23304         (_dl_load_cache_lookup): Likewise.
23305         (_dl_update_slotinfo): Likewise.
23306         (_dl_show_scope): Likewise.
23308         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23309         attribute_hidden.
23310         (_wordcopy_fwd_dest_aligned): Likewise.
23311         (_wordcopy_bwd_aligned): Likewise.
23312         (_wordcopy_bwd_dest_aligned): Likewise.
23314         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23315         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23316         Likewise.
23317         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23318         Likewise.
23319         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23321 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23324         GCC 5 requirement.
23326 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23328         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23329         test.
23330         * sysdeps/i386/configure: Regenerated.
23331         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23332         code unconditional.
23334         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23335         test.
23336         (libc_cv_asm_popsection_directive): Likewise.
23337         * configure: Regenerated.
23338         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23339         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23340         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23341         (__make_section_unallocated): Make definition unconditional.
23342         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23343         Remove conditional definition.
23344         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23345         (__make_section_unallocated): Likewise.
23347         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23348         * configure: Regenerated.
23349         * config.make.in (static-libgcc): Remove variable.
23350         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23351         $(static-libgcc).
23352         (build-module-helper): Likewise.
23354         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23355         * configure: Regenerated.
23357 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23359         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23360         (struct char_buffer): New type.
23361         (char_buffer_start, char_buffer_size, char_buffer_error)
23362         (char_buffer_rewind, char_buffer_add): New functions.
23363         (ADDW): Remove macro, replaced by the char_buffer_add function.
23364         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23365         of extend_alloca.  Make control flow more explicit.
23367 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23369         [BZ #19137]
23370         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23371         Add -fomit-frame-pointer.
23372         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23374 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23376         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23377         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23378         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23379         only if !__GNUC_PREREQ (5,0).
23380         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23381         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23382         (INTERNAL_SYSCALL_NCS): Likewise.
23383         (LOADREGS_0): New macro for GCC 5.
23384         (ASMARGS_0): Likewise.
23385         (LOADREGS_1): Likewise.
23386         (ASMARGS_1): Likewise.
23387         (LOADREGS_2): Likewise.
23388         (ASMARGS_2): Likewise.
23389         (LOADREGS_3): Likewise.
23390         (ASMARGS_3): Likewise.
23391         (LOADREGS_4): Likewise.
23392         (ASMARGS_4): Likewise.
23393         (LOADREGS_5): Likewise.
23394         (ASMARGS_5): Likewise.
23395         (LOADREGS_6): Likewise.
23396         (ASMARGS_6): Likewise.
23398 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23400         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23401         -fomit-frame-pointer.
23402         (CFLAGS-mmap64.c): Likewise.
23403         (CFLAGS-semtimedop.c): Likewise.
23404         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23405         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23406         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23407         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23409 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23411         [BZ #18928]
23412         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23413         _dl_pointer_guard member.
23414         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23415         initializer.
23416         (security_init): Always set up pointer guard.
23417         (process_envvars): Do not process LD_POINTER_GUARD.
23419 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #19134]
23422         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23423         (.LC2): Likewise.
23424         (.LC3): Likewise.
23425         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23427 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23429         [BZ #19129]
23430         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23431         r0 and r1.
23433 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23435         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23437 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23439         * include/stap-probe.h: Fix macro definition formatting.
23441 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23443         [BZ #19074]
23444         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23445         load and store num_ifs.
23447 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23449         [BZ #18822]
23450         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23451         (__sched_getaffinity_new): Add libc_hidden_proto and
23452         libc_hidden_def.
23454 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23456         [BZ #19007]
23457         * scripts/localplt.awk: Also allow GOT references.
23458         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23459         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23460         with "+ REL R_386_GLOB_DAT".
23461         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23462         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23464 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23466         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23467         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23468         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23469         Likewise.
23470         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23471         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23472         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23473         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23474         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23475         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23476         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23477         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23478         Likewise.
23479         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23481 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23483         [BZ #19125]
23484         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23485         <math_private.h> and <stdint.h>.
23486         (__llround): Avoid conversions to and from long long int, and
23487         subtractions, where those might raise spurious exceptions.
23488         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23489         <math_private.h> and <stdint.h>.
23490         (__llroundf): Avoid conversions to and from long long int, and
23491         subtractions, where those might raise spurious exceptions.
23493 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23496         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23497         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23498         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23500         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23501         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23502         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23503         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23504         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23505         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23506         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23507         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23508         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23509         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23510         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23511         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23512         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23513         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23514         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23516         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23517         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23518         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23519         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23520         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23521         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23522         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23523         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23524         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23525         (__xstat64_conv): Likewise.
23526         (__xstat32_conv): Likewise.
23528 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23530         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23531         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23532         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23533         <sysdeps/unix/sysv/linux/sysdep.h>.
23534         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23535         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23536         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23537         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23538         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23539         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23540         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23541         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23542         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23547         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23548         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23550         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23551         (sysdep-dl-routines): Add sysdep.
23552         [$(subdir) == nptl] (libpthread-routines): Likewise.
23553         [$(subdir) == rt] (librt-routines): Likewise.
23554         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23555         PIC when branching to SYSCALL_ERROR_LABEL.
23556         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23557         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23558         <sysdeps/unix/sysv/linux/sysdep.h>.
23559         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23560         (SYSCALL_ERROR_ERRNO): Removed.
23561         (SYSCALL_ERROR_HANDLER): Changed to empty.
23562         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23563         (__syscall_error): New prototype.
23564         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23565         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23567 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23569         [BZ #19124]
23570         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23571         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23572         _dl_runtime_resolve_avx.
23573         (_dl_runtime_profile_avx512): Make it a hidden alias of
23574         _dl_runtime_profile_avx.
23576 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23578         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23579         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23580         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23581         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23583         [BZ #16422]
23584         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23585         New configure test.
23586         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23587         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23588         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23589         <math_private.h> and <stdint.h>.
23590         (__llrint): Avoid conversions to long long int where those might
23591         raise spurious exceptions.
23592         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23593         <math_private.h> and <stdint.h>.
23594         (__llrintf): Avoid conversions to long long int where those might
23595         raise spurious exceptions.
23597 2015-10-12  Andreas Schwab  <schwab@suse.de>
23599         [BZ #18969]
23600         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23601         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23602         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23603         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23604         $(gen-locales).
23605         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23606         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23607         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23608         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23609         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23610         $(gen-locales).
23611         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23612         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23613         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23614         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23615         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23616         ($(objpfx)tst-ftell-active-handler.out)
23617         ($(objpfx)tst-ftell-append.out)
23618         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23619         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23620         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23621         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23622         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23623         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23624         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23625         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23626         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23627         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23628         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23629         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23630         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23631         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23632         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23633         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23634         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23635         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23636         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23637         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23638         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23639         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23640         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23641         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23642         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23643         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23644         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23645         $(gen-locales).
23646         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23647         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23648         $(gen-locales).
23649         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23650         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23651         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23652         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23653         $(gen-locales).
23654         * libio/tst_wprintf2.c (main): Use explicit locale.
23655         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23657 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23659         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23660         __msg_sig_post.
23661         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23663 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23665         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23666         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23668         * sysdeps/arm/libm-test-ulps: Regenerated.
23670         [BZ #15470]
23671         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23673         [BZ #16399]
23674         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23675         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23676         and <fix-fp-int-convert-overflow.h>.
23677         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23678         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23679         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23680         and <fix-fp-int-convert-overflow.h>.
23681         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23682         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23683         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23684         <fix-fp-int-convert-overflow.h>.
23685         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23686         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23687         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23688         <fix-fp-int-convert-overflow.h>.
23689         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23691         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23692         and <fix-fp-int-convert-overflow.h>.
23693         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23694         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23695         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23696         <limits.h> and <fix-fp-int-convert-overflow.h>.
23697         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23698         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23699         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23700         and <fix-fp-int-convert-overflow.h>.
23701         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23702         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23703         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23704         and <fix-fp-int-convert-overflow.h>.
23705         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23706         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23707         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23709 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23711         [BZ #18589]
23712         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23713         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23714         $(gen-locales).
23716 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23717             Phil Blundell <pb@pbcl.net>
23719         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23720         * nptl/tst-cancel26.c: New file.
23721         * nptl/tst-cancel27.c: Likewise.
23723 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23726         __ILP32__ isn't defined.
23727         (lrint): Likewise.
23728         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23729         (lrintf): Likewise.
23730         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23731         (lrintl): Likewise.
23732         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23733         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23734         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23736 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23738         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23741         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23742         file.
23743         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23744         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23746 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23748         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23749         configure test.
23750         * sysdeps/i386/configure: Regenerated.
23751         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23752         configure test.
23753         * sysdeps/x86_64/configure: Regenerated.
23754         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23755         Make code unconditional.
23757         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23758         test.
23759         * sysdeps/i386/configure: Regenerated.
23760         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23761         test.
23762         * sysdeps/x86_64/configure: Regenerated.
23763         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23764         Make code unconditional.
23765         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23766         Likewise.
23767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23768         Likewise.
23769         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23770         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23771         code unconditional.
23772         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23773         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23774         code unconditional.
23775         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23776         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23777         code unconditional.
23778         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23779         code unconditional.
23780         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23781         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23782         code unconditional.
23783         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23784         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23785         code unconditional.
23786         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23787         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23788         code unconditional.
23789         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23790         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23791         code unconditional.
23792         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23793         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23795         [BZ #19095]
23796         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23797         mantissa to long int before shifting left.
23799 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #19094]
23802         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23803         <limits.h>.
23804         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23805         when result overflows but exception would not result from cast.
23806         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23807         <limits.h>.
23808         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23809         when result overflows but exception would not result from cast.
23810         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23811         <limits.h>.
23812         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23813         when result overflows but exception would not result from cast.
23814         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23815         <limits.h>.
23816         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23817         when result overflows but exception would not result from cast.
23818         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23819         <limits.h>.
23820         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23821         when result overflows but exception would not result from cast.
23822         * math/libm-test.inc (lrint_test_data): Add more tests.
23823         (llrint_test_data): Likewise.
23825 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23827         [BZ #18872]
23828         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23829         Move out from under [$(run-built-tests) = yes] conditional.
23830         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23831         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23833 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23835         [BZ #18589]
23836         * string/Makefile (tests): Add bug-strcoll2.
23837         (LOCALES): Add cs_CZ.UTF-8.
23838         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23840         [BZ #18589]
23841         * string/bug-strcoll2.c: New file.
23842         * locale/categories.def: Revert commit
23843         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23844         * locale/langinfo.h: Likewise.
23845         * locale/localeinfo.h: Likewise.
23846         * locale/C-collate.c: Likewise.
23847         * locale/programs/ld-collate.c (collate_output): Likewise.
23848         * string/strcoll_l.c (STRDIFF): Likewise.
23849         (STRCOLL): Likewise.
23850         * wcsmbs/wcscoll_l.c: Likewise.
23852 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23854         * math/libm-test.inc (lround_test_data): Do not expect the absence
23855         of "inexact" for some tests with non-integer arguments.
23856         (llround_test_data): Likewise.
23858         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23859         test.
23860         (libc_cv_cc_sse2avx): Likewise.
23861         * sysdeps/i386/configure: Regenerated.
23862         * sysdeps/i386/i686/multiarch/Makefile
23863         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23864         [$(subdir) = math].
23865         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23866         code unconditional.
23867         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23868         Likewise.
23869         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23870         Likewise.
23871         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23872         Likewise.
23873         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23874         test.
23875         (libc_cv_cc_sse2avx): Likewise.
23876         * sysdeps/x86_64/configure: Regenerated.
23877         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23878         unconditional.
23879         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23880         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23881         unconditional.
23882         (_dl_runtime_profile)
23883         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23884         conditional code.
23885         * sysdeps/x86_64/fpu/multiarch/Makefile
23886         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23887         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23888         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23889         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23890         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23891         * sysdeps/x86_64/fpu/multiarch/e_log.c
23892         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23893         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23894         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23895         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23896         Likewise.
23897         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23898         Likewise.
23899         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23900         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23901         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23903         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23904         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23905         (HAVE_SSE2AVX_SUPPORT): Likewise.
23907 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23909         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23910         instead of #pragma optimize.
23912 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23914         [BZ #17195]
23915         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23916         as is similarly done in systrim and _int_free already.
23918 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23920         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23922 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23924         [BZ #19088]
23925         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23926         <limits.h>.
23927         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23928         overflows but exception would not result from cast.
23929         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23930         and <limits.h>.
23931         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23932         overflows but exception would not result from cast.
23933         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23934         <limits.h>.
23935         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23936         overflows but exception would not result from cast.
23937         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23938         <limits.h>.
23939         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23940         overflows but exception would not result from cast.
23941         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23942         <limits.h>.
23943         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23944         overflows but exception would not result from cast.
23945         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23946         <limits.h>.
23947         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23948         overflows but exception would not result from cast.
23949         * math/libm-test.inc (lround_test_data): Add more tests.
23950         (llround_test_data): Likewise.
23952 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23954         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23955         (CFLAGS-ialloc.c): Ditto.
23956         (CFLAGS-scheck.c): Ditto.
23958 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23960         [BZ #19086]
23961         * manual/filesys.texi (Storage Allocation): Fix argument order for
23962         posix_fallocate64.
23964 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #19085]
23967         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23968         exponent below 48 inside case for non-overflowing exponent.
23969         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23971 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23973         * iconvdata/cp737.h (from_idx): Add const.
23974         * iconvdata/cp775.h (from_idx): Likewise.
23976 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23978         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23979         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23980         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23982         [BZ #19079]
23983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23984         file, conditioned on [!_LP64].
23985         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23986         [!_LP64] (__lround): Do not define as function or alias.
23987         [!_LP64] (lround): Likewise.
23988         [!_LP64] (__lroundl): Likewise.
23989         [!_LP64] (lroundl): Likewise.
23990         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23991         macro.
23992         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23993         Likewise.
23995 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23997         * math/libm-test.inc (lrint_test_data): Add more tests.
23998         (llrint_test_data): Likewise.
23999         (lround_test_data): Likewise.
24000         (llround_test_data): Likewise.
24002         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24003         (llrint_test_data): Add tests used for lrint.
24005         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24006         test.
24007         * sysdeps/i386/configure: Regenerated.
24008         * sysdeps/i386/i686/multiarch/Makefile
24009         [$(config-cflags-sse4) = yes]: Make code unconditional.
24010         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24011         Likewise.
24012         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24013         Likewise.
24014         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24015         test.
24016         * sysdeps/x86_64/configure: Regenerated.
24017         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24018         Make code unconditional.
24019         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24020         Likewise.
24021         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24022         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24024         * scripts/rpm2dynsym.sh: Remove file.
24026 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24028         * configure.ac (libc_cv_cxx_thread_local): Define.
24029         * configure: Regenerate.
24030         * config.make.in (have-cxx-thread_local): Define.
24031         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24032         (LDLIBS-tst-thread_local1): Define.
24033         (tests): Add tst-thread_local1.
24034         [have-cxx-thread_local != yes] (tests-unsupported): Add
24035         tst-thread_local1.
24036         * nptl/tst-thread_local1.cc: New file.
24038 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24040         [BZ #19078]
24041         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24042         (u_thres): Likewise.
24043         (__expl): Determine whether to call __kernel_standard_l based on
24044         value of result, not argument.
24046         * math/libm-test.inc (scalb_test_data): Add more expectations for
24047         the "inexact" exception.
24049         [BZ #19077]
24050         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24051         0.0L for argument 1.0L.
24053         [BZ #19076]
24054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24055         constant 0.0L when computing infinite result.
24057 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24059         [BZ #10432]
24060         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24061         malloc_usable_size.
24063 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24065         [BZ #19018]
24066         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24067         Mangle function pointer before storing it.
24068         (__call_tls_dtors): Demangle function pointer before calling it.
24070 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24072         [BZ #19012]
24073         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24074         Clean up on failure.
24076 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #19071]
24079         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24080         long int variable to store possibly incremented high part of
24081         mantissa.
24082         * math/libm-test.inc (lround_test_data): Add tests used for
24083         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24084         for tests requiring 64-bit long.  Do not condition tests on
24085         [TEST_FLOAT] unnecessarily.
24086         (llround_test_data): Add tests used for lround.  Add another
24087         expectation for the "inexact" exception.  Do not condition tests
24088         on [TEST_FLOAT] unnecessarily.
24090         [BZ #887]
24091         [BZ #19049]
24092         [BZ #19050]
24093         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24094         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24095         <fix-int-fp-convert-zero.h>.
24096         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24097         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24098         <fix-int-fp-convert-zero.h>.
24099         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24100         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24101         <fix-int-fp-convert-zero.h>.
24102         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24103         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24104         <fix-int-fp-convert-zero.h>.
24105         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24106         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24107         <fix-int-fp-convert-zero.h>.
24108         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24109         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24110         <fix-int-fp-convert-zero.h>.
24111         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24112         * sysdeps/ieee754/flt-32/s_erff.c: Include
24113         <fix-int-fp-convert-zero.h>.
24114         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24115         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24116         <fix-int-fp-convert-zero.h>.
24117         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24119         <fix-int-fp-convert-zero.h>.
24120         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24122         <fix-int-fp-convert-zero.h>.
24123         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24124         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24125         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24126         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24127         file.
24128         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24130 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24134 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24136         [BZ #19059]
24137         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24138         overflowing computation.
24139         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24140         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24141         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24142         Likewise.
24143         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24144         Likewise.
24145         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24146         Likewise.
24147         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24148         Likewise.
24149         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24151         Likewise.
24152         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24153         Likewise.
24154         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24156         * nss/rewrite_field.c (__nss_rewrite_field): Use
24157         internal_function.
24158         * nss/valid_field.c (__nss_valid_field): Likewise.
24159         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24161 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24163         [BZ #18724]
24164         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24165         (__nss_invalid_field_characters, __nss_valid_field)
24166         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24167         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24168         tst-field.c: New file.
24169         * nss/Makefile (routines): Add valid_field, rewrite_field.
24170         (tests-static): Define unconditionally.
24171         (tests): Include tests-static.
24172         [build-static-nss] (tests-static): Use append.
24173         [build-static-nss] (tests): Remove modification.
24174         * nss/getent.c (print_group): Call putgrent.  Report error.
24175         (print_gshadow): Call putsgent.  Report error.
24176         (print_passwd): Call putpwent.  Report error.
24177         (print_shadow): Call putspent.  Report error.
24178         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24179         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24180         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24181         name, password, directory, shell fields for valid syntax.  Rewrite
24182         GECOS field to match syntax.
24183         * pwd/Makefile (tests): Add tst-putpwent.
24184         * pwd/tst-putpwent.c: New file.
24185         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24186         Check grName, grpasswd, gr_mem fields for valid syntax.
24187         Change loop variable i to size_t.
24188         * grp/Makefile (tests): Add tst-putgrent.
24189         * grp/tst-putgrent.c: New file.
24190         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24191         valid syntax.
24192         * shadow/Makefile (tests): Add tst-putspent.
24193         * shadow/tst-putspent.c: New file.
24194         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24195         sg_mem fields for valid syntax.
24196         * gshadow/Makefile (tests): Add tst-putsgent.
24197         * gshadow/tst-putsgent.c: New file.
24199 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24201         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24202         assembly instructions.
24204 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24206         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24207         prefix from operands.
24209 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24211         [BZ #16347]
24212         [BZ #19046]
24213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24214         <libc-internal.h>.
24215         (MAXLGM): Do not use diagnostic control macros.
24216         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24217         threshold for ldbl-128ibm.
24218         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24219         instead of multiplying by log then subtracting.
24220         * math/auto-libm-test-in: Add more tests of lgamma.
24221         * math/auto-libm-test-out: Regenerated.
24223         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24224         (TYPE_HEX_DIG): Likewise.
24225         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24226         precisions when printing floating-point numbers.
24227         (check_float_internal): Likewise.
24229 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24231         [BZ #16620]
24232         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24233         of log (10) rounded downward to 48 bits.
24234         (log10_low): Use corresponding low part of log (10).
24236         [BZ #19032]
24237         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24238         compute result as (x - x) / (x - x) not as 0 / 0.
24239         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24240         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24242         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24243         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24244         and expm1.
24245         * math/auto-libm-test-out: Regenerated.
24246         * math/libm-test.inc (acos_test_data): Add more tests.
24247         (asin_test_data): Likewise.
24248         (asinh_test_data): Likewise.
24249         (atan_test_data): Likewise.
24250         (atanh_test_data): Likewise.
24251         (atan2_test_data): Likewise.
24252         (cbrt_test_data): Likewise.
24253         (ceil_test_data): Likewise.
24254         (copysign_test_data): Likewise.
24255         (cos_test_data): Likewise.
24256         (cosh_test_data): Likewise.
24257         (erf_test_data): Likewise.
24258         (erfc_test_data): Likewise.
24259         (exp_test_data): Likewise.
24260         (exp10_test_data): Likewise.
24261         (exp2_test_data): Likewise.
24262         (expm1_test_data): Likewise.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24265 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24267         [BZ #19006]
24268         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24269         to ...
24270         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24271         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24272         to ...
24273         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24274         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24275         to ...
24276         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24277         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24278         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24279         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24280         to ...
24281         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24282         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24283         Moved to ...
24284         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24286         Moved to ...
24287         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24288         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24289         to ...
24290         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24291         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24292         Moved to ...
24293         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24295         to ...
24296         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24297         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24298         Removed.
24299         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24300         Likewise.
24301         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24302         Likewise.
24303         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24304         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24305         Likewise.
24306         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24307         Likewise.
24308         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24309         Likewise.
24310         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24311         Likewise.
24312         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24315         Likewise.
24316         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24317         Likewise.
24318         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24319         Likewise.
24320         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24321         Likewise.
24322         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24323         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24324         Likewise.
24325         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24326         Likewise.
24327         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24328         Likewise.
24329         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24330         Likewise.
24331         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24332         Likewise.
24333         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24334         Replace ../i486/pthread_cond_timedwait.S with
24335         ../pthread_cond_timedwait.S.
24337 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24339         * math/libm-test.inc (acos_test_data): Refine expectations for
24340         errno and "inexact" exceptions.
24341         (acosh_test_data): Likewise.
24342         (asin_test_data): Likewise.
24343         (asinh_test_data): Likewise.
24344         (atan_test_data): Likewise.
24345         (atanh_test_data): Likewise.
24346         (atan2_test_data): Likewise.
24347         (cbrt_test_data): Likewise.
24348         (ceil_test_data): Likewise.
24349         (copysign_test_data): Likewise.
24350         (cosh_test_data): Likewise.
24351         (erf_test_data): Likewise.
24352         (erfc_test_data): Likewise.
24353         (exp_test_data): Likewise.
24354         (exp10_test_data): Likewise.
24355         (exp2_test_data): Likewise.
24356         (expm1_test_data): Likewise.
24357         (fabs_test_data): Likewise.
24358         (floor_test_data): Likewise.
24359         (fma_test_data): Likewise.
24360         (fmax_test_data): Likewise.
24361         (fmin_test_data): Likewise.
24362         (fmod_test_data): Likewise.
24363         (fpclassify_test_data): Likewise.
24364         (frexp_test_data): Likewise.
24365         (hypot_test_data): Likewise.
24366         (ilogb_test_data): Likewise.
24367         (isgreater_test_data): Likewise.
24368         (isgreaterequal_test_data): Likewise.
24369         (isinf_test_data): Likewise.
24370         (isless_test_data): Likewise.
24371         (islessequal_test_data): Likewise.
24372         (islessgreater_test_data): Likewise.
24373         (isnan_test_data): Likewise.
24374         (isnormal_test_data): Likewise.
24375         (issignaling_test_data): Likewise.
24376         (isunordered_test_data): Likewise.
24377         (j0_test_data): Likewise.
24378         (j1_test_data): Likewise.
24379         (jn_test_data): Likewise.
24380         (lgamma_test_data): Likewise.
24381         (lrint_test_data): Likewise.
24382         (llrint_test_data): Likewise.
24383         (log_test_data): Likewise.
24384         (log10_test_data): Likewise.
24385         (log1p_test_data): Likewise.
24386         (log2_test_data): Likewise.
24387         (logb_test_data): Likewise.
24388         (lround_test_data): Likewise.
24389         (llround_test_data): Likewise.
24390         (modf_test_data): Likewise.
24391         (nearbyint_test_data): Likewise.
24392         (nextafter_test_data): Likewise.
24393         (nexttoward_test_data): Likewise.
24394         (pow_test_data): Likewise.
24395         (remainder_test_data): Likewise.
24396         (remquo_test_data): Likewise.
24397         (rint_test_data): Likewise.
24398         (round_test_data): Likewise.
24399         (signbit_test_data): Likewise.
24400         (sinh_test_data): Likewise.
24401         (sqrt_test_data): Likewise.
24402         (tanh_test_data): Likewise.
24403         (tgamma_test_data): Likewise.
24404         (trunc_test_data): Likewise.
24405         (y0_test_data): Likewise.
24406         (y1_test_data): Likewise.
24407         (yn_test_data): Likewise.
24408         (significand_test_data): Likewise.
24410 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24412         * manual/filesys.texi (Storage Allocation): Document that
24413         posix_fallocate emulation fails when fd is open with O_WRONLY.
24415 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24417         [BZ #19016]
24418         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24419         allow more cases with X^2 + Y^2 >= 0.5.
24420         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24421         normal element in sum instead of special-casing based on values of
24422         arguments.
24423         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24424         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24425         -1 as normal element in sum instead of special-casing based on
24426         values of arguments.
24427         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24428         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24429         (__x2y2m1): Update comment.
24430         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24431         as normal element in sum instead of special-casing based on values
24432         of arguments.
24433         * math/s_clog.c (__clog): Handle more cases using log1p without
24434         hypot.
24435         * math/s_clog10.c (__clog10): Likewise.
24436         * math/s_clog10f.c (__clog10f): Likewise.
24437         * math/s_clog10l.c (__clog10l): Likewise.
24438         * math/s_clogf.c (__clogf): Likewise.
24439         * math/s_clogl.c (__clogl): Likewise.
24440         * math/auto-libm-test-in: Add more tests of clog and clog10.
24441         * math/auto-libm-test-out: Regenerated.
24442         * sysdeps/i386/fpu/libm-test-ulps: Update.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24445 2015-09-28  Martin Sebor  <msebor@redhat.com>
24447         [BZ #18969]
24448         * string/Makefile (LOCALES): Define.
24449         (gen-locales.mk): Include.
24450         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24451         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24452         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24453         on setlocale failure.
24455 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24457         [BZ #18985]
24458         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24459         (__strftime_internal): Likewise.
24460         * time/tst-strftime.c (do_bz18985): New test.
24461         (do_test): Call it.
24463 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24465         [BZ #18956]
24466         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24467         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24468         extracting high part.
24469         * math/auto-libm-test-in: Add another test of pow.
24470         * math/auto-libm-test-out: Regenerated.
24471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24473 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24475         [BZ #18825]
24476         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24477         New macro.
24478         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24479         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24480         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24481         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24482         DBL_NARROW_EVAL, reloading the PIC register as needed.
24483         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24484         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24485         FLT_NARROW_EVAL.  Use separate return path for case when first
24486         argument is NaN.
24487         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24488         DEFINE_LDBL_MIN.
24489         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24490         PIC register.
24491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24492         math_check_force_underflow_nonneg.
24493         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24494         underflow for subnormal result.
24495         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24497         math_check_force_underflow_nonneg.
24498         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24499         math_check_force_underflow.
24500         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24501         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24502         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24503         DEFINE_LDBL_MIN.
24504         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24505         * math/auto-libm-test-in: Add more tests of pow.
24506         * math/auto-libm-test-out: Regenerated.
24508 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24510         * nss/bug17079.c (init_test_items): Add diagnostic for
24511         inconsistent entries.
24512         (test_buffer_size): Skip inconsistent entries.
24514 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24516         [BZ #13304]
24517         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24518         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24519         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24521         [BZ #13304]
24522         * sysdeps/microblaze/s_fma.c: New file.
24523         * sysdeps/microblaze/s_fmaf.c: Likewise.
24524         * sysdeps/microblaze/sfp-machine.h: Likewise.
24526 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24528         [BZ #17250]
24529         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24530         member.
24532 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24534         [BZ #18803]
24535         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24536         (MO): New macro.
24537         (__ieee754_hypot) [PIC]: Load PIC register.
24538         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24539         DBL_NARROW_EVAL.
24540         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24541         math_check_force_underflow_nonneg in case where result might be
24542         tiny.
24543         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24544         Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24546         Likewise.
24547         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24548         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24549         * math/auto-libm-test-in: Add more tests of hypot.
24550         * math/auto-libm-test-out: Regenerated.
24552 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24554         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24556 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24558         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24559         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24560         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24561         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24562         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24563         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24564         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24566         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24567         LOAD_PIC_REG.
24569         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24570         (FLT_CHECK_FORCE_UFLOW): Likewise.
24571         (DBL_CHECK_FORCE_UFLOW): Likewise.
24572         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24573         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24574         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24575         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24576         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24577         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24578         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24579         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24580         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24581         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24582         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24583         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24584         (flt_min): Replace with use of DEFINE_FLT_MIN.
24585         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24586         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24587         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24588         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24589         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24590         (flt_min): Replace with use of DEFINE_FLT_MIN.
24591         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24592         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24593         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24594         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24595         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24596         (flt_min): Replace with use of DEFINE_FLT_MIN.
24597         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24598         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24599         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24600         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24601         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24602         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24603         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24604         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24605         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24606         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24607         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24608         (flt_min): Replace with use of DEFINE_FLT_MIN.
24609         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24610         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24611         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24612         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24613         main computation.
24614         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24615         (flt_min): Replace with use of DEFINE_FLT_MIN.
24616         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24617         main computation.
24618         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24620         (MO): New macro.
24621         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24622         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24623         (flt_min): Replace with use of DEFINE_FLT_MIN.
24624         (MO): New macro.
24625         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24626         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24627         (__log1pl): Use MO.
24629         [BZ #19003]
24630         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24631         $(config-cflags-nofma).
24633 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24635         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24637 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24639         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24640         (TWO127): Likewise.
24642         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24643         (min_of_type): Likewise.
24644         (math_check_force_underflow): Likewise.
24645         (math_check_force_underflow_nonneg): Likewise.
24646         (math_check_force_underflow_complex): Likewise.
24647         * math/e_exp2l.c (__ieee754_exp2l): Use
24648         math_check_force_underflow_nonneg.
24649         * math/k_casinh.c (__kernel_casinh): Likewise.
24650         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24651         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24652         * math/s_catan.c (__catan): Use
24653         math_check_force_underflow_complex.
24654         * math/s_catanf.c (__catanf): Likewise.
24655         * math/s_catanh.c (__catanh): Likewise.
24656         * math/s_catanhf.c (__catanhf): Likewise.
24657         * math/s_catanhl.c (__catanhl): Likewise.
24658         * math/s_catanl.c (__catanl): Likewise.
24659         * math/s_ccosh.c (__ccosh): Likewise.
24660         * math/s_ccoshf.c (__ccoshf): Likewise.
24661         * math/s_ccoshl.c (__ccoshl): Likewise.
24662         * math/s_cexp.c (__cexp): Likewise.
24663         * math/s_cexpf.c (__cexpf): Likewise.
24664         * math/s_cexpl.c (__cexpl): Likewise.
24665         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24666         * math/s_clog10.c (__clog10): Likewise.
24667         * math/s_clog10f.c (__clog10f): Likewise.
24668         * math/s_clog10l.c (__clog10l): Likewise.
24669         * math/s_clogf.c (__clogf): Likewise.
24670         * math/s_clogl.c (__clogl): Likewise.
24671         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24672         * math/s_csinf.c (__csinf): Likewise.
24673         * math/s_csinh.c (__csinh): Likewise.
24674         * math/s_csinhf.c (__csinhf): Likewise.
24675         * math/s_csinhl.c (__csinhl): Likewise.
24676         * math/s_csinl.c (__csinl): Likewise.
24677         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24678         * math/s_csqrtf.c (__csqrtf): Likewise.
24679         * math/s_csqrtl.c (__csqrtl): Likewise.
24680         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24681         * math/s_ctanf.c (__ctanf): Likewise.
24682         * math/s_ctanh.c (__ctanh): Likewise.
24683         * math/s_ctanhf.c (__ctanhf): Likewise.
24684         * math/s_ctanhl.c (__ctanhl): Likewise.
24685         * math/s_ctanl.c (__ctanl): Likewise.
24686         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24687         instead of volatile.
24688         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24689         math_check_force_underflow.
24690         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24691         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24692         volatile when forcing underflow.
24693         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24694         math_check_force_underflow_nonneg.
24695         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24696         Likewise.
24697         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24698         math_check_force_underflow.
24699         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24700         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24701         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24702         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24703         math_check_force_underflow_nonneg.
24704         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24705         math_check_force_underflow.
24706         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24708         instead of volatile.
24709         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24710         math_check_force_underflow.
24711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24712         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24713         math_check_force_underflow_nonneg.
24714         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24715         math_check_force_underflow.
24716         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24717         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24718         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24719         math_check_force_underflow_nonneg.
24720         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24721         Likewise.
24722         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24723         math_check_force_underflow.
24724         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24725         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24726         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24727         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24728         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24729         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24730         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24731         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24732         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24733         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24734         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24735         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24736         Likewise.
24737         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24738         math_check_force_underflow_nonneg.
24739         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24740         Likewise.
24741         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24742         math_check_force_underflow.
24743         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24744         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24745         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24746         Likewise.
24747         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24748         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24749         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24750         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24751         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24752         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24754         instead of volatile.
24755         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24756         math_check_force_underflow.
24757         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24758         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24759         math_check_force_underflow.
24760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24761         Likewise.
24762         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24763         Use math_check_force_underflow_nonneg.
24764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24765         math_check_force_underflow.
24766         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24767         Likewise.
24768         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24769         Likewise.
24770         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24773         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24775         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24776         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24777         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24778         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24779         math_check_force_underflow_nonneg.
24780         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24781         math_check_force_underflow.
24782         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24783         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24784         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24785         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24786         math_check_force_underflow_nonneg.
24787         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24788         math_check_force_underflow.
24789         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24791         instead of volatile.
24792         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24793         math_check_force_underflow.
24795         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24796         * stdlib/strtod_l.c: Include <math_private.h>.
24797         (overflow_value): Use math_narrow_eval.
24798         (underflow_value): Likewise.
24799         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24800         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24801         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24802         (__ieee754_gamma_r): Likewise.
24803         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24804         Likewise.
24805         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24806         Likewise.
24807         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24808         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24809         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24810         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24811         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24812         (__ieee754_gammaf_r): Likewise.
24813         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24814         Likewise.
24815         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24816         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24817         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24818         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24819         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24820         volatile.
24821         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24822         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24823         math_narrow_eval.
24824         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24825         Likewise.
24826         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24827         Likewise.
24828         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24829         Likewise.
24830         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24831         volatile.
24832         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24834         math_narrow_eval.
24835         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24836         Likewise.
24837         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24838         Likewise.
24840 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24842         * nptl/Versions: Remove ignored symbols.
24844 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24846         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24847         * nss/Makefile (tests): Update.
24849 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24851         * nss/bug18287.c: New file.
24852         * nss/Makefile (tests): Add bug18287.
24854 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24856         * mach/Versions (__mach_host_self_): Add symbol.
24858 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24860         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24861         vm_page_size.
24863 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24865         Really fix sysdeps/i386/fpu/s_scalbn.S build
24867         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24868         (libc: GLIBC_2_22): Remove unused version set.
24870 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24872         * config.make.in (enable-timezone-tools): New variable.
24873         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24874         (enable_timezone_tools): Export to generated files.
24875         * configure: Regenerate.
24876         * INSTALL: Regenerate.
24877         * manual/install.texi (--disable-timezone-tools): Document new flag.
24878         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24879         ifeq ($(enable-timezone-tools),yes) check.
24881 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24883         * timezone/Makefile: Revert previous change.
24885         [BZ #18980]
24886         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24887         (DEFINE_DBL_MIN): Likewise.
24888         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24889         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24890         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24891         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24892         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24893         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24894         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24895         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24896         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24898         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24899         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24900         (flt_min): Replace with use of DEFINE_FLT_MIN.
24901         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24902         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24903         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24904         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24905         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24906         (flt_min): Replace with use of DEFINE_FLT_MIN.
24907         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24908         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24909         (flt_min): Replace with use of DEFINE_FLT_MIN.
24910         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24911         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24912         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24913         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24914         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24915         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24916         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24917         (__ieee754_pow): Use DBL_NARROW_EVAL.
24918         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24919         (__ieee754_powf): Use FLT_NARROW_EVAL.
24920         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24921         (__ieee754_expf_sse2): Convert double-precision result to single
24922         precision.
24923         * sysdeps/i386/fpu/libm-test-ulps: Update.
24925 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24927         * timezone/Makefile: Ignore unused variable errors due to private.h
24928         (time_t_min) and (time_t_max).
24929         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24930         Likewise.
24932 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24934         [BZ #18981]
24935         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24936         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24937         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24938         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24939         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24940         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24941         (__scalbn): Use DBL_NARROW_EVAL.
24942         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24943         (__scalbnf): Use FLT_NARROW_EVAL.
24945 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24947         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24948         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24949         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24950         * stdio-common/printf_fp.c (___printf_fp):
24951         Use signbit to get the sign. Use isinf macro to allow inlining.
24952         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24953         * stdio-common/printf_size.c (__printf_size): Likewise.
24955 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24957         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24959 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24961         [BZ #18980]
24962         * sysdeps/generic/math_private.h: Include <float.h>.
24963         (math_narrow_eval): New macro.
24964         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24965         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24966         math_narrow_eval on overflowing return value.
24967         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24968         Likewise.
24969         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24970         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24971         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24972         Likewise.
24973         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24975 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24977         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24978         * math/Makefile: Remove isinf_ns.c.
24979         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24980         * math/multc3.c (__multc3): Likewise.
24981         * math/s_casin.c (__casin): Likewise.
24982         * math/s_casinf.c (__casinf): Likewise.
24983         * math/s_casinl.c (__casinl): Likewise.
24984         * math/s_cproj.c (__cproj): Likewise.
24985         * math/s_cprojf.c (__cprojf): Likewise.
24986         * math/s_cprojl.c (__cprofl): Likewise.
24987         * math/s_ctan.c (__ctan): Likewise.
24988         * math/s_ctanf.c (__ctanf): Likewise.
24989         * math/s_ctanh.c (__ctanh): Likewise.
24990         * math/s_ctanhf.c (__ctanhf): Likewise.
24991         * math/s_ctanhl.c (__ctanhl): Likewise.
24992         * math/s_ctanl.c (__ctanl): Likewise.
24993         * math/w_fmod.c (__fmod): Likewise.
24994         * math/w_fmodf.c (__fmodf): Likewise.
24995         * math/w_fmodl.c (_fmodl): Likewise.
24996         * math/w_remainder.c (__remainder): Likewise.
24997         * math/w_remainderf.c (__remainderf): Likewise.
24998         * math/w_remainderl.c (__remainderl): Likewise.
24999         * math/w_scalb.c (__scalb): Likewise.
25000         * math/w_scalbf.c (__scalbf): Likewise.
25001         * math/w_scalbl.c (__scalbl): Likewise.
25002         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25003         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25004         with isinf.
25005         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25007         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25008         __isinf_nsf with isinf.
25009         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25010         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25011         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25012         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25013         with isinf.
25014         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25015         __isinf_nsl with isinf.
25016         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25017         with isinf.
25018         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25019         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25020         __isinf_nsl with isinf.
25021         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25022         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25023         with isinf.
25025 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25027         * resolv/base64.c (rcsid): Remove unused static.
25028         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25029         static.  (tqpi1): Likewise.
25030         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25031         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25032         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25033         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25034         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25035         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25036         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25037         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25038         Likewise.
25040 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25042         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25043         <nptl/pthreadP.h>.
25044         (_longjmp_unwind): Use __libc_ptf_call.
25045         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25047 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25049         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25050         * sysdeps/arm/__longjmp.S: Likewise.
25052 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25054         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25055         Use __builtin_signbit.
25056         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25057         Use __builtin_signbitf.
25058         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25059         Use __builtin_signbitl.
25060         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25061         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25063 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25065         [BZ #15367]
25066         [BZ #17441]
25068         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25069         * math/math.h (fpclassify): Use __builtin_fpclassify when
25070         available.  (signbit): Use __builtin_signbit(f/l).
25071         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25072         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25073         (isinf): Use __builtin_isinf_sign.
25075 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25077         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25078         * benchtests/bench-math-inlines.c: New benchmark.
25079         * benchtests/bench-util.h: New file.
25080         * benchtests/bench-util.c: New file.
25081         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25083 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25085         * elf/tst-dlmopen1.c: Define TEST_SO.
25086         (do_test): Use TEST_SO.
25088         * elf/dl-load.c: Include libc-internal.h.
25089         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25091 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25093         [BZ #17887]
25094         * time/strptime_l.c (__strptime_internal): Make %z accept
25095         [+-]HH:MM time zones.
25097 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25099         [BZ #17886]
25100         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25101         valid time zone.
25103 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25105         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25106         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25107         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25108         (__ASSUME_FDATASYNC): Delete.
25110 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25112         * conform/linknamespace.pl: Require weak undefined symbols to be
25113         in the standard namespace.
25114         (%strong_syms): Rename to %seen_syms.
25115         (%strong_seen): Rename to %seen_where.
25117 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25119         [BZ #18970]
25120         * misc/error.c (error): Replace pthread_setcancelstate with
25121         __pthread_setcancelstate.
25122         (error_at_line): Likewise.
25123         * posix/wordexp.c (parse_comm): Likewise.
25124         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25125         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25126         (__pthread_setcancelstate): This.
25127         (pthread_setcancelstate): Add an alias.
25128         * nptl/nptl-init.c (pthread_functions): Replace
25129         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25130         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25131         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25132         hidden_proto.
25133         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25134         it with hidden_def.
25135         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25136         (pthread_setcancelstate): Renamed to ...
25137         (__pthread_setcancelstate): This.
25138         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25139         __libc_ptf_call with __pthread_setcancelstate.
25141 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25142             Andreas Schwab  <schwab@suse.de>
25144         [BZ #17118]
25145         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25146         result when imaginary part of argument is infinite using sine and
25147         cosine.
25148         * math/s_ctanf.c (__ctanf): Likewise.
25149         * math/s_ctanl.c (__ctanl): Likewise.
25150         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25151         of result when real part of argument is infinite using sine and
25152         cosine.
25153         * math/s_ctanhf.c (__ctanhf): Likewise.
25154         * math/s_ctanhl.c (__ctanhl): Likewise.
25155         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25156         (ctanh_test_data): Add more tests of ctanh.
25158 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25160         [BZ #15384]
25161         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25162         bit-mask as in subtraction.
25163         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25164         Likewise.
25165         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25166         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25169         [BZ #18951]
25170         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25171         underflow exception for small results.
25172         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25173         Likewise.
25174         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25175         Likewise.
25176         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25177         Likewise.
25178         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25179         Likewise.
25180         * math/auto-libm-test-in: Add more tests of tgamma.
25181         * math/auto-libm-test-out: Regenerated.
25183 2015-09-17  Andreas Schwab  <schwab@suse.de>
25185         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25187 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25189         [BZ #18977]
25190         * math/bits/mathcalls.h
25191         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25192         not declare.
25193         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25194         Likewise.
25195         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25196         Likewise.
25197         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25198         Likewise.
25199         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25200         Likewise.
25201         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25202         Likewise.
25203         * conform/data/math.h-data
25204         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25205         function.
25206         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25207         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25208         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25209         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25210         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25211         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25212         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25213         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25215         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25218         [BZ #6803]
25219         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25220         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25221         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25222         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25223         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25224         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25225         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25226         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25227         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25228         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25229         Likewise.
25230         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25231         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25233         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25234         long_double_symbol calls.
25235         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25236         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25237         strong alias of __ldexpl.
25238         (scalbnl): Define using long_double_symbol.
25239         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25240         Remove alias.
25241         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25242         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25243         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25244         (scalbln_test_data): Add more errno expectations.
25246 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25248         Cache the host port like we cache the task port.  This way we do not
25249         need to call the kernel just to get the port.  Furthermore, we no
25250         longer increase the reference count on every invocation of
25251         `mach_host_self'.
25253         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25254         Protect declarations against the macro expansion.
25255         * mach/mach_init.c (__mach_host_self_): New variable.
25256         (mach_init): Initialize `__mach_host_self_'.
25257         * mach/mach_init.h (__mach_host_self_): New declaration.
25258         (__mach_host_self, mach_host_self): New macros.
25259         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25260         Release reference.
25262 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25264         [BZ #4404]
25265         * po/de.po: Update from Translation Project.
25267         [BZ #16415]
25268         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25269         (__expm1l): Remove code to handle positive infinity and overflow.
25270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25271         variable.
25272         (__expm1l): Remove code to handle positive infinity and overflow.
25274 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25275             Paul Pluzhnikov  <ppluzhnikov@google.com>
25277         [BZ #18872]
25278         * stdio-common/Makefile (tst-printf-bz18872): New test.
25279         (tst-printf-bz18872-mem.out): Likewise.
25280         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25281         * stdio-common/vfprintf.c: Fix memory leaks.
25283 2015-09-16  Andreas Schwab  <schwab@suse.de>
25285         [BZ #17244]
25286         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25287         Remove extra va_start/va_end calls.
25289         [BZ #17243]
25290         * posix/execl.c (execl): Add missing va_end.
25291         * posix/execle.c (execle): Likewise.
25292         * posix/execlp.c (execlp): Likewise.
25294 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25296         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25297         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25299 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25301         [BZ #18967]
25302         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25303         undefine around includes of <bits/mathcalls.h>.
25304         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25305         not declare function.
25306         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25307         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25308         (scalb): Likewise.
25309         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25310         not define macro.
25311         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25312         variable.
25313         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25314         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25315         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25317         [BZ #18857]
25318         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25319         return non-finite argument without doing ordered comparisons on
25320         it.
25322         [BZ #16296]
25323         * math/fenv.h (fegetround): Use __attribute_pure__.
25324         * include/fenv.h (__fegetround): Likewise.
25326         [BZ #18595]
25327         * math/s_ctan.c (__ctan): Force underflow exception for results
25328         whose real or imaginary part has small absolute value.
25329         * math/s_ctanf.c (__ctanf): Likewise.
25330         * math/s_ctanh.c (__ctanh): Likewise.
25331         * math/s_ctanhf.c (__ctanhf): Likewise.
25332         * math/s_ctanhl.c (__ctanhl): Likewise.
25333         * math/s_ctanl.c (__ctanl): Likewise.
25334         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25335         and ctanh.  Add more tests of ctan and ctanh.
25337         [BZ #15918]
25338         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25339         handling of cases where one argument is an infinity.
25341         [BZ #18875]
25342         [BZ #18966]
25343         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25344         (MO): New macro.
25345         (__ieee754_exp10): For small results, force underflow exception
25346         and remove excess range and precision from return value.
25347         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25348         (MO): New macro.
25349         (__ieee754_exp10f): For small results, force underflow exception
25350         and remove excess range and precision from return value.
25351         * math/auto-libm-test-in: Add more tests of exp10.
25352         * math/auto-libm-test-out: Regenerated.
25354 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25356         [BZ #18875]
25357         [BZ #18961]
25358         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25359         (MO): New macro.
25360         (__ieee754_exp): For small results, force underflow exception and
25361         remove excess range and precision from return value.
25362         (__exp_finite): Likewise.
25363         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25364         (MO): New macro.
25365         (__ieee754_expf): For small results, force underflow exception and
25366         remove excess range and precision from return value.
25367         (__expf_finite): Likewise.
25368         * math/auto-libm-test-in: Add more tests of exp.
25369         * math/auto-libm-test-out: Regenerated.
25371         [BZ #16521]
25372         [BZ #18875]
25373         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25374         small results.
25375         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25376         (MO): New macro.
25377         (__ieee754_exp2): For small results, force underflow exception and
25378         remove excess range and precision from return value.
25379         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25380         (MO): New macro.
25381         (__ieee754_exp2f): For small results, force underflow exception
25382         and remove excess range and precision from return value.
25383         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25384         (MO): New macro.
25385         (__ieee754_exp2l): Force underflow exception for small results.
25386         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25387         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25388         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25389         (MO): New macro.
25390         (__ieee754_exp2l): Force underflow exception for small results.
25391         * math/auto-libm-test-in: Add more tests or exp2.
25392         * math/auto-libm-test-out: Regenerated.
25394 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25396         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25398         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25399         /dev/null.
25401 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25403         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25404         io fs process)): Drop spurious backslash.
25406 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25409         Use sysinfo system call instead of parsing /proc/meminfo.
25410         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25411         Likewise.
25413 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25415         [BZ #16985]
25416         * programs/localedef.c (main): Display argv[remaining] when
25417         output_path is NULL.
25419 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25421         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25422         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25423         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25424         tanh.
25425         * math/auto-libm-test-out: Regenerated.
25426         * sysdeps/i386/fpu/libm-test-ulps: Update.
25427         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25428         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25431 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25433         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25434         Use 'override' keyword to freeze the value here, preventing
25435         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25437 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25439         [BZ #14912]
25440         * sysdeps/aarch64/bits/atomic.h: Move to ...
25441         * sysdeps/aarch64/atomic-machine.h: ...here.
25442         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25443         _AARCH64_ATOMIC_MACHINE_H.
25444         * sysdeps/alpha/bits/atomic.h: Move to ...
25445         * sysdeps/alpha/atomic-machine.h: ...here.
25446         * sysdeps/arm/bits/atomic.h: Move to ...
25447         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25448         * bits/atomic.h: Move to ...
25449         * sysdeps/generic/atomic-machine.h: ...here.
25450         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25451         * sysdeps/i386/bits/atomic.h: Move to ...
25452         * sysdeps/i386/atomic-machine.h: ...here.
25453         * sysdeps/ia64/bits/atomic.h: Move to ...
25454         * sysdeps/ia64/atomic-machine.h: ...here.
25455         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25456         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25457         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25458         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25459         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25460         * sysdeps/microblaze/bits/atomic.h: Move to ...
25461         * sysdeps/microblaze/atomic-machine.h: ...here.
25462         * sysdeps/mips/bits/atomic.h: Move to ...
25463         * sysdeps/mips/atomic-machine.h: ...here.
25464         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25465         * sysdeps/powerpc/bits/atomic.h: Move to ...
25466         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25467         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25468         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25469         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25470         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25471         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25472         <atomic-machine.h> instead of <bits/atomic.h>.
25473         * sysdeps/s390/bits/atomic.h: Move to ...
25474         * sysdeps/s390/atomic-machine.h: ...here.
25475         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25476         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25477         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25478         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25479         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25480         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25481         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25482         * sysdeps/tile/bits/atomic.h: Move to ...
25483         * sysdeps/tile/atomic-machine.h: ...here.
25484         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25485         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25486         <sysdeps/tile/atomic-machine.h> instead of
25487         <sysdeps/tile/bits/atomic.h>.
25488         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25489         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25490         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25491         <sysdeps/tile/atomic-machine.h> instead of
25492         <sysdeps/tile/bits/atomic.h>.
25493         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25494         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25495         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25496         <sysdeps/arm/atomic-machine.h> instead of
25497         <sysdeps/arm/bits/atomic.h>.
25498         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25499         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25500         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25501         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25502         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25503         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25504         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25505         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25506         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25507         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25508         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25509         * sysdeps/x86_64/bits/atomic.h: Move to ...
25510         * sysdeps/x86_64/atomic-machine.h: ...here.
25511         * include/atomic.h: Include <atomic-machine.h> instead of
25512         <bits/atomic.h>.
25514         * sysdeps/mips/mips32/libm-test-ulps: Update.
25515         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25517         [BZ #18952]
25518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25519         not convert non-integer negative arguments to int to determine the
25520         value of signgam.
25521         * math/auto-libm-test-in: Add more tests of lgamma.
25522         * math/auto-libm-test-out: Regenerated.
25524         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25525         cosh, csqrt, erfc, expm1 and lgamma.
25526         * math/auto-libm-test-out: Regenerated.
25527         * sysdeps/i386/fpu/libm-test-ulps: Update.
25528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25530 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #2542]
25533         [BZ #2543]
25534         [BZ #2558]
25535         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25536         __lgamma_neg for arguments from -28.0 to -2.0.
25537         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25538         __lgamma_negf for arguments from -15.0 to -2.0.
25539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25540         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25541         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25542         Call __lgamma_negl for arguments from -33.0 to -2.0.
25543         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25544         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25545         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25546         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25547         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25548         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25549         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25551         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25552         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25553         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25554         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25555         (__lgamma_neg): Likewise.
25556         (__lgamma_negl): Likewise.
25557         (__lgamma_product): Likewise.
25558         (__lgamma_productl): Likewise.
25559         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25560         * math/auto-libm-test-in: Add more tests of lgamma.
25561         * math/auto-libm-test-out: Regenerated.
25562         * sysdeps/i386/fpu/libm-test-ulps: Update.
25563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25567         [BZ #18675]
25568         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25570 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25572         [BZ #14912]
25573         * bits/libc-lock.h: Move to ...
25574         * sysdeps/generic/libc-lock.h: ...here.
25575         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25576         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25577         * sysdeps/mach/hurd/libc-lock.h: ...here.
25578         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25579         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25580         * sysdeps/mach/bits/libc-lock.h: Move to ...
25581         * sysdeps/mach/libc-lock.h: ...here.
25582         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25583         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25584         * sysdeps/nptl/libc-lock.h: ...here.
25585         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25586         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25587         * sysdeps/nptl/libc-lockP.h: ...here.
25588         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25589         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25590         <bits/libc-lock.h>.
25591         * dirent/scandir-tail.c: Likewise.
25592         * dlfcn/dlerror.c: Likewise.
25593         * elf/dl-close.c: Likewise.
25594         * elf/dl-iteratephdr.c: Likewise.
25595         * elf/dl-lookup.c: Likewise.
25596         * elf/dl-open.c: Likewise.
25597         * elf/dl-support.c: Likewise.
25598         * elf/dl-writev.h: Likewise.
25599         * elf/rtld.c: Likewise.
25600         * grp/fgetgrent.c: Likewise.
25601         * gshadow/fgetsgent.c: Likewise.
25602         * gshadow/sgetsgent.c: Likewise.
25603         * iconv/gconv_conf.c: Likewise.
25604         * iconv/gconv_db.c: Likewise.
25605         * iconv/gconv_dl.c: Likewise.
25606         * iconv/gconv_int.h: Likewise.
25607         * iconv/gconv_trans.c: Likewise.
25608         * include/link.h: Likewise.
25609         * inet/getnameinfo.c: Likewise.
25610         * inet/getnetgrent.c: Likewise.
25611         * inet/getnetgrent_r.c: Likewise.
25612         * intl/bindtextdom.c: Likewise.
25613         * intl/dcigettext.c: Likewise.
25614         * intl/finddomain.c: Likewise.
25615         * intl/gettextP.h: Likewise.
25616         * intl/loadmsgcat.c: Likewise.
25617         * intl/localealias.c: Likewise.
25618         * intl/textdomain.c: Likewise.
25619         * libidn/idn-stub.c: Likewise.
25620         * libio/libioP.h: Likewise.
25621         * locale/duplocale.c: Likewise.
25622         * locale/freelocale.c: Likewise.
25623         * locale/newlocale.c: Likewise.
25624         * locale/setlocale.c: Likewise.
25625         * login/getutent_r.c: Likewise.
25626         * login/getutid_r.c: Likewise.
25627         * login/getutline_r.c: Likewise.
25628         * login/utmp-private.h: Likewise.
25629         * login/utmpname.c: Likewise.
25630         * malloc/mtrace.c: Likewise.
25631         * misc/efgcvt.c: Likewise.
25632         * misc/error.c: Likewise.
25633         * misc/fstab.c: Likewise.
25634         * misc/getpass.c: Likewise.
25635         * misc/mntent.c: Likewise.
25636         * misc/syslog.c: Likewise.
25637         * nis/nis_call.c: Likewise.
25638         * nis/nis_callback.c: Likewise.
25639         * nis/nss-default.c: Likewise.
25640         * nis/nss_compat/compat-grp.c: Likewise.
25641         * nis/nss_compat/compat-initgroups.c: Likewise.
25642         * nis/nss_compat/compat-pwd.c: Likewise.
25643         * nis/nss_compat/compat-spwd.c: Likewise.
25644         * nis/nss_nis/nis-alias.c: Likewise.
25645         * nis/nss_nis/nis-ethers.c: Likewise.
25646         * nis/nss_nis/nis-grp.c: Likewise.
25647         * nis/nss_nis/nis-hosts.c: Likewise.
25648         * nis/nss_nis/nis-network.c: Likewise.
25649         * nis/nss_nis/nis-proto.c: Likewise.
25650         * nis/nss_nis/nis-pwd.c: Likewise.
25651         * nis/nss_nis/nis-rpc.c: Likewise.
25652         * nis/nss_nis/nis-service.c: Likewise.
25653         * nis/nss_nis/nis-spwd.c: Likewise.
25654         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25655         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25656         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25657         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25658         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25659         * nis/nss_nisplus/nisplus-network.c: Likewise.
25660         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25661         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25662         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25663         * nis/nss_nisplus/nisplus-service.c: Likewise.
25664         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25665         * nis/ypclnt.c: Likewise.
25666         * nptl/libc_pthread_init.c: Likewise.
25667         * nss/getXXbyYY.c: Likewise.
25668         * nss/getXXent.c: Likewise.
25669         * nss/getXXent_r.c: Likewise.
25670         * nss/nss_db/db-XXX.c: Likewise.
25671         * nss/nss_db/db-netgrp.c: Likewise.
25672         * nss/nss_db/nss_db.h: Likewise.
25673         * nss/nss_files/files-XXX.c: Likewise.
25674         * nss/nss_files/files-alias.c: Likewise.
25675         * nss/nsswitch.c: Likewise.
25676         * posix/regex_internal.h: Likewise.
25677         * posix/wordexp.c: Likewise.
25678         * pwd/fgetpwent.c: Likewise.
25679         * resolv/res_hconf.c: Likewise.
25680         * resolv/res_libc.c: Likewise.
25681         * shadow/fgetspent.c: Likewise.
25682         * shadow/lckpwdf.c: Likewise.
25683         * shadow/sgetspent.c: Likewise.
25684         * socket/opensock.c: Likewise.
25685         * stdio-common/reg-modifier.c: Likewise.
25686         * stdio-common/reg-printf.c: Likewise.
25687         * stdio-common/reg-type.c: Likewise.
25688         * stdio-common/vfprintf.c: Likewise.
25689         * stdio-common/vfscanf.c: Likewise.
25690         * stdlib/abort.c: Likewise.
25691         * stdlib/cxa_atexit.c: Likewise.
25692         * stdlib/fmtmsg.c: Likewise.
25693         * stdlib/random.c: Likewise.
25694         * stdlib/setenv.c: Likewise.
25695         * string/strsignal.c: Likewise.
25696         * sunrpc/auth_none.c: Likewise.
25697         * sunrpc/bindrsvprt.c: Likewise.
25698         * sunrpc/create_xid.c: Likewise.
25699         * sunrpc/key_call.c: Likewise.
25700         * sunrpc/rpc_thread.c: Likewise.
25701         * sysdeps/arm/backtrace.c: Likewise.
25702         * sysdeps/generic/ldsodefs.h: Likewise.
25703         * sysdeps/generic/stdio-lock.h: Likewise.
25704         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25705         * sysdeps/i386/backtrace.c: Likewise.
25706         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25707         * sysdeps/m68k/backtrace.c: Likewise.
25708         * sysdeps/mach/hurd/cthreads.c: Likewise.
25709         * sysdeps/mach/hurd/dirstream.h: Likewise.
25710         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25711         * sysdeps/nptl/malloc-machine.h: Likewise.
25712         * sysdeps/nptl/stdio-lock.h: Likewise.
25713         * sysdeps/posix/dirstream.h: Likewise.
25714         * sysdeps/posix/getaddrinfo.c: Likewise.
25715         * sysdeps/posix/system.c: Likewise.
25716         * sysdeps/pthread/aio_suspend.c: Likewise.
25717         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25718         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25720         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25721         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25722         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25723         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25724         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25725         * sysdeps/unix/sysv/linux/system.c: Likewise.
25726         * sysdeps/x86_64/backtrace.c: Likewise.
25727         * time/alt_digit.c: Likewise.
25728         * time/era.c: Likewise.
25729         * time/tzset.c: Likewise.
25730         * wcsmbs/wcsmbsload.c: Likewise.
25731         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25732         instead of <bits/libc-lock.h> in comment.
25734 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25736         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25737         Only use .set mips2 if the current ISA is below mips2.
25738         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25739         Likewise.
25740         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25741         mips32r2 if the current ISA is below mips32r2.
25742         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25743         (TLS_IE): Updated to use the TLD_RDHWR macro.
25744         (TLS_LE): Likewise.
25745         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25746         __ASSEMBLER__ condition.
25748 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25750         Fix parallel build of before-compile targets.
25752         * sysdeps/mach/Makefile ($(patsubst
25753         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25754         mach-before-compile target.
25755         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25756         io fs process)): Move rule to dedicated hurd-before-compile target.
25758 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25760         Fix rules generating headers in hurd/ and mach/ when initial make call
25761         has subdir= explicitly set.
25763         * sysdeps/mach/Makefile ($(patsubst
25764         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25765         calling $(MAKE).
25766         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25767         io fs process)): Force subdir to hurd when calling $(MAKE).
25768         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25769         subdir to mach when calling $(MAKE).
25771 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25773         Check sysheaders when looking for Mach and Hurd headers
25775         * sysdeps/mach/configure.ac: Add sysheaders check.
25776         * sysdeps/mach/configure: Regenerate.
25777         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25778         * sysdeps/mach/hurd/configure: Regenerate.
25780 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25782         [BZ #18921]
25783         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25784         Fix inverted sense of test of 'o_directory_works' value.
25785         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25786         Bernhard Voelker <mail@bernhard-voelker.de>.
25788 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25790         [BZ #14912]
25791         * bits/linkmap.h: Move to ...
25792         * sysdeps/generic/linkmap.h: ...here.
25793         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25794         * sysdeps/aarch64/linkmap.h: ...here.
25795         * sysdeps/arm/bits/linkmap.h: Move to ...
25796         * sysdeps/arm/linkmap.h: ...here.
25797         * sysdeps/hppa/bits/linkmap.h: Move to ...
25798         * sysdeps/hppa/linkmap.h: ...here.
25799         * sysdeps/ia64/bits/linkmap.h: Move to ...
25800         * sysdeps/ia64/linkmap.h: ...here.
25801         * sysdeps/mips/bits/linkmap.h: Move to ...
25802         * sysdeps/mips/linkmap.h: ...here.
25803         * sysdeps/s390/bits/linkmap.h: Move to ...
25804         * sysdeps/s390/linkmap.h: ...here.
25805         * sysdeps/sh/bits/linkmap.h: Move to ...
25806         * sysdeps/sh/linkmap.h: ...here.
25807         * sysdeps/x86/bits/linkmap.h: Move to ...
25808         * sysdeps/x86/linkmap.h: ...here.
25809         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25811 2015-09-04  Andreas Schwab  <schwab@suse.de>
25813         [BZ #18635]
25814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25815         (__makecontext): Terminate FDE before return label.
25816         (__novec_makecontext): Likewise.
25818 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25820         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25821         first member of struct sv in syscall macro.
25823 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25825         [BZ #14912]
25826         * bits/stdio-lock.h: Move to ...
25827         * sysdeps/generic/stdio-lock.h: ...here.
25828         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25829         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25830         * sysdeps/nptl/stdio-lock.h: ...here.
25831         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25832         * include/libio.h: Include <stdio-lock.h> instead of
25833         <bits/stdio-lock.h>.
25834         * sysdeps/nptl/fork.c: Likewise.
25835         * sysdeps/pthread/flockfile.c: Likewise.
25836         * sysdeps/pthread/ftrylockfile.c: Likewise.
25837         * sysdeps/pthread/funlockfile.c: Likewise.
25839         [BZ #14912]
25840         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25841         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25842         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25843         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25844         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25845         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25846         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25848 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25850         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25851         (test-xfail-tst-protected1b): New variable.
25853 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25855         [BZ #14912]
25856         * bits/libc-tsd.h: Move to ...
25857         * sysdeps/generic/libc-tsd.h: ...here.
25858         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25859         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25860         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25861         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25862         * include/ctype.h: Include <libc-tsd.h> instead of
25863         <bits/libc-tsd.h>.
25864         * include/rpc/rpc.h: Likewise.
25865         * locale/localeinfo.h: Likewise.
25866         * sunrpc/rpc_thread.c: Likewise.
25867         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25868         * sysdeps/nptl/malloc-machine.h: Likewise.
25870         * Makefile (headers): Remove bits/libc-lock.h.
25871         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25873         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25874         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25875         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25876         <bits/stdio-lock.h>.
25877         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25878         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25880 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25882         [BZ #18757]
25883         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25884         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25885         BZ #18757.
25887 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25889         * malloc/mtrace.pl: Filter out NULL entries.
25891 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25893         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25894         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25895         macro.
25897         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25898         (TCP_CC_INFO): Likewise.
25899         (TCP_SAVE_SYN): Likewise.
25900         (TCP_SAVED_SYN): Likewise.
25902 2015-08-31  Brett Neumeier <brett@neumeier.us>
25904         [BZ #18870]
25905         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25907 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25909         [BZ #18873]
25910         Fix broken overflow check in posix_fallocate
25911         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25912         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25913         Fix parenthesization typo.
25915 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25917         [BZ #18887]
25918         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25919         tst-mntent-blank-passno.
25920         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25921         * misc/tst-mntent-blank-corrupt.c: New test.
25922         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25923         * misc/tst-mntent.c (do_test): ... here.
25925 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25927         [BZ #4404]
25928         * po/de.po: Fix SIGALRM typo.
25930 2015-08-28  James Perkins  <james@loowit.net>
25932         * time/tst-strptime2.c (tests): Replace short list of test
25933         strings for strptime %z specifier with code which exhaustively
25934         tests every combination of sign and 0 to 5 digits. Tests for
25935         rejection of invalid strings.
25937 2015-08-28  James Perkins  <james@loowit.net>
25939         [BZ #16141]
25940         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25941         calculation, removing incorrect decimal time rounding, so that
25942         all minute values result in a valid seconds value.
25943         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25944         offset range limits to UTC-99:59 through UTC+99:59 to parse
25945         current and historical use cases.
25946         * time/tst-strptime2.c (tests): Modify and add tests for the
25947         strptime %z input field descriptor, specifically conversion of
25948         minutes to seconds and validating an offset range of -9959 to
25949         +9959.
25951 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25952             Dmitry V. Levin  <ldv@altlinux.org>
25954         [BZ #18877]
25955         * posix/Makefile (tests): Add tst-mmap-offset.
25956         * posix/tst-mmap.c: New file.
25957         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25958         offset calculation for negative values.
25960 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25962         * sysdeps/i386/init-arch.h: New file.
25963         * sysdeps/i386/i586/init-arch.h: Likewise.
25964         * sysdeps/i386/i686/init-arch.h: Likewise.
25965         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25966         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25967         * sysdeps/x86/cpu-features.h (bit_I586): New.
25968         (bit_I686): Likewise.
25969         (bit_CX8): Likewise.
25970         (bit_CMOV): Likewise.
25971         (index_CX8): Likewise.
25972         (index_CMOV): Likewise.
25973         (index_I586): Likewise.
25974         (index_I686): Likewise.
25975         (reg_CX8): Likewise.
25976         (reg_CMOV): Likewise.
25977         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25978         available at compile-time.
25979         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25980         available at compile-time.
25981         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25982         (USE_I686): Likewise.
25984 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25986         * sysdeps/i386/bcopy.S: New file.
25987         * sysdeps/i386/bzero.S: Likewise.
25988         * sysdeps/i386/memcpy.S: Likewise.
25989         * sysdeps/i386/memmove.S: Likewise.
25990         * sysdeps/i386/mempcpy.S: Likewise.
25991         * sysdeps/i386/memset.S: Likewise.
25992         * sysdeps/i386/bzero.c: Removed.
25993         * sysdeps/i386/memset.c: Likewise.
25994         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25995         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25996         * sysdeps/i386/i586/memset_chk.S: Likewise.
25997         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25998         * sysdeps/i386/memcpy_chk.S: Here.
25999         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26000         * sysdeps/i386/memmove_chk.S: Here.
26001         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26002         * sysdeps/i386/mempcpy_chk.S: Likewise.
26003         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26004         * sysdeps/i386/memset_chk.S: Likewise.
26006 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26008         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26009         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26010         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26011         * soft-fp/fmadf4.c: Ditto.
26012         * soft-fp/fmatf4.c: Ditto.
26014 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26016         * sysdeps/i386/i586/Implies: Removed.
26017         * sysdeps/i386/i686/Implies: Likewise.
26019 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26021         * sysdeps/i386/i486/strlen.S: Moved to ...
26022         * sysdeps/i386/strlen.S: Here.
26024 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26026         * sysdeps/i386/i486/strcat.S: Moved to ...
26027         * sysdeps/i386/strcat.S: Here.
26029 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26031         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26032         * sysdeps/i386/pthread_spin_trylock.S: Here.
26033         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26034         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26036 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26038         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26039         * sysdeps/i386/string-inlines.c: Here.
26041 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26043         * sysdeps/i386/i486/htonl.S: Moved ...
26044         * sysdeps/i386/htonl.S: here.
26046 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26048         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26049         * sysdeps/i386/bits/atomic.h: Here.
26051 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26053         * sysdeps/i386/i486/Versions: Removed.
26055 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26057         [BZ #2898]
26058         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26059         Based on patch by Aurelien Jarno.
26061 2015-08-26  Stan Shebs  <stanshebs@google.com>
26063         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26064         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26066 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26068         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26069         * sysdeps/powerpc/dl-procinfo.c:
26070         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26071         feature so it shows when LD_SHOW_AUXV=1.
26073 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26075         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26076         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26077         definition.  ISA 2.07B no longer requires full sync.
26079 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26081         [BZ #18863]
26082         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26083         (si_call_addr): Define.
26084         (si_syscall): Define.
26085         (si_arch): Define.
26087 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26089         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26090         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26091         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26092         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26093         (__memset_zero_constant_len_parameter): New.
26094         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26095         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26096         (__memset_zero_constant_len_parameter): Don't define if
26097         __memset_chk or USE_AS_BZERO are defined.
26099         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26100         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26101         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26103         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26104         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26105         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26106         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26107         comments.
26108         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26109         -mno-mmx for $(all-rtld-routines).
26110         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26111         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26112         i386.
26114 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26116         * sysdeps/generic/unwind.h
26117         (_Unwind_Word): Use __mode__(__unwind_word__)
26118         instead of __mode__(__word__).
26119         (_Unwind_Sword): Likewise.
26121         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26122         (MAX_NEEDED_INPUT): New define.
26123         (MAX_NEEDED_OUTPUT): New define.
26125         * NEWS: New item for IBM z13 string optimizations.
26127         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26128         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26129         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26130         * sysdeps/s390/multiarch/Makefile
26131         (sysdep_routines): Add memrchr functions.
26132         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26133         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26135         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26136         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26137         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26138         * sysdeps/s390/multiarch/Makefile
26139         (sysdep_routines): Add wmemcmp functions.
26140         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26141         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26142         * benchtests/bench-wmemcmp.c: New File.
26143         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26145         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26146         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26147         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26148         * sysdeps/s390/multiarch/Makefile
26149         (sysdep_routines): Add wmemset functions.
26150         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26151         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26152         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26153         * string/test-memset.c: Add wmemset support.
26154         * wcsmbs/test-wmemset.c: New File.
26155         * wcsmbs/Makefile (strop-tests): Add wmemset.
26156         * benchtests/bench-memset.c: Add wmemset support.
26157         * benchtests/bench-wmemset.c: New File.
26158         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26160         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26161         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26162         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26163         * sysdeps/s390/multiarch/Makefile
26164         (sysdep_routines): Add memccpy functions.
26165         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26166         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26167         * string/memccpy.c: Use MEMCCPY if defined.
26169         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26170         * sysdeps/s390/multiarch/memchr.c: Likewise.
26171         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26172         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26173         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26174         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26175         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26176         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26177         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26178         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26180         and rawmemchr functions.
26181         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26182         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26183         and wmemchr.
26184         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26185         * string/test-memchr.c: Add wmemchr support.
26186         * wcsmbs/test-wmemchr.c: New File.
26187         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26188         * benchtests/bench-memchr.c: Add wmemchr support.
26189         * benchtests/bench-wmemchr.c: New File.
26190         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26192         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26193         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26194         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26195         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26196         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26197         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26199         wcscspn functions.
26200         * sysdeps/s390/multiarch/ifunc-impl-list.c
26201         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26202         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26203         * string/test-strcspn.c: Add wcscspn support.
26204         * wcsmbs/test-wcscspn.c: New File.
26205         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26206         * benchtests/bench-strcspn.c: Add wcscspn support.
26207         * benchtests/bench-wcscspn.c: New File.
26208         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26210         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26211         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26212         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26213         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26214         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26215         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26216         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26217         wcspbrk functions.
26218         * sysdeps/s390/multiarch/ifunc-impl-list.c
26219         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26220         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26221         * string/test-strpbrk.c: Add wcspbrk support.
26222         * wcsmbs/test-wcspbrk.c: New File.
26223         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26224         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26225         * benchtests/bench-wcspbrk.c: New File.
26226         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26228         * sysdeps/s390/multiarch/strspn-c.c: New File.
26229         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26230         * sysdeps/s390/multiarch/strspn.c: Likewise.
26231         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26232         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26233         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26234         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26236         wcsspn functions.
26237         * sysdeps/s390/multiarch/ifunc-impl-list.c
26238         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26239         * string/test-strspn.c: Add wcsspn support.
26240         * wcsmbs/test-wcsspn.c: New File.
26241         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26242         * benchtests/bench-strspn.c: Add wcsspn support.
26243         * benchtests/bench-wcsspn.c: New File.
26244         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26246         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26247         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26248         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26249         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26250         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26251         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26252         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26253         wcsrchr functions.
26254         * sysdeps/s390/multiarch/ifunc-impl-list.c
26255         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26256         * benchtests/bench-wcsrchr.c: New File.
26257         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26259         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26260         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26261         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26262         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26263         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26264         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26266         wcschrnul functions.
26267         * sysdeps/s390/multiarch/ifunc-impl-list.c
26268         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26269         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26270         * string/test-strchr.c: Add wcschrnul support.
26271         * wcsmbs/test-wcschrnul.c: New File.
26272         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26273         * benchtests/bench-strchr.c: Add wcschrnul support.
26274         * benchtests/bench-wcschrnul.c: New File.
26275         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26277         * sysdeps/s390/multiarch/strchr-c.c: New File.
26278         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26279         * sysdeps/s390/multiarch/strchr.c: Likewise.
26280         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26281         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26282         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26284         wcschr functions.
26285         * sysdeps/s390/multiarch/ifunc-impl-list.c
26286         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26287         * string/strchr.c (STRCHR): Define and use macro.
26288         * benchtests/bench-wcschr.c: New File.
26289         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26291         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26292         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26293         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26294         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26295         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26296         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26298         wcsncmp functions.
26299         * sysdeps/s390/multiarch/ifunc-impl-list.c
26300         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26301         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26302         * benchtests/bench-strncmp.c: Add wcsncmp support.
26303         * benchtests/bench-wcsncmp.c: New File.
26304         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26306         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26307         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26308         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26309         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26310         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26311         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26312         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26314         wcscmp functions.
26315         * sysdeps/s390/multiarch/ifunc-impl-list.c
26316         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26317         * string/strcmp.c (STRCMP): Define and use macro.
26318         * benchtests/bench-wcscmp.c: New File.
26319         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26320         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26321         instead of _HAVE_STRING_ARCH_memchr.
26323         * sysdeps/s390/multiarch/strncat-c.c: New File.
26324         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26325         * sysdeps/s390/multiarch/strncat.c: Likewise.
26326         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26327         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26328         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26330         wcsncat functions.
26331         * sysdeps/s390/multiarch/ifunc-impl-list.c
26332         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26333         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26334         * string/test-strncat.c: Add wcsncat support.
26335         * wcsmbs/test-wcsncat.c: New File.
26336         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26337         * benchtests/bench-strncat.c: Add wcsncat support.
26338         * benchtests/bench-wcsncat.c: New File.
26339         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26341         * sysdeps/s390/multiarch/strcat-c.c: New File.
26342         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26343         * sysdeps/s390/multiarch/strcat.c: Likewise.
26344         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26345         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26346         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26348         wcscat functions.
26349         * sysdeps/s390/multiarch/ifunc-impl-list.c
26350         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26351         * string/strcat.c (STRCAT): Define and use macro.
26352         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26353         * string/test-strcat.c: Add wcscat support.
26354         * wcsmbs/test-wcscat.c: New File.
26355         * wcsmbs/Makefile (strop-tests): Add wcscat.
26356         * benchtests/bench-strcat.c: Add wcscat support.
26357         * benchtests/bench-wcscat.c: New File.
26358         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26360         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26361         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26362         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26363         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26364         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26365         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26367         wcpncpy functions.
26368         * sysdeps/s390/multiarch/ifunc-impl-list.c
26369         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26370         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26371         * string/test-stpncpy.c: Add wcpncpy support.
26372         * wcsmbs/test-wcpncpy.c: New File.
26373         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26374         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26375         * benchtests/bench-wcpncpy.c: New File.
26376         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26378         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26379         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26380         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26381         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26382         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26383         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26384         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26385         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26386         wcsncpy functions.
26387         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26388         * sysdeps/s390/multiarch/ifunc-impl-list.c
26389         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26390         * string/test-strncpy.c: Add wcsncpy support.
26391         * wcsmbs/test-wcsncpy.c: New File.
26392         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26393         * benchtests/bench-strncpy.c: Add wcsncpy support.
26394         * benchtests/bench-wcsncpy.c: New File.
26395         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26397         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26398         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26399         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26400         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26401         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26402         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26404         wcpcpy functions.
26405         * string/stpcpy.c: Use STPCPY if defined.
26406         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26407         * sysdeps/s390/multiarch/ifunc-impl-list.c
26408         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26409         * string/test-stpcpy.c: Add wcpcpy support.
26410         * wcsmbs/test-wcpcpy.c: New File.
26411         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26412         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26413         * benchtests/bench-wcpcpy.c: New File.
26414         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26416         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26417         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26418         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26419         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26420         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26421         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26422         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26424         wcscpy functions.
26425         * sysdeps/s390/multiarch/ifunc-impl-list.c
26426         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26427         * benchtests/bench-wcscpy.c: New File.
26428         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26430         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26431         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26432         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26433         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26434         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26435         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26437         wcsnlen functions.
26438         * sysdeps/s390/multiarch/ifunc-impl-list.c
26439         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26440         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26441         * string/test-strnlen.c: Add wcsnlen support.
26442         * wcsmbs/test-wcsnlen.c: New File.
26443         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26444         * benchtests/bench-strnlen.c: Add wcsnlen support.
26445         * benchtests/bench-wcsnlen.c: New File.
26446         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26448         * sysdeps/s390/multiarch/Makefile: New File.
26449         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26450         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26451         * sysdeps/s390/multiarch/strlen.c: Likewise.
26452         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26453         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26454         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26455         * string/strlen.c (STRLEN): Define and use macro.
26456         * sysdeps/s390/multiarch/ifunc-impl-list.c
26457         (IFUNC_VX_IMPL): New macro function.
26458         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26459         * benchtests/Makefile (wcsmbs-bench): New variable.
26460         (string-bench-all): Added wcsmbs-bench.
26461         * benchtests/bench-wcslen.c: New File.
26463         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26464         s390_vx_libc_ifunc2): New macro function.
26466         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26467         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26468         assembler support.
26469         * sysdeps/s390/configure: Regenerated.
26471         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26472         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26474         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26475         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26476         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26478         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26479         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26480         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26481         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26482         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26483         (memcmp, bcmp): Use __memcmp_default as alias source.
26484         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26485         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26486         Rename to __memcmp_default.
26487         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26488         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26489         (memcpy): Use __memcpy_default as alias source.
26490         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26491         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26492         Rename to __memcpy_default.
26493         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26494         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26495         (memset): Use __memset_default as alias source.
26496         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26497         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26498         Rename to __memset_default.
26499         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26500         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26501         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26502         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26503         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26504         (memcmp, bcmp): Use __memcmp_default as alias source.
26505         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26506         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26507         Rename to __memcmp_default.
26508         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26509         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26510         (memcpy): Use __memcpy_default as alias source.
26511         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26512         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26513         Rename to __memcpy_default.
26514         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26515         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26516         (memset): Use __memset_default as alias source.
26517         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26518         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26519         Rename to __memset_default.
26520         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26521         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26523         [BZ #18610]
26524         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26525         __ieee_instruction_pointer to __unused.
26526         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26527         __ieee_instruction_pointer.
26528         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26529         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26530         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26531         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26532         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26533         Mark dxc-field as reserved.
26535 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26537         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26538         if the weak reference is not null.
26540 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26542         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26544         [BZ #11214]
26545         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26547 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26549         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26550         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26551         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26552         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26553         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26554         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26555         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26556         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26557         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26558         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26559         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26560         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26561         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26562         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26563         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26564         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26565         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26566         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26568 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26570         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26571         register other than r0 for tabort, it has special meaning.
26572         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26573         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26574         transaction before starting syscall.
26576 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26578         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26580 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26582         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26584         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26585         * sysdeps/x86_64/rtld-memset.S: Likewise.
26586         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26587         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26588         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26589         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26591         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26593 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26595         * debug/strcpy_chk.c: Improve performance.
26596         * debug/stpcpy_chk.c: Likewise.
26597         * sysdeps/x86_64/strcpy_chk.S: Remove.
26598         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26600         [BZ #18240]
26601         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26603 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26605         [BZ #15128]
26606         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26607         ifuncmain8.
26608         (modules-names): Add ifuncmod8.
26609         ($(objpfx)ifuncmain8): New rule.
26610         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26611         <cpuid.h>.
26612         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26613         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26614         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26615         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26616         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26617         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26618         * sysdeps/x86_64/ifuncmain8.c: New file.
26619         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26620         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26621         Removed.
26622         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26623         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26624         Change rtld_savespace_sse to __glibc_unused2.
26625         (RTLD_CHECK_FOREIGN_CALL): Removed.
26626         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26627         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26628         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26630 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26632         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26634 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26636         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26637         Unconditionally set __fpcr to avoid uninialized warning.
26638         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26640 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26642         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26643         is corrupt.
26645         * malloc/arena.c (arena_get2): Drop unused argument.
26646         (arena_lock): Adjust.
26647         (arena_get_retry): Likewise.
26649 2015-08-24  Andreas Schwab  <schwab@suse.de>
26651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26652         Don't define.
26653         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26654         (__ASSUME_IPC64): Don't undef.
26655         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26656         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26657         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26658         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26659         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26660         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26661         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26662         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26663         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26664         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26665         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26666         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26667         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26668         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26669         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26670         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26671         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26672         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26674         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26677 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26679         * manual/Makefile (install): Only build manual when perl is available.
26681 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26683         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26684         '#undef memcpy' by '#undef memchr'.
26686 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26688         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26689         memchr not point to the internal __GI_memchr implementation.
26691 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26693         * timezone/Makefile (CFLAGS-zdump.c): Remove
26694         -Wno-strict-prototypes.
26695         (CFLAGS-zic.c): Likewise.
26696         (CFLAGS-ialloc.c): Likewise.
26697         (CFLAGS-scheck.c): Likewise.
26699         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26700         -Wno-error=undef.
26702 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26704         * i386/i686/multiarch/strcasestr-c.c: Removed.
26705         * x86_64/multiarch/strcasestr.c: Likewise.
26706         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26707         Remove strcasestr.
26709 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26711         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26713         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26714         variables for high and low parts before possibly modifying them.
26716 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26718         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26719         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26720         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26721         of "multiarch/init-arch.h".
26722         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26723         * sysdeps/x86/init-arch.h: This.
26725 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26727         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26728         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26730 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26732         [BZ #17787]
26733         * manual/macros.texi: Add twoexp macro.
26734         * manual/filesys.texi: Fix exponents.
26735         * manual/llio.texi: Likewise.
26736         * manual/stdio.texi: Likewise.
26738 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26740         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26741         incorrect use.
26743 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #18370]
26746         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26747         whose real or imaginary part has small absolute value.
26748         * math/s_csqrtf.c (__csqrtf): Likewise.
26749         * math/s_csqrtl.c (__csqrtl): Likewise.
26750         * math/auto-libm-test-in: Add more tests of csqrt.
26751         * math/auto-libm-test-out: Regenerated.
26752         * sysdeps/i386/fpu/libm-test-ulps: Update.
26754 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26756         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26757         __ppc_set_ppr_very_low): New functions.
26758         * manual/platform.texi: Add documentation about
26759         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26761 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26763         * string/stpncpy.c (stpncpy): Improve performance using
26764         __strnlen/memcpy/memset.
26766 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26768         [BZ #18796]
26769         * scripts/test-installation.pl: Don't add -lmvec to build options if
26770         libmvec wasn't built.
26772 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26774         [BZ #14341]
26775         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26776         case when there is a gap between DT_REL and DT_JMPREL sections.
26777         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26778         (LDFLAGS-tst-split-dynreloc): New.
26779         (tst-split-dynreloc-ENV): Likewise.
26780         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26781         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26783 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26785         [BZ #18822]
26786         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26787         attribute_hidden.
26788         (__xstat64_conv): Likewise.
26789         (__xstat32_conv): Likewise.
26791 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26793         [BZ #18822]
26794         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26795         Don't load %ebx when calling __setcontext.  Call __setcontext
26796         with HIDDEN_JUMPTARGET.
26797         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26798         libc_hidden_def.
26800 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26802         * sysdeps/i386/i686/Makefile
26803         [$(subdir) == string] (sysdep_routines): Moved to ...
26804         * sysdeps/i386/Makefile: Here.
26805         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26806         * sysdeps/i386/cacheinfo.c: Here.
26807         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26808         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26809         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26810         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26812 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26814         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26815         __i586__ is defined.
26816         (HAS_I686): Defined to 1 if __i686__ is defined.
26818 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26820         * elf/Makefile [$(have-z-execstack) = yes]
26821         (CPPFLAGS-tst-execstack.c): New variable.
26823         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26824         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26825         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26826         UTMPX || _HAVE_UT_TV].
26827         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26828         UTMPX || _HAVE_UT_TV - 0].
26830 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26832         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26833         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26834         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26836 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26838         * sysdeps/powerpc/dl-procinfo.c:
26839         (_dl_powerpc_cap_flags): Added missing strings for some
26840         hwcap features.
26841         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26843 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26845         Port the 0x7efe...feff pattern to GCC 6.
26846         See Steve Ellcey's bug report in:
26847         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26848         * string/memrchr.c (MEMRCHR):
26849         * string/rawmemchr.c (RAWMEMCHR):
26850         * string/strchr.c (strchr):
26851         * string/strchrnul.c (STRCHRNUL):
26852         Rewrite code to avoid issues with signed shift overflow.
26854 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26856         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26857         whether cpuid is available only if HAS_CPUID is 0.
26858         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26859         (HAS_I586): Likewise.
26860         (HAS_I686): Likewise.
26862 2015-08-18  Zack Weinberg  <zackw@panix.com>
26864         * misc/Versions (libc): Add GLIBC_2.23.
26866 2015-08-18  Alan Modra  <amodra@gmail.com>
26868         [BZ #18421]
26869         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26870         .Lp__global.
26871         (_start): Load %dp via .Lp__global.
26872         [!SHARED]: Use .section .rodata.
26874 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26876         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26877         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26879 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26881         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26882         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26884 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26886         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26887         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26889 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26891         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26892         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26894 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26896         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26897         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26899 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26901         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26902         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26904 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26906         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26910         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26911         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26912         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26913         (__ASSUME_LWS_CAS): Delete.
26915 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26917         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26918         * sysdeps/hppa/configure: Regenerated.
26919         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26920         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26921         * sysdeps/hppa/nptl/tls.h: Likewise.
26923 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #18823]
26926         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26927         for scaling up small arguments.
26928         * math/s_csqrtf.c (__csqrtf): Likewise.
26929         * math/s_csqrtl.c (__csqrtl): Likewise.
26930         * math/auto-libm-test-in: Add more tests of csqrt.
26931         * math/auto-libm-test-out: Regenerated.
26933 2015-08-17  Andreas Schwab  <schwab@suse.de>
26935         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26936         version set GLIBC_2.19.
26938 2015-08-16  Zack Weinberg  <zackw@panix.com>
26940         [BZ #18681]
26941         * misc/regexp.h: This interface is no longer supported.
26942         Remove all contents, leaving only an #error directive.
26943         * misc/regexp.c (loc1, loc2, locs, step, advance):
26944         Demote to compatibility symbols.
26946 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26948         [BZ #18084]
26949         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26950         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26951         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26952         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26953         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26954         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26955         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26956         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26957         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26959 2015-08-15  Zack Weinberg  <zackw@panix.com>
26961         [BZ #18795]
26962         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26963         buffer length is known to be too large, not if it's known to be
26964         small enough.
26965         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26966         overflow at runtime, involving a length parameter, twice: once
26967         with a compile-time constant length parameter, once without.
26969 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26971         [BZ #18824]
26972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26973         scaling x * y up instead of down.
26974         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26976         * math/auto-libm-test-in: Add more tests of fma.
26977         * math/auto-libm-test-out: Regenerated.
26979 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26983 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26985         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26986         unnecessary movq.
26987         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26988         Likewise.
26990 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26992         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26993         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26994         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26995         and tgamma.
26996         * math/auto-libm-test-out: Regenerated.
26997         * sysdeps/i386/fpu/libm-test-ulps: Update.
26998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27000         [BZ #16520]
27001         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27002         (__tanh): Force underflow exception for arguments with small
27003         absolute value.
27004         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27005         (__tanhf): Force underflow exception for arguments with small
27006         absolute value.
27007         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27008         (__tanhl): Force underflow exception for arguments with small
27009         absolute value.
27010         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27011         (__tanhl): Force underflow exception for arguments with small
27012         absolute value.
27013         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27014         (__tanhl): Force underflow exception for arguments with small
27015         absolute value.
27016         * math/auto-libm-test-in: Add more tests of tanh.
27017         * math/auto-libm-test-out: Regenerated.
27018         * sysdeps/i386/fpu/libm-test-ulps: Update.
27020 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27022         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27023         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27025 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27027         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27028         <cpuid.h>.
27030 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27032         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27033         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27035 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27037         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27038         Remove $(objpfx)init-arch.o.
27039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27040         init-arch.
27041         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27042         (INIT_ARCH_EXT): Defined as empty.
27043         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27045         __init_cpu_features call.  Replace HAS_XXX with
27046         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27049         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27051         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27052         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27053         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27054         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27055         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27058         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27059         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27060         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27061         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27062         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27066         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27067         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27069         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27070         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27071         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27072         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27073         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27074         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27075         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27076         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27077         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27078         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27079         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27083 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27085         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27086         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27087         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27088         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27089         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27090         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27091         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27092         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27093         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27094         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27095         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27096         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27097         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27098         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27101         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27102         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27103         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27104         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27105         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27106         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27107         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27108         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27109         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27110         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27111         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27112         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27113         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27114         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27115         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27116         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27117         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27118         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27119         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27120         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27121         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27122         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27123         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27124         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27125         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27126         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27127         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27129 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27131         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27132         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27134         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27135         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27136         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27138         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27139         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27140         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27141         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27142         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27143         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27144         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27145         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27146         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27147         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27148         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27149         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27150         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27152         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27153         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27154         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27155         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27156         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27157         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27158         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27159         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27160         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27161         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27162         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27163         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27164         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27165         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27166         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27167         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27168         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27169         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27170         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27171         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27172         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27173         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27175 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27177         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27178         (dl_platform_init): Call init_cpu_features.
27179         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27180         * sysdeps/i386/i686/cacheinfo.c
27181         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27182         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27183         * sysdeps/i386/i686/multiarch/Versions: Removed.
27184         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27185         Removed.
27186         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27187         * sysdeps/unix/sysv/linux/x86/Makefile
27188         (libpthread-sysdep_routines): Remove init-arch.
27189         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27190         <sysdeps/x86_64/dl-procinfo.c> instead of
27191         sysdeps/generic/dl-procinfo.c>.
27192         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27193         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27194         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27195         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27196         [$(subdir) == elf] (tests-static): Add
27197         tst-get-cpu-features-static.
27198         * sysdeps/x86/Versions: New file.
27199         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27200         * sysdeps/x86/cpu-features.c: Likewise.
27201         * sysdeps/x86/cpu-features.h: Likewise.
27202         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27203         * sysdeps/x86/libc-start.c: Likewise.
27204         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27205         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27206         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27207         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27208         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27209         Assume USE_MULTIARCH is defined and don't check it.
27210         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27211         (is_amd): Likewise.
27212         (max_cpuid): Likewise.
27213         (intel_check_word): Likewise.
27214         (__cache_sysconf): Don't call __init_cpu_features.
27215         (__x86_preferred_memory_instruction): Removed.
27216         (init_cacheinfo): Don't call __init_cpu_features. Replace
27217         __cpu_features with GLRO(dl_x86_cpu_features).
27218         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27219         (dl_platform_init): Call init_cpu_features.
27220         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27221         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27222         * sysdeps/x86_64/multiarch/Versions: Removed.
27223         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27224         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27225         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27226         Removed.
27227         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27229 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27231         [BZ #18820]
27232         * libio/Makefile (test-fmemopen-mem): New test.
27233         * libio/test-fmemopen.c (do_bz18820): New test.
27234         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27235         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27237 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27239         [BZ #16734]
27240         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27241         (FREE_BUF): Delete.
27242         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27243         * libio/genops.c (_IO_setb): Use malloc and free directly.
27244         (_IO_default_doallocate, _IO_default_finish): Likewise.
27245         ( _IO_unbuffer_all): Likewise.
27246         ( libc_freeres_fn): Likewise.
27247         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27248         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27249         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27250         (_IO_wdefault_doallocate): Likewise.
27252 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27254         [BZ #18086]
27255         * sysdeps/posix/nice.c (nice): Restore old errno.
27256         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27258 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27262 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27264         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27265         __bcopy and add a weak_alias to bcopy.
27266         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27267         for static build.
27269         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27270         cleanup macro usage.
27271         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27276         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27277         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27278         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27279         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27280         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27282         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27283         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27284         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27287         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27289         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27291         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27292         libc_hidden_def.
27293         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27295         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27296         (sysdep_routines): Add strstr-ppc64.
27297         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27299 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27301         [BZ #18778]
27302         * elf/Makefile (tests): Add Add tst-nodelete2.
27303         (modules-names): Add tst-nodelete2mod.
27304         (tst-nodelete2mod.so-no-z-defs): New.
27305         ($(objpfx)tst-nodelete2): Likewise.
27306         ($(objpfx)tst-nodelete2.out): Likewise.
27307         (LDFLAGS-tst-nodelete2): Likewise.
27308         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27309         out of loop through all loaded libraries.
27310         * elf/tst-nodelete2.c: New file.
27311         * elf/tst-nodelete2mod.c: Likewise.
27312         * elf/tst-znodelete-zlib.cc: Delete.
27314 2015-08-11  Andreas Schwab  <schwab@suse.de>
27316         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27317         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27318         (__openat64_nocancel): Likewise.
27320 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27322         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27323         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27324         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27325         * math/auto-libm-test-out: Regenerated.
27326         * sysdeps/i386/fpu/libm-test-ulps: Update.
27327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27329 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #18790]
27332         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27333         threshold for returning +/- 1.
27334         * math/auto-libm-test-in: Add more tests of tanh.
27335         * math/auto-libm-test-out: Regenerated.
27336         * sysdeps/i386/fpu/libm-test-ulps: Update.
27338 2015-08-10  Andreas Schwab  <schwab@suse.de>
27340         [BZ #18781]
27341         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27342         MORE_OFLAGS to oflag.
27343         * io/test-lfs.c (do_test): Test openat64.
27345 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27347         [BZ #18789]
27348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27349         smaller threshold for returning the argument.
27350         * math/auto-libm-test-in: Add more tests of sinh.
27351         * math/auto-libm-test-out: Regenerated.
27352         * sysdeps/i386/fpu/libm-test-ulps: Update.
27354 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27356         [BZ #18674]
27357         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27358         break.
27360 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27362         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27363         (generated): Don't add $(addprefix z.,$(tzfiles)).
27365 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27367         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27368         * scripts/sysd-rules.awk: Likewise.
27370 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27372         * iconvdata/tst-tables.sh: Change echo -n to printf.
27373         * nss/db-Makefile: Likewise.
27374         * posix/tst-getconf.sh: Likewise.
27375         * stdio-common/tst-unbputc.sh: Likewise.
27377 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27379         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27380         MADV_*_PAGES defines behind this feature check.
27382 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27384         [BZ #18480]
27385         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27386         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27387         Define.
27388         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27389         LOAD_REGS_5, LOAD_REGS_6): Update.
27390         (INTERNAL_SYSCALL): Update using new LOAD defines.
27391         (INTERNAL_SYSCALL_NCS): Likewise.
27392         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27394 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27396         [BZ #16734]
27397         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27399 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27401         [BZ #17905]
27402         * catgets/Makefile (tst-catgets-mem): New test.
27403         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27404         * catgets/open_catalog.c (__open_catalog): Likewise.
27405         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27407 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27409         [BZ #18787]
27410         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27411         clobber registers.
27412         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27413         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27414         Cast return to __typeof (oldval).
27416 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27418         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27419         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27420         and delete sys/syscall.h include.
27422 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27424         [BZ #16517]
27425         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27426         (tan): Force underflow exception for arguments with small absolute
27427         value.
27428         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27429         (__kernel_tanf): Force underflow exception for arguments with
27430         small absolute value.
27431         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27432         (__kernel_tanl): Force underflow exception for arguments with
27433         small absolute value.
27434         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27435         (__kernel_tanl): Force underflow exception for arguments with
27436         small absolute value.
27437         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27438         (__kernel_tanl): Force underflow exception for arguments with
27439         small absolute value.
27440         * math/auto-libm-test-in: Add more tests of tan.
27441         * math/auto-libm-test-out: Regenerated.
27443 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27445         Fix sysdeps/i386/fpu/s_scalbn.S build
27447         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27449 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27451         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27453 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27455         Fix gcrt0.o compilation
27457         When static-start-installed-name is different from
27458         start-installed-name, we must not use the shared objects.
27460         * csu/Makefile
27461         (extra-objs): Add gmon-start.o when building shared library and
27462         $(static-start-installed-name) is different from
27463         $(start-installed-name).
27464         $(objpfx)g$(static-start-installed-name): When building shared
27465         library and $(static-start-installed-name) is different from
27466         $(static-start-installed-name), revert to non-shared rule,
27467         i.e. using $(objpfx)% and gmon-start.o.
27469 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27471         [BZ #16519]
27472         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27473         (__ieee754_sinh): Force underflow exception for arguments with
27474         small absolute value.
27475         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27476         (__ieee754_sinhf): Force underflow exception for arguments with
27477         small absolute value.
27478         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27479         (__ieee754_sinhl): Force underflow exception for arguments with
27480         small absolute value.
27481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27482         (__ieee754_sinhl): Force underflow exception for arguments with
27483         small absolute value.
27484         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27485         (__ieee754_sinhl): Force underflow exception for arguments with
27486         small absolute value.
27487         * math/auto-libm-test-in: Add more tests of sinh.
27488         * math/auto-libm-test-out: Regenerated.
27489         * sysdeps/i386/fpu/libm-test-ulps: Update.
27491 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27493         * libio/oldfileops.c: Include unistd.h.
27495 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27497         * stdlib/isomac.c: Include ctype.h.
27499 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27501         * dirent/tst-seekdir.c (main): Converted to ...
27502         (do_test): ... this.
27503         (TEST_FUNCTION): New macro.
27504         Include test-skeleton.c.
27505         * elf/tst-dlmodcount.c (main): Converted to ...
27506         (do_test): ... this.
27507         (TEST_FUNCTION): New macro.
27508         Include test-skeleton.c.
27509         * elf/tst-order-main.c (main): Converted to ...
27510         (do_test): ... this.
27511         (TEST_FUNCTION): New macro.
27512         Include test-skeleton.c.
27513         * elf/tst-pie2.c (main): Converted to ...
27514         (do_test): ... this.
27515         (TEST_FUNCTION): New macro.
27516         Include test-skeleton.c.
27517         * inet/tst-ether_aton.c (main): Converted to ...
27518         (do_test): ... this.
27519         (TEST_FUNCTION): New macro.
27520         Include test-skeleton.c.
27521         * misc/tst-mntent.c (main): Converted to ...
27522         (do_test): ... this.
27523         (TEST_FUNCTION): New macro.
27524         Include test-skeleton.c.
27525         * misc/tst-tsearch.c (main): Converted to ...
27526         (do_test): ... this.
27527         (TEST_FUNCTION): New macro.
27528         Include test-skeleton.c.
27529         * posix/tst-regexloc.c (main): Converted to ...
27530         (do_test): ... this.
27531         (TEST_FUNCTION): New macro.
27532         Include test-skeleton.c.
27533         * resolv/tst-aton.c (main): Converted to ...
27534         (do_test): ... this.
27535         (TEST_FUNCTION): New macro.
27536         Include test-skeleton.c.
27537         * stdio-common/test-fwrite.c (main): Converted to ...
27538         (do_test): ... this.
27539         (TEST_FUNCTION): New macro.
27540         Include test-skeleton.c.
27541         * stdio-common/tst-ferror.c (main): Converted to ...
27542         (do_test): ... this.
27543         (TEST_FUNCTION): New macro.
27544         Include test-skeleton.c.
27545         * stdio-common/tst-printf.c (main): Converted to ...
27546         (do_test): ... this.
27547         (TEST_FUNCTION): New macro.
27548         Include test-skeleton.c.
27549         * stdio-common/tst-printfsz.c (main): Converted to ...
27550         (do_test): ... this.
27551         (TEST_FUNCTION): New macro.
27552         Include test-skeleton.c.
27553         * stdlib/tst-strtod.c (main): Converted to ...
27554         (do_test): ... this.
27555         (TEST_FUNCTION): New macro.
27556         Include test-skeleton.c.
27557         * string/tst-strlen.c (main): Converted to ...
27558         (do_test): ... this.
27559         (TEST_FUNCTION): New macro.
27560         Include test-skeleton.c.
27561         * string/tst-svc.c (main): Converted to ...
27562         (do_test): ... this.
27563         (TEST_FUNCTION): New macro.
27564         Include test-skeleton.c.
27565         * time/tst-strptime.c (main): Converted to ...
27566         (do_test): ... this.
27567         (TEST_FUNCTION): New macro.
27568         Include test-skeleton.c.
27569         * timezone/tst-timezone.c (main): Converted to ...
27570         (do_test): ... this.
27571         (TEST_FUNCTION): New macro.
27572         Include test-skeleton.c.
27574 2015-08-05  Zack Weinberg  <zackw@panix.com>
27576         * misc/regexp.h: Update comments.
27578 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27580         [BZ #18635]
27581         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27582         before return label.
27584 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27586         [BZ #18661]
27587         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27588         when calling __errno_location.
27589         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27590         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27594         [BZ #18661]
27595         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27596         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27597         __gettimeofday.
27599 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27601         [BZ #18661]
27602         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27603         (__start_context): Don't use pop to restore %rdi so that stack
27604         is aligned to 16 bytes when calling __setcontext.
27606 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27608         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27609         only for libc.
27610         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27612 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27614         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27615         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27616         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27618 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27620         * string/memccpy.c (memccpy):
27621         Improve performance by using memchr/memcpy/__mempcpy.
27623 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27625         * string/strncpy.c (strncpy):
27626         Improve performance by using __strnlen/memcpy.
27628 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27630         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27631         Optimize to avoid an unnecessary FPCR read.
27633 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27635         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27636         Optimize to reduce FPCR/FPSR accesses.
27638 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27640         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27641         dead->data[category] != NULL.
27643 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27645         [BZ #18647]
27646         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27647         and |x| close to 1, use absolute value of x when computing log.
27648         * math/auto-libm-test-in: Add more tests of pow.
27649         * math/auto-libm-test-out: Regenerated.
27651 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27653         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27654         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27655         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27657 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27659         [BZ #18525]
27660         * locales/km_KH: Remove timezone definition.
27661         * locales/lo_LA: Likewise.
27662         * locales/my_MM: Likewise.
27663         * locales/nan_TW@latin: Likewise.
27664         * locales/th_TH: Likewise.
27665         * locales/uk_UA: Likewise.
27667 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27669         [BZ #18265]
27670         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27671         (wcsncat): Likewise.
27672         (wcscmp): Likewise.
27673         (wcsncmp): Likewise.
27675 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27677         * test-skeleton.c (usage): New function.
27678         (main): Call usage when opt is '?'.
27680 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27682         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27683         before first use.
27685 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27687         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27688         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27689         in there too.
27691 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27693         * version.h (RELEASE): Set to "development".
27694         (VERSION): Set to "2.22.90"
27696         * version.h (RELEASE): Set to "stable".
27697         (VERSION): Set to "2.22"
27698         * include/features.h (__GLIBC_MINOR__): Set to 22.
27700 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27702         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27703         Restructure macro to avoid "value computed is not used" warning.
27704         (atomic_compare_and_exchange_val_acq): Likewise.
27706 2015-08-04  Andreas Schwab  <schwab@suse.de>
27708         [BZ #18635]
27709         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27710         ret.
27711         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27713 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27715         * po/pl.po: Updated translation.
27716         * po/uk.po: Likewise.
27717         * po/fi.po: Likewise.
27718         * po/ko.po: Likewise.
27719         * po/ru.po: Likewise.
27720         * po/vi.po: Likewise.
27722 2015-07-31  Zack Weinberg  <zackw@panix.com>
27724         [BZ #18681]
27725         * regexp.h: Add unconditional #warning stating that this header
27726         will be removed soon.  Revise banner comment to match.
27727         (compile): Consistently use ERROR instead of RETURN to report
27728         errors (partial fix for BZ #18681).
27729         * regexp.c: Don't include regexp.h. Remove some unnecessary
27730         declarations.
27732 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27734         * po/libc.pot: Regenerated.
27736 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27738         [BZ #18740]
27739         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27740         float-vlen4-arch-ext-cflags): Removed.
27741         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27742         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27744 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27746         [BZ #14113]
27747         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27748         aligned to __aligned__.
27749         (pthread_cond_t, pthread_rwlock_t): Likewise.
27751 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27753         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27755 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27757         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27758         (struct sigaction): Change sa_flags from a long to an int, and add
27759         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27761 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27763         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27764         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27765         sysdeps/generic/sysdep.h include.
27766         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27767         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27768         sysdeps/hppa/sysdep.h.
27769         (ENTRY, PSEUDO): Undefine before defining.
27771 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27773         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27774         from scratch to use INTERNAL_SYSCALL.
27776 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27778         [BZ #18078]
27779         * scripts/check-localplt.awk: Support alternate relocations.
27780         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27781         sections.
27782         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27783         malloc entries with + REL R_386_GLOB_DAT.
27784         * sysdeps/x86_64/localplt.data: New file.
27786 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27788         [BZ #18731]
27789         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27790         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27793 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27795         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27797 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27799         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27800         directly in terms of __sync_fetch_and_add and delete (int) cast.
27802 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27804         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27805         the -D_ASM_IA64_CURRENT_H flag.
27807 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27809         [BZ #18641]
27810         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27812 2015-07-27  Andreas Schwab  <schwab@suse.de>
27814         * conform/conformtest.pl (checknamespace): Filter out string
27815         literals while tokenizing.
27817 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27819         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27820         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27821         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27823 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27825         * nptl/tst-join7mod.c: Add #include <string.h>.
27827 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27829         * sysdeps/nios2/libm-test-ulps: Update.
27831 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27833         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27834         Fix order of arguments to the rt_sigprocmask syscall.
27835         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27836         Likewise.
27838 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27840         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27842 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27844         [BZ #18457]
27845         * nptl/Makefile (tests): New test case tst-join7.
27846         (modules-names): New test case module tst-join7mod.
27847         * nptl/tst-join7.c: New file.
27848         * nptl/tst-join7mod.c: New file.
27849         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27850         all translation units in libc.so, libpthread.so and rtld.
27852 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27856 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27858         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27859         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27860         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27867         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27869         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27870         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27871         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27873         implementation.
27875 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27877         [BZ #17711]
27878         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27879         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27880         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27881         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27882         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27883         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27885 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27887         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27888         instead of just saying load lock in the comments.
27890 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27892         * sysdeps/unix/Subdirs: Moved ...
27893         * sysdeps/posix/Subdirs: ... here.
27894         * login/pty.h (struct termios, struct winsize): Add forward decls.
27895         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27896         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27897         * sysdeps/arm/nacl/libc.abilist: Updated.
27898         * sysdeps/nacl/libutil.abilist: New file.
27900         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27901         (SIGWINCH): New macro.
27903         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27904         * sysdeps/arm/nacl/libc.abilist: Add it.
27906 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27908         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27910 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27912         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27913         Swap __glibc_reserved0 and sa_flags order.
27915 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27917         [BZ #18657]
27918         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27919         are pending TLS destructor calls.
27920         * include/link.h (struct link_map): Add concurrency note for
27921         L_TLS_DTOR_COUNT.
27922         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27923         Don't touch the link map flag.  Atomically increment
27924         l_tls_dtor_count.
27925         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27926         Avoid taking the load lock and don't touch the link map flag.
27927         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27928         * stdlib/Makefile (tests): Use it.
27929         * stdlib/tst-tls-atexit.c (do_test): dlopen
27930         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27931         to allow tst-tls-atexit-nodelete test case to use it.
27933 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27935         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27936         to bits/types.h.
27937         (msgqnum_t): New typedef.
27938         (msglen_t): Likewise.
27939         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27940         and msg_qbytes type to msglen_t.
27942 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27944         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27945         pad0 to __glibc_reserved0.
27946         (struct stat64): Likewise.
27948 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27950         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27951         Change sa_flags from a long to an int and add __glibc_reserved0 before
27952         it for padding.
27954 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27956         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27957         anonymous by deleting "siginfo" name.
27959 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27961         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27962         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27963         rather than __nacl_irt_filename.
27964         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27966         * NEWS: New item for arm-nacl port.
27967         * sysdeps/arm/nacl/libc.abilist: New file.
27968         * sysdeps/nacl/ld.abilist: New file.
27969         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27970         * sysdeps/nacl/libanl.abilist: New file.
27971         * sysdeps/nacl/libcrypt.abilist: New file.
27972         * sysdeps/nacl/libdl.abilist: New file.
27973         * sysdeps/nacl/libm.abilist: New file.
27974         * sysdeps/nacl/libpthread.abilist: New file.
27975         * sysdeps/nacl/libresolv.abilist: New file.
27976         * sysdeps/nacl/librt.abilist: New file.
27978 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27980         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27981         __startcontext to initialize the new context.
27982         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27983         up CFI directive to forbid further backtracing.
27985 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27987         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27988         reference.
27989         * charmaps/ANSI_X3.4-1968: Likewise.
27990         * charmaps/BS_4730: Likewise.
27991         * charmaps/BS_VIEWDATA: Likewise.
27992         * charmaps/CP1250: Likewise.
27993         * charmaps/CP1251: Likewise.
27994         * charmaps/CP1252: Likewise.
27995         * charmaps/CP1253: Likewise.
27996         * charmaps/CP1254: Likewise.
27997         * charmaps/CP1255: Likewise.
27998         * charmaps/CP1256: Likewise.
27999         * charmaps/CSN_369103: Likewise.
28000         * charmaps/EBCDIC-DK-NO: Likewise.
28001         * charmaps/GB_1988-80: Likewise.
28002         * charmaps/GREEK-CCITT: Likewise.
28003         * charmaps/GREEK7: Likewise.
28004         * charmaps/INIS-8: Likewise.
28005         * charmaps/ISIRI-3342: Likewise.
28006         * charmaps/ISO_2033-1983: Likewise.
28007         * charmaps/ISO_5427-EXT: Likewise.
28008         * locales/POSIX: Likewise.
28009         * locales/ar_SA: Likewise.
28010         * locales/be_BY: Likewise.
28011         * locales/be_BY@latin: Likewise.
28012         * locales/ca_ES: Likewise.
28013         * locales/cs_CZ: Likewise.
28014         * locales/da_DK: Likewise.
28015         * locales/de_BE: Likewise.
28016         * locales/de_CH: Likewise.
28017         * locales/de_LU: Likewise.
28018         * locales/en_AU: Likewise.
28019         * locales/en_BW: Likewise.
28020         * locales/en_CA: Likewise.
28021         * locales/en_DK: Likewise.
28022         * locales/en_GB: Likewise.
28023         * locales/en_IE: Likewise.
28024         * locales/en_NZ: Likewise.
28025         * locales/en_ZA: Likewise.
28026         * locales/en_ZW: Likewise.
28027         * locales/es_AR: Likewise.
28028         * locales/es_BO: Likewise.
28029         * locales/es_CL: Likewise.
28030         * locales/es_CO: Likewise.
28031         * locales/es_DO: Likewise.
28032         * locales/es_EC: Likewise.
28033         * locales/es_ES: Likewise.
28034         * locales/es_HN: Likewise.
28035         * locales/es_MX: Likewise.
28036         * locales/es_PA: Likewise.
28037         * locales/es_PE: Likewise.
28038         * locales/es_PY: Likewise.
28039         * locales/es_SV: Likewise.
28040         * locales/es_US: Likewise.
28041         * locales/es_UY: Likewise.
28042         * locales/es_VE: Likewise.
28043         * locales/et_EE: Likewise.
28044         * locales/fa_IR: Likewise.
28045         * locales/fo_FO: Likewise.
28046         * locales/fr_CA: Likewise.
28047         * locales/fr_CH: Likewise.
28048         * locales/gv_GB: Likewise.
28049         * locales/he_IL: Likewise.
28050         * locales/hr_HR: Likewise.
28051         * locales/id_ID: Likewise.
28052         * locales/is_IS: Likewise.
28053         * locales/it_CH: Likewise.
28054         * locales/iw_IL: Likewise.
28055         * locales/kl_GL: Likewise.
28056         * locales/ko_KR: Likewise.
28057         * locales/kw_GB: Likewise.
28058         * locales/lg_UG: Likewise.
28059         * locales/lt_LT: Likewise.
28060         * locales/lv_LV: Likewise.
28061         * locales/mi_NZ: Likewise.
28062         * locales/nhn_MX: Likewise.
28063         * locales/nl_BE: Likewise.
28064         * locales/pl_PL: Likewise.
28065         * locales/sk_SK: Likewise.
28066         * locales/sl_SI: Likewise.
28067         * locales/sv_FI: Likewise.
28068         * locales/tl_PH: Likewise.
28069         * locales/tr_TR: Likewise.
28070         * locales/vi_VN: Likewise.
28072 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28074         [BZ #17475]
28075         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28076         of tu_IN and bh_IN.
28078 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28080         [BZ #18694]
28081         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28082         bits/wordsize.h.
28083         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28085 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28088         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28089         (spawn_thread): New function.
28090         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28091         (do_test): ... here.  Use IS_LOADED to test for its
28092         availability.
28094 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28096         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28098 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28100         [BZ #18696]
28101         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28102         si_addr_bnd.
28103         (si_lower): New.
28104         (si_upper): Likewise.
28106 2015-07-16  David S. Miller  <davem@davemloft.net>
28108         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28110 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28112         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28113         buffer.
28114         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28115         fail output information.
28117 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28120         and strstr-ppc64..
28121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28122         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28123         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28124         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28125         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28127 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28129         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28130         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28131         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28132         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28134 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28136         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28137         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28138         rtld_hidden_proto.
28139         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28141 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28143         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28144         the test can fail.
28146         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28148         [BZ #18676]
28149         * elf/tst-nodelete-opened.c: New test case.
28150         * elf/tst-nodelete-opened-lib.c: New test case module.
28151         * elf/Makefile (tests, modules-names): Use them.
28152         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28153         early.
28155 2015-07-15  David S. Miller  <davem@davemloft.net>
28157         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28158         futex-intenal.h
28159         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28160         * sysdeps/sparc/sparc64/Makefile: Likewise.
28161         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28162         Remove space from macro define.
28163         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28165 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28167         [BZ #17475]
28168         * locale/iso-639.def: Update Bhili and Tulu language codes as
28169         per iso639-3.
28171 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28173         * elf/tst-leaks1.c (main): Converted to ...
28174         (do_test): ... this.
28175         (TEST_FUNCTION): New macro.
28176         Include test-skeleton.c.
28177         * localedata/tst-langinfo.c (main): Converted to ...
28178         (do_test): ... this.
28179         (TEST_FUNCTION): New macro.
28180         Include test-skeleton.c.
28181         * math/test-fpucw.c (main): Converted to ...
28182         (do_test): ... this.
28183         (TEST_FUNCTION): New macro.
28184         Include test-skeleton.c.
28185         * math/test-tgmath.c (main): Converted to ...
28186         (do_test): ... this.
28187         (TEST_FUNCTION): New macro.
28188         Include test-skeleton.c.
28189         * math/test-tgmath2.c (main): Converted to ...
28190         (do_test): ... this.
28191         (TEST_FUNCTION): New macro.
28192         Include test-skeleton.c.
28193         * setjmp/tst-setjmp.c (main): Converted to ...
28194         (do_test): ... this.
28195         (TEST_FUNCTION): New macro.
28196         Include test-skeleton.c.
28197         * stdio-common/tst-sscanf.c (main): Converted to ...
28198         (do_test): ... this.
28199         (TEST_FUNCTION): New macro.
28200         Include test-skeleton.c.
28201         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28202         (do_test): ... this.
28203         (TEST_FUNCTION): New macro.
28204         Include test-skeleton.c.
28206         * elf/tst-audit9.c (main): Converted to ...
28207         (do_test): ... this.
28208         (TEST_FUNCTION): New macro.
28209         Include test-skeleton.c.
28211 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28213         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28215 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28217         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28218         New variable.
28220 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28222         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28224 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28226         * sysdeps/generic/dl-fileid.h: New file.
28227         * sysdeps/posix/dl-fileid.h: New file.
28228         * sysdeps/nacl/dl-fileid.h: New file.
28229         * include/link.h: Include <dl-fileid.h>.
28230         (struct link_map): Replace l_dev and l_ino with l_file_id.
28231         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28232         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28233         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28235 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28237         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28239 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28241         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28242         Add iff $CXX is set.
28243         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28244         Likewise.
28245         (tst-nodelete-zmodiff): Likewise.
28246         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28248 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28252 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28254         * sysdeps/aarch64/fpu/math_private.h
28255         (define math_opt_barrier): Add AArch64 version.
28256         (math_force_eval): Likewise.
28258 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28260         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28262 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28264         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28265         %ld with %jd and cast to intmax_t.
28266         (do_test_length_zero): Likewise.
28268 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28270         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28272 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28274         * sysdeps/tile/libm-test-ulps: Regenerated.
28276         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28277         Comment out the whole function, not just its body.
28279 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28281         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28282         locks.
28284         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28286 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28288         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28289         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28291 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28293         * sysdeps/nptl/futex-internal.h: New file.
28294         * sysdeps/nacl/futex-internal.h: New file.
28295         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28296         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28297         error checking.
28298         (setxid_unmark_thread): Likewise.
28299         (__nptl_setxid): Likewise.
28300         (__wait_lookup_done): Likewise.
28301         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28302         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28303         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28304         * nptl/pthread_once.c (clear_once_control): Likewise.
28305         (__pthread_once_slow): Likewise.
28306         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28307         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28308         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28309         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28310         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28311         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28312         Likewise.
28313         (__pthread_rwlock_rdlock): Likewise.
28314         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28315         Likewise.
28316         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28317         Likewise.
28318         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28319         Likewise.
28320         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28321         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28322         Likewise.
28323         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28324         __ASSUME_PRIVATE_FUTEX check.
28325         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28326         Check that shared futexes are supported.
28327         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28328         wrappers with error checking.
28329         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28330         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28331         * nptl/pthread_barrierattr_setpshared.c
28332         (pthread_barrierattr_setpshared): Check that shared futexes are
28333         supported.
28334         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28335         Likewise.
28336         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28337         Likewise.
28338         * nptl/sem_init.c (futex_private_if_supported): Remove.
28339         (__new_sem_init): Adapt and check that shared futexes are supported.
28340         * nptl/sem_open.c (sem_open): Likewise.
28341         * nptl/sem_post.c (futex_wake): Remove.
28342         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28343         (do_futex_wait): Use futex wrappers with error checking.
28344         * nptl/sem_wait.c: Include lowlevellock.h.
28345         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28346         Use futex_supports_pshared.
28347         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28348         Use futex wrappers with error checking.
28349         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28350         Likewise.
28351         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28352         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28353         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28354         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28355         (futex_wake): Likewise.
28356         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28357         (do_futex_wait): Use futex wrappers with error checking.
28358         (__new_sem_wait_slow): Update EINTR handling.
28359         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28361 2015-07-09  Martin Sebor  <msebor@redhat.com>
28363         [BZ #18435]
28364         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28365         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28366         * nptl/Makefile (test-xfail-tst-once5): Define.
28368 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28370         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28371         * elf/dl-minimal.c: For readability, reorder some definitions and
28372         introduce more page breaks.  Include <stdio.h>.
28373         (__libc_fatal): New function.
28375         * include/unistd.h: Add rtld_hidden_proto for _exit.
28376         * posix/_exit.c: Add rtld_hidden_def.
28377         * sysdeps/mach/hurd/_exit.c: Likewise.
28378         * sysdeps/nacl/_exit.c: Likewise.
28379         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28380         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28382 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28385         bndmov encoding with zero displacement.
28387 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28388             H.J. Lu  <hongjiu.lu@intel.com>
28390         [BZ #18134]
28391         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28392         * sysdeps/i386/configure: Regenerated.
28393         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28394         (_dl_runtime_profile): Save and restore Intel MPX return bound
28395         registers when calling _dl_call_pltexit.  Add
28396         PRESERVE_BND_REGS_PREFIX before return.
28397         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28398         (LRV_BND1_OFFSET): Likewise.
28399         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28400         lrv_bnd1.
28401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28402         typo in bndmov encoding.
28403         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28404         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28405         branch instructions to preserve bounds.
28407 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28410         [GLIBC_2.22]: Add fmemopen.
28412 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28414         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28415         returns an error, also try to use host port from __mach_host_self for
28416         the __vm_wire call.
28417         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28419 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28421         [BZ #18400]
28422         [BZ #18648]
28423         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28424         Fix pr_uid and pr_gid members.
28425         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28426         definition to elf_greg_t.
28428 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28430         [BZ #18383]
28431         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28432         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28433         * sysdeps/arm/configure: Regenerated.
28434         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28435         (test-xfail-tst-tlsalign-static): Variable removed.
28437         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28438         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28439         rather than explicit 'ln -s'.
28441         * resolv/rpc/netdb.h: New file.
28442         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28444 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28446         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28447         length buffers.
28448         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28449         test-skeleton.c.
28451         [BZ #6544]
28452         [BZ #11216]
28453         [BZ #12836]
28454         [BZ #13151]
28455         [BZ #13152]
28456         [BZ #14292]
28457         * include/stdio.h (fmemopen): Remove hidden prototype.
28458         (__fmemopen): Add new hidden prototype.
28459         * libio/Makefile: Add oldfmemopen object.
28460         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28461         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28462         compliance.
28463         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28464         symbol compatibility.
28465         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28466         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28467         fmemopen.
28468         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28469         on append and read mode.
28470         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28471         fmemopen.
28472         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28473         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28474         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28475         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28476         Likewise.
28477         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28478         [GLIBC_2.22]: Likewise.
28479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28480         Likewise.
28481         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28482         Likewise.
28483         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28484         [GLIBC_2.22]: Likewise.
28485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28486         [GLIBC_2.22]: Likewise.
28487         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28488         [GLIBC_2.22]: Likewise.
28489         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28490         [GLIBC_2.22]: Likewise.
28491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28492         [GLIBC_2.22]: Likewise.
28493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28494         [GLIBC_2.22]: Likewise.
28495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28496         [GLIBC_2.22]: Likewise.
28497         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28498         Likewise.
28499         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28500         Likewise.
28501         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28502         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28503         [GLIBC_2.22]: Likewise.
28504         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28505         [GLIBC_2.22]: Likewise.
28506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28507         [GLIBC_2.22]: Likewise.
28508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28509         [GLIBC_2.22]: Likewise.
28510         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28511         Likewise.
28512         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28513         Likewise.
28514         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28515         Likewise.
28516         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28517         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28519 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28521         [BZ #18643]
28522         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28523         IPV6_PATHMTU, and IPV6_DONTFRAG.
28525 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28527         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28528         and _IO_UNBUFFERED.
28529         * libio/oldfileops.c: Likewise.
28530         * libio/wfileops.c: Likewise.
28532 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28534         * nscd/selinux.c: Delete selinux/flask.h include.
28536 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28538         [BZ #18641]
28539         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28540         (putpwent): Likewise.
28541         (getpwnam): Likewise.
28542         (getpwent_r): Likewise.
28543         (getpwuid_r): Likewise.
28544         (getpwnam_r): Likewise.
28545         (fgetpwent_r): Likewise.
28547 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28549         [BZ #18557]
28550         * inet/rcmd.c (__validuser2_sa): Check user first to
28551         short-circuit host check.
28553 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28554             Mikhail Ilin  <m.ilin@samsung.com>
28556         [BZ #17833]
28557         * elf/Makefile (tests): Add tst-nodelete.
28558         (modules-names): Add tst-nodelete-uniquemod.
28559         (tst-nodelete-uniquemod.so-no-z-defs): New.
28560         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28561         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28562         ($(objpfx)tst-nodelete): Likewise.
28563         ($(objpfx)tst-nodelete.out): Likewise.
28564         (LDFLAGS-tst-nodelete): Likewise.
28565         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28566         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28567         implement forced object deletion.
28568         (_dl_close): Pass false to _dl_close_worker.
28569         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28570         * elf/tst-nodelete.cc: New file.
28571         * elf/tst-nodeletelib.cc: Likewise.
28572         * elf/tst-znodeletelib.cc: Likewise.
28573         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28575 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28577         [BZ #18508]
28578         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28579         Depend on $(libdl).
28580         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28581         is not called infinitely times.
28582         (backtrace_helper): New function.
28583         (trace_arg): New struct.
28584         (st1): Enlarge stack size.
28585         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28586         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28587         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28588         Likewise.
28590 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28592         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28594 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28596         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28597         Include sys/types.h instead of bits/types.h.
28598         Remove inclusion of bits/wordsize.h.
28600 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28602         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28603         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28604         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28605         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28606         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28607         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28609 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28611         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28612         link-defines.sym.
28613         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28614         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28615         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28616         and LR_SIZE.
28617         * sysdeps/i386/link-defines.sym: New file.
28619 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28621         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28622         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28623         ($(objpfx)tst-audit3): New rule.
28624         ($(objpfx)tst-audit3.out): Likewise.
28625         * sysdeps/i386/tst-audit3.c: New file.
28626         * sysdeps/i386/tst-audit3.h: Likewise.
28627         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28628         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28630 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28632         [BZ #18633]
28633         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28634         pointer in C code.
28635         (__strcat_c): Likewise.
28636         (__strcat_g): Likewise.
28638 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28640         [BZ #18592]
28641         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28643 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28645         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28646         New function.  (__ieee754_sqrtf): New function.
28647         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28648         New function.
28649         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28650         New function.
28652 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28654         * sysdeps/ieee754/support.c: Remove unused file.
28656 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28658         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28659         registers instead of d ones so the layout is kernel abi compatible.
28660         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28661         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28662         Likewise.
28664 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28666         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28668 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28670         [BZ #18619]
28671         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28672         and return argument in case of subnormal argument.
28674 2015-07-01  Martin Sebor  <msebor@redhat.com>
28676         [BZ #18435]
28677         * nptl/Makefile: Add tst-once5.cc.
28678         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28679         Remove macro redefinitions.
28680         * nptl/tst-once5.cc: New test.
28682 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28684         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28686         * sysdeps/arm/libm-test-ulps: Regenerated.
28688         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28689         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28691 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28693         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28694         lll_lock_wait_private and lll_futex_wake probes.
28696         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28697         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28698         Likewise.
28699         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28700         atomic_spin_nop.
28701         * sysdeps/x86_64/bits/atomic.h: Likewise.
28702         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28703         to atomic_spin_nop and move ...
28704         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28705         ... here and ...
28706         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28707         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28708         atomic_spin_nop instead of BUSY_WAIT_NOP.
28709         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28710         Likewise.
28711         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28712         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28713         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28714         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28715         instead of atomic_delay.
28717 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28719         [BZ #18613]
28720         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28721         X_ADJ not X when adjusting exponent.
28722         (__ieee754_gamma_r): Do intermediate computations in
28723         round-to-nearest then adjust overflowing and underflowing results
28724         as needed.
28725         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28726         of X_ADJ not X when adjusting exponent.
28727         (__ieee754_gammaf_r): Do intermediate computations in
28728         round-to-nearest then adjust overflowing and underflowing results
28729         as needed.
28730         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28731         log of X_ADJ not X when adjusting exponent.
28732         (__ieee754_gammal_r): Do intermediate computations in
28733         round-to-nearest then adjust overflowing and underflowing results
28734         as needed.  Use 1.0L not 1.0f as numerator of division.
28735         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28736         log of X_ADJ not X when adjusting exponent.
28737         (__ieee754_gammal_r): Do intermediate computations in
28738         round-to-nearest then adjust overflowing and underflowing results
28739         as needed.  Use 1.0L not 1.0f as numerator of division.
28740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28741         of X_ADJ not X when adjusting exponent.
28742         (__ieee754_gammal_r): Do intermediate computations in
28743         round-to-nearest then adjust overflowing and underflowing results
28744         as needed.  Use 1.0L not 1.0f as numerator of division.
28745         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28746         to auto-libm-test-in.
28747         (tgamma_test): Use ALL_RM_TEST.
28748         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28749         tests of tgamma with spurious-overflow.
28750         * math/auto-libm-test-out: Regenerated.
28751         * math/gen-libm-have-vector-test.sh: Do not check for START.
28752         * sysdeps/i386/fpu/libm-test-ulps: Update.
28753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28755         [BZ #18612]
28756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28757         arguments, just return 0.5 times the argument, with underflow
28758         forced as needed.
28759         * math/auto-libm-test-in: Add more tests of j1.
28760         * math/auto-libm-test-out: Regenerated.
28762         [BZ #16559]
28763         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28764         (__ieee754_j1): Force underflow exception for small results.
28765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28766         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28767         (__ieee754_j1f): Force underflow exception for small results.
28768         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28769         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28771         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28772         (__ieee754_j1l): Force underflow exception for small results.
28773         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28774         * math/auto-libm-test-in: Add more tests of j1 and jn.
28775         * math/auto-libm-test-out: Regenerated.
28777         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28778         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28779         (PF_MPLS): Likewise.
28780         (AF_IB): Likewise.
28781         (AF_MPLS): Likewise.
28782         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28783         value and macro.
28784         (MS_RMT_MASK): Include MS_LAZYTIME.
28786 2015-06-26  Mel Gorman  <mgorman@suse.de>
28788         [BZ #18502]
28789         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28790         already minimal.
28792 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28794         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28795         (DT_MIPS_NUM): Update.
28796         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28797         DT_MIPS_RLD_MAP_REL.
28799 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28801         [BZ #16559]
28802         [BZ #18602]
28803         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28804         round-to-nearest internally then recompute results that
28805         underflowed to zero in the original rounding mode.
28806         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28807         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28809         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28810         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28811         * sysdeps/i386/fpu/libm-test-ulps: Update.
28812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28814 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28816         * NEWS: Fixed description of link with vector math library.
28818 2015-06-25  Andreas Schwab  <schwab@suse.de>
28820         [BZ #18549]
28821         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28822         * libio/test-fmemopen.c (do_test): Add test for it.
28824 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28826         [BZ #17841]
28827         * Makeconfig (no-pie-ldflag): New.
28828         (+link): Set to $(+link-pie) if default to PIE.
28829         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28830         * config.make.in (build-pie-default): New.
28831         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28832         is default.  AC_SUBST.
28833         * configure: Regenerated.
28834         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28836 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28838         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28839         to 'unsigned int'.
28841         * resolv/gai_misc.h (struct waitlist): Change type of field
28842         counterp to 'volatile unsigned int *'.
28843         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28844         FUTEXADDR and OLDVAL.
28845         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28846         Give local variable TOTAL type 'volatile unsigned int'.
28847         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28848         * resolv/gai_suspend.c (gai_suspend):
28849         Give local variable CNTR type 'unsigned int'.
28851         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28852         counterp to 'volatile unsigned int *'.
28853         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28854         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28855         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28856         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28857         Give local variable TOTAL type 'volatile unsigned int'.
28858         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28860 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28862         [BZ #18383]
28863         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28864         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28865         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28866         comment for i386/x86-64.
28867         (test-xfail-tst-tlsalign-extern-static): Removed.
28869 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28871         * math/test-double.h: New file.
28872         * math/test-float.h: Likewise.
28873         * math/test-ldouble.h: Likewise.
28874         * math/test-math-inline.h: Likewise.
28875         * math/test-math-no-inline.h: Likewise.
28876         * math/test-math-scalar.h: Likewise.
28877         * math/test-math-vector.h: Likewise.
28878         * math/test-vec-loop.h: Remove file.  Contents moved into
28879         test-math-vector.h.
28880         * math/libm-test.inc (MATHCONST): Do not document macro.
28881         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28882         and test-math-scalar.h.
28883         (FUNC): Remove macro.
28884         (FUNC_TEST): Likewise.
28885         (FLOAT): Likewise.
28886         (MATHCONST): Likewise.
28887         (PRINTF_EXPR): Likewise.
28888         (PRINTF_XEXPR): Likewise.
28889         (PRINTF_NEXPR): Likewise.
28890         (TEST_DOUBLE): Likewise.
28891         (TEST_MATHVEC): Likewise.
28892         (__NO_MATH_INLINES): Likewise.
28893         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28894         and test-math-scalar.h.
28895         (FUNC): Remove macro.
28896         (FUNC_TEST): Likewise.
28897         (FLOAT): Likewise.
28898         (MATHCONST): Likewise.
28899         (PRINTF_EXPR): Likewise.
28900         (PRINTF_XEXPR): Likewise.
28901         (PRINTF_NEXPR): Likewise.
28902         (TEST_FLOAT): Likewise.
28903         (TEST_MATHVEC): Likewise.
28904         (__NO_MATH_INLINES): Likewise.
28905         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28906         and test-math-scalar.h.
28907         (FUNC): Remove macro.
28908         (FUNC_TEST): Likewise.
28909         (FLOAT): Likewise.
28910         (MATHCONST): Likewise.
28911         (PRINTF_EXPR): Likewise.
28912         (PRINTF_XEXPR): Likewise.
28913         (PRINTF_NEXPR): Likewise.
28914         (TEST_DOUBLE): Likewise.
28915         (TEST_MATHVEC): Likewise.
28916         (TEST_INLINE): Likewise.
28917         (__NO_MATH_INLINES): Likewise.
28918         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28919         test-math-scalar.h.
28920         (FUNC): Remove macro.
28921         (FUNC_TEST): Likewise.
28922         (FLOAT): Likewise.
28923         (MATHCONST): Likewise.
28924         (PRINTF_EXPR): Likewise.
28925         (PRINTF_XEXPR): Likewise.
28926         (PRINTF_NEXPR): Likewise.
28927         (TEST_FLOAT): Likewise.
28928         (TEST_MATHVEC): Likewise.
28929         (TEST_INLINE): Likewise.
28930         (__NO_MATH_INLINES): Likewise.
28931         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28932         and test-math-scalar.h.
28933         (FUNC): Remove macro.
28934         (FUNC_TEST): Likewise.
28935         (FLOAT): Likewise.
28936         (MATHCONST): Likewise.
28937         (PRINTF_EXPR): Likewise.
28938         (PRINTF_XEXPR): Likewise.
28939         (PRINTF_NEXPR): Likewise.
28940         (TEST_LDOUBLE): Likewise.
28941         (TEST_MATHVEC): Likewise.
28942         (TEST_INLINE): Likewise.
28943         (__NO_MATH_INLINES): Likewise.
28944         * math/test-ldouble.c: Include test-ldouble.h,
28945         test-math-no-inline.h and test-math-scalar.h.
28946         (FUNC): Remove macro.
28947         (FUNC_TEST): Likewise.
28948         (FLOAT): Likewise.
28949         (MATHCONST): Likewise.
28950         (PRINTF_EXPR): Likewise.
28951         (PRINTF_XEXPR): Likewise.
28952         (PRINTF_NEXPR): Likewise.
28953         (TEST_LDOUBLE): Likewise.
28954         (TEST_MATHVEC): Likewise.
28955         (__NO_MATH_INLINES): Likewise.
28956         * math/test-double-vlen2.h: Include test-double.h,
28957         test-math-no-inline.h and test-math-vector.h.
28958         (FLOAT): Remove macro.
28959         (FUNC): Likewise.
28960         (MATHCONST): Likewise.
28961         (PRINTF_EXPR): Likewise.
28962         (PRINTF_XEXPR): Likewise.
28963         (PRINTF_NEXPR): Likewise.
28964         (TEST_DOUBLE): Likewise.
28965         (TEST_MATHVEC): Likewise.
28966         (__NO_MATH_INLINES): Likewise.
28967         (CNCT): Likewise.
28968         (CONCAT): Likewise.
28969         (WRAPPER_NAME): Likewise.
28970         (WRAPPER_DECL): Likewise.
28971         (WRAPPER_DECL_ff): Likewise.
28972         (WRAPPER_DECL_fFF): Likewise.
28973         (VECTOR_WRAPPER): Likewise.
28974         (VECTOR_WRAPPER_ff): Likewise.
28975         (VECTOR_WRAPPER_fFF): Likewise.
28976         (VEC_LEN): New macro.
28977         * math/test-double-vlen4.h: Include test-double.h,
28978         test-math-no-inline.h and test-math-vector.h.
28979         (FLOAT): Remove macro.
28980         (FUNC): Likewise.
28981         (MATHCONST): Likewise.
28982         (PRINTF_EXPR): Likewise.
28983         (PRINTF_XEXPR): Likewise.
28984         (PRINTF_NEXPR): Likewise.
28985         (TEST_DOUBLE): Likewise.
28986         (TEST_MATHVEC): Likewise.
28987         (__NO_MATH_INLINES): Likewise.
28988         (CNCT): Likewise.
28989         (CONCAT): Likewise.
28990         (WRAPPER_NAME): Likewise.
28991         (WRAPPER_DECL): Likewise.
28992         (WRAPPER_DECL_ff): Likewise.
28993         (WRAPPER_DECL_fFF): Likewise.
28994         (VECTOR_WRAPPER): Likewise.
28995         (VECTOR_WRAPPER_ff): Likewise.
28996         (VECTOR_WRAPPER_fFF): Likewise.
28997         (VEC_LEN): New macro.
28998         * math/test-double-vlen8.h: Include test-double.h,
28999         test-math-no-inline.h and test-math-vector.h.
29000         (FLOAT): Remove macro.
29001         (FUNC): Likewise.
29002         (MATHCONST): Likewise.
29003         (PRINTF_EXPR): Likewise.
29004         (PRINTF_XEXPR): Likewise.
29005         (PRINTF_NEXPR): Likewise.
29006         (TEST_DOUBLE): Likewise.
29007         (TEST_MATHVEC): Likewise.
29008         (__NO_MATH_INLINES): Likewise.
29009         (CNCT): Likewise.
29010         (CONCAT): Likewise.
29011         (WRAPPER_NAME): Likewise.
29012         (WRAPPER_DECL): Likewise.
29013         (WRAPPER_DECL_ff): Likewise.
29014         (WRAPPER_DECL_fFF): Likewise.
29015         (VECTOR_WRAPPER): Likewise.
29016         (VECTOR_WRAPPER_ff): Likewise.
29017         (VECTOR_WRAPPER_fFF): Likewise.
29018         (VEC_LEN): New macro.
29019         * math/test-float-vlen4.h: Include test-float.h,
29020         test-math-no-inline.h and test-math-vector.h.
29021         (FLOAT): Remove macro.
29022         (FUNC): Likewise.
29023         (MATHCONST): Likewise.
29024         (PRINTF_EXPR): Likewise.
29025         (PRINTF_XEXPR): Likewise.
29026         (PRINTF_NEXPR): Likewise.
29027         (TEST_FLOAT): Likewise.
29028         (TEST_MATHVEC): Likewise.
29029         (__NO_MATH_INLINES): Likewise.
29030         (CNCT): Likewise.
29031         (CONCAT): Likewise.
29032         (WRAPPER_NAME): Likewise.
29033         (WRAPPER_DECL): Likewise.
29034         (WRAPPER_DECL_ff): Likewise.
29035         (WRAPPER_DECL_fFF): Likewise.
29036         (VECTOR_WRAPPER): Likewise.
29037         (VECTOR_WRAPPER_ff): Likewise.
29038         (VECTOR_WRAPPER_fFF): Likewise.
29039         (VEC_LEN): New macro.
29040         * math/test-float-vlen8.h: Include test-float.h,
29041         test-math-no-inline.h and test-math-vector.h.
29042         (FLOAT): Remove macro.
29043         (FUNC): Likewise.
29044         (MATHCONST): Likewise.
29045         (PRINTF_EXPR): Likewise.
29046         (PRINTF_XEXPR): Likewise.
29047         (PRINTF_NEXPR): Likewise.
29048         (TEST_FLOAT): Likewise.
29049         (TEST_MATHVEC): Likewise.
29050         (__NO_MATH_INLINES): Likewise.
29051         (CNCT): Likewise.
29052         (CONCAT): Likewise.
29053         (WRAPPER_NAME): Likewise.
29054         (WRAPPER_DECL): Likewise.
29055         (WRAPPER_DECL_ff): Likewise.
29056         (WRAPPER_DECL_fFF): Likewise.
29057         (VECTOR_WRAPPER): Likewise.
29058         (VECTOR_WRAPPER_ff): Likewise.
29059         (VECTOR_WRAPPER_fFF): Likewise.
29060         (VEC_LEN): New macro.
29061         * math/test-float-vlen16.h: Include test-float.h,
29062         test-math-no-inline.h and test-math-vector.h.
29063         (FLOAT): Remove macro.
29064         (FUNC): Likewise.
29065         (MATHCONST): Likewise.
29066         (PRINTF_EXPR): Likewise.
29067         (PRINTF_XEXPR): Likewise.
29068         (PRINTF_NEXPR): Likewise.
29069         (TEST_FLOAT): Likewise.
29070         (TEST_MATHVEC): Likewise.
29071         (__NO_MATH_INLINES): Likewise.
29072         (CNCT): Likewise.
29073         (CONCAT): Likewise.
29074         (WRAPPER_NAME): Likewise.
29075         (WRAPPER_DECL): Likewise.
29076         (WRAPPER_DECL_ff): Likewise.
29077         (WRAPPER_DECL_fFF): Likewise.
29078         (VECTOR_WRAPPER): Likewise.
29079         (VECTOR_WRAPPER_ff): Likewise.
29080         (VECTOR_WRAPPER_fFF): Likewise.
29081         (VEC_LEN): New macro.
29082         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29083         test-vec-loop.h.
29084         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29085         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29086         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29087         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29088         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29089         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29090         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29092 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29094         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29095         (__getlogin_r): ... this.
29097 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29099         [BZ #18594]
29100         * math/s_ccosh.c (__ccosh): Compare with least normal value
29101         instead of comparing class with FP_SUBNORMAL.
29102         * math/s_ccoshf.c (__ccoshf): Likewise.
29103         * math/s_ccoshl.c (__ccoshl): Likewise.
29104         * math/s_cexp.c (__cexp): Likewise.
29105         * math/s_cexpf.c (__cexpf): Likewise.
29106         * math/s_cexpl.c (__cexpl): Likewise.
29107         * math/s_csin.c (__csin): Likewise.
29108         * math/s_csinf.c (__csinf): Likewise.
29109         * math/s_csinh.c (__csinh): Likewise.
29110         * math/s_csinhf.c (__csinhf): Likewise.
29111         * math/s_csinhl.c (__csinhl): Likewise.
29112         * math/s_csinl.c (__csinl): Likewise.
29113         * math/s_ctan.c (__ctan): Likewise.
29114         * math/s_ctanf.c (__ctanf): Likewise.
29115         * math/s_ctanh.c (__ctanh): Likewise.
29116         * math/s_ctanhf.c (__ctanhf): Likewise.
29117         * math/s_ctanhl.c (__ctanhl): Likewise.
29118         * math/s_ctanl.c (__ctanl): Likewise.
29119         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29120         csin, csinh, ctan and ctanh.
29121         * math/auto-libm-test-out: Regenerated.
29122         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29123         * sysdeps/i386/fpu/libm-test-ulps: Update.
29124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29126 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29128         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29129         return value is wrong, print the expected value too.
29131 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29133         [BZ #18585]
29134         * elf/readlib.c (is_gdb_python_file): New.
29135         (process_file): Don't issue errors on filenames with -gdb.py
29136         suffix.
29138 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29140         * math/auto-libm-test-in: Add more tests of csin and csinh.
29141         * math/auto-libm-test-out: Regenerated.
29142         * math/libm-test.inc (csin_test_data): Remove tests moved to
29143         auto-libm-test-in.
29144         (csinh_test_data): Likewise.
29146         [BZ #18593]
29147         * math/s_csin.c (__csin): Negate before rather than after possibly
29148         overflowing multiplication.
29149         * math/s_csinf.c (__csinf): Likewise.
29150         * math/s_csinh.c (__csinh): Likewise.
29151         * math/s_csinhf.c (__csinhf): Likewise.
29152         * math/s_csinhl.c (__csinhl): Likewise.
29153         * math/s_csinl.c (__csinl): Likewise.
29154         * math/auto-libm-test-in: Add some tests of csin and csinh.
29155         * math/auto-libm-test-out: Regenerated.
29156         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29157         (csinh_test_data): Likewise.
29158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29160         [BZ #18586]
29161         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29162         underflow exception for small results.
29164 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29168         variable and included header.
29169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29170         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29177         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29178         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29179         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29180         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29181         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29182         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29183         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29184         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29186 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29188         [BZ #16526]
29189         [BZ #16538]
29190         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29191         (__sin): Force underflow exception for arguments with small
29192         absolute value.
29193         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29194         (__kernel_sinf): Force underflow exception for arguments with
29195         small absolute value.
29196         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29197         (__kernel_sincosl): Force underflow exception for arguments with
29198         small absolute value.
29199         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29200         (__kernel_sinl): Force underflow exception for arguments with
29201         small absolute value.
29202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29203         (__kernel_sincosl): Force underflow exception for arguments with
29204         small absolute value.
29205         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29206         (__kernel_sinl): Force underflow exception for arguments with
29207         small absolute value.
29208         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29209         (__kernel_sinl): Force underflow exception for arguments with
29210         small absolute value.
29211         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29212         (__kernel_sinf): Force underflow exception for arguments with
29213         small absolute value.
29214         * math/auto-libm-test-in: Add more tests of sin and sincos.
29215         * math/auto-libm-test-out: Regenerated.
29217         [BZ #18245]
29218         [BZ #18583]
29219         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29220         (__kernel_standard_l): Use feholdexcept and fesetenv around
29221         conversion to double instead of special-casing overflow and
29222         underflow.
29223         * math/libm-test.inc (fmod_test_data): Add more tests.
29224         (remainder_test_data): Likewise.
29225         (sqrt_test_data): Likewise.
29227 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29229         [BZ #17403]
29230         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29231         atomic_read_barrier, atomic_write_barrier): Define.
29232         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29233         atomic_read_barrier, atomic_write_barrier): Define.
29235 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29237         * math/Makefile [$(PERL) != no]
29238         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29239         dependency on libm-test.stmp below the inclusion of Rules.
29241 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29243         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29245         and included header.
29246         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29247         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29252         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29254         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29255         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29256         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29257         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29258         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29259         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29260         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29261         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29262         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29263         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29264         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29266 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29268         [BZ #18371]
29269         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29270         intermediate but not final result might underflow.
29271         * math/s_csqrtf.c (__csqrtf): Likewise.
29272         * math/s_csqrtl.c (__csqrtl): Likewise.
29273         * math/auto-libm-test-in: Add more tests of csqrt.
29274         * math/auto-libm-test-out: Regenerated.
29275         * sysdeps/i386/fpu/libm-test-ulps: Update.
29277         [BZ #18219]
29278         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29279         threshold on absolute value of exponent for which scaling is used.
29280         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29281         * math/auto-libm-test-in: Add more tests of exp2.
29282         * math/auto-libm-test-out: Regenerated.
29284 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29286         [BZ #17977]
29287         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29288         when initializing interface list, based on the bug analysis
29289         and the patch proposed by Eric Newton.
29290         * resolv/tst-res_hconf_reorder.c: New test.
29291         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29292         tst-res_hconf_reorder.
29293         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29294         and $(shared-thread-library).
29295         (tst-res_hconf_reorder-ENV): New variable.
29297         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29298         in comment.
29300 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29302         [BZ #16353]
29303         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29304         (__expm1): Force underflow exception for arguments with small
29305         absolute value.
29306         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29307         (__expm1f): Force underflow exception for arguments with small
29308         absolute value.
29309         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29310         (__expm1): Force underflow exception for arguments with small
29311         absolute value.
29312         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29313         (__expm1f): Force underflow exception for arguments with small
29314         absolute value.
29315         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29316         Check for small arguments before calling __expm1.
29317         * math/auto-libm-test-in: Do not mark underflow exceptions as
29318         possibly missing for bug 16353.
29319         * math/auto-libm-test-out: Regenerated.
29321 2015-06-22  Andreas Schwab  <schwab@suse.de>
29323         [BZ #18513]
29324         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29325         PTR queries.
29327 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29329         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29331         * string/strcoll_l.c: Remove unused struct element idxnow.
29333 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29335         [BZ #18569]
29336         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29337         underflow and return argument in case of subnormal argument.
29338         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29339         Likewise.
29340         * math/auto-libm-test-in: Add more tests of expm1.
29341         * math/auto-libm-test-out: Regenerated.
29343         [BZ #16361]
29344         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29345         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29346         tiny results.
29347         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29348         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29349         tiny results.
29350         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29351         mark underflow exceptions as possibly missing for bug 16361.
29352         * math/auto-libm-test-out: Regenerated.
29354 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29356         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29357         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29358         Remove variable.
29359         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29360         (test-xfail-XOPEN2K8/utmpx.h/conform).
29362         * conform/conformtest.pl ($xerrors): New variable.
29363         (note_error): New function.
29364         (compiletest): New argument $xfail.  Use not_error.
29365         (runtest): Likewise.
29366         (top level): Handle xfail- lines.  Update calls to compiletest and
29367         runtest.  Handle xfail- and optional- in headers listed with
29368         allow-header.
29369         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29370         (O_EXEC): Likewise.
29371         (O_SEARCH): Likewise.
29372         * conform/data/stropts.h-data (ioctl): Likewise.
29373         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29374         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29375         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29376         (msghdr.msg_controllen): Likewise.
29377         (cmsghdr.cmsg_len): Likewise.
29378         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29379         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29380         variable.
29381         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29382         (test-xfail-XPG4/stropts.h/conform): Likewise.
29383         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29384         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29385         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29386         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29387         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29388         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29389         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29390         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29391         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29392         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29393         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29394         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29395         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29396         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29397         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29398         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29399         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29400         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29401         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29403 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29405         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29406         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29407         definitions for proper unfolding of __MATHDECL_VEC.
29409 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29411         * benchtests/bench-strcoll.c:
29412         Include string.h.
29413         (main): Remove unused variable res.
29415 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29417         * timezone/Makefile (%/UTC %/Universal):
29418         Generate test-result files for UTC and Universal.
29420 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29422         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29424 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29426         [BZ #16350]
29427         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29428         for arguments with small absolute value.
29429         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29430         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29431         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29432         (__asinh): Force underflow exception for arguments with small
29433         absolute value.
29434         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29435         (__asinhf): Force underflow exception for arguments with small
29436         absolute value.
29437         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29438         (__asinhl): Force underflow exception for arguments with small
29439         absolute value.
29440         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29441         (__asinhl): Force underflow exception for arguments with small
29442         absolute value.
29443         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29444         (__asinhl): Force underflow exception for arguments with small
29445         absolute value.
29446         * math/auto-libm-test-in: Do not mark underflow exceptions as
29447         possibly missing for bug 16350.
29448         * math/auto-libm-test-out: Regenerated.
29450         * include/bits/ipc.h: Remove file.
29451         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29452         variable.
29453         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29454         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29455         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29456         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29457         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29458         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29459         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29460         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29461         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29463         * math/auto-libm-test-in: Remove spurious underflow allowance for
29464         tests of cexp.
29465         * math/auto-libm-test-out: Regenerated.
29467         [BZ #18558]
29468         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29469         unconditional definition.
29470         (MCAST_BLOCK_SOURCE): Likewise.
29471         (MCAST_UNBLOCK_SOURCE): Likewise.
29472         (MCAST_LEAVE_GROUP): Likewise.
29473         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29474         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29475         (MCAST_MSFILTER): Likewise.
29476         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29477         Remove variable.
29478         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29479         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29480         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29481         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29482         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29484 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29486         * NEWS: Mention addition of x86_64 vector sincosf.
29487         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29488         * math/test-float-vlen4.h: Likewise.
29489         * math/test-float-vlen8.h: Likewise.
29490         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29491         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29492         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29493         * sysdeps/x86_64/fpu/Versions: New versions added.
29494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29495         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29496         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29497         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29498         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29499         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29500         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29501         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29503         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29504         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29505         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29506         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29507         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29508         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29509         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29510         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29511         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29512         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29513         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29514         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29515         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29516         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29517         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29519         * NEWS: Mention addition of x86_64 vector sincos.
29520         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29521         * math/math.h (__MATHDECL_VEC): New macro.
29522         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29523         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29524         declaration under condition.
29525         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29526         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29527         TEST_VEC_LOOP change.
29528         * math/test-double-vlen4.h: Likewise.
29529         * math/test-double-vlen8.h: Likewise.
29530         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29531         * math/test-float-vlen4.h: Likewise.
29532         * math/test-float-vlen8.h: Likewise.
29533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29534         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29535         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29536         * sysdeps/x86_64/fpu/Versions: New versions added.
29537         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29538         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29539         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29542         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29546         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29547         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29548         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29549         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29550         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29551         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29552         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29553         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29554         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29555         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29557         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29558         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29559         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29560         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29563         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29564         redirections for powf.
29565         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29566         * sysdeps/x86_64/fpu/Versions: New versions added.
29567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29568         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29569         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29570         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29574         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29576         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29577         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29578         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29579         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29580         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29581         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29582         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29583         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29584         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29585         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29586         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29587         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29589         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29590         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29591         * math/test-float-vlen16.h: Fixed 2 argument macro.
29592         * math/test-float-vlen4.h: Likewise.
29593         * math/test-float-vlen8.h: Likewise.
29594         * NEWS: Mention addition of x86_64 vector powf.
29596 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29598         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29599         and redefine.
29600         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29601         and redefine.
29602         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29606         [BZ #18553]
29607         * resource/getpriority.c (getpriority): Rename to __getpriority
29608         and define as weak alias of __getpriority.
29609         * resource/setpriority.c (setpriority): Rename to __setpriority
29610         and define as weak alias of __setpriority.
29611         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29612         __getpriority and define as weak alias of __getpriority.
29613         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29614         __setpriority and define as weak alias of __setpriority.
29615         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29616         strong name.
29617         (setpriority): Use __setpriority as strong name.
29618         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29619         __getpriority and define as weak alias of __getpriority.
29620         * include/sys/resource.h (__getpriority): Declare.  Use
29621         libc_hidden_proto.
29622         (__setpriority): Likewise.
29623         (getpriority): Don't use libc_hidden_proto.
29624         (setpriority): Likewise.
29625         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29626         getpriority.  Call __setpriority instead of setpriority.
29627         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29628         Remove variable.
29630         [BZ #18547]
29631         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29632         as weak alias of __getttynam.  Use prototype function definition.
29633         Call __setttyent, __getttyent and __endttyent instead of
29634         setttyent, getttyent and endttyent.
29635         (getttyent): Rename to __getttyent and define as weak alias of
29636         __getttyent.  Call __setttyent instead of setttyent.  Call
29637         __fgets_unlocked instead of fgets_unlocked.
29638         (setttyent): Rename to __setttyent and define as weak alias of
29639         __setttyent.
29640         (endttyent): Rename to __endttyent and define as weak alias of
29641         __endttyent.
29642         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29643         (__setttyent): Likewise.
29644         (__endttyent): Likewise.
29645         (getttyent): Don't use libc_hidden_proto.
29646         (setttyent): Likewise.
29647         (endttyent): Likewise.
29648         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29649         __endttyent instead of setttyent, getttyent and endttyent.
29650         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29651         Remove variable.
29653         [BZ #18546]
29654         * socket/recv.c (__recv): Use libc_hidden_def.
29655         * socket/socket.c (__socket): Likewise.
29656         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29657         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29658         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29659         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29660         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29661         libc_hidden_def.
29662         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29663         libc_hidden_weak.
29664         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29665         Use libc_hidden_proto.
29666         (__recv): Likewise.
29667         * socket/Versions (libc): Export __recv and __socket at version
29668         GLIBC_PRIVATE.
29669         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29670         instead of recv.
29671         (init_mq_netlink): Call __socket instead of socket.
29672         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29673         Remove variable.
29675         [BZ #18545]
29676         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29677         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29678         hidden_weak.
29679         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29680         define as alias of __mq_timedsend.  Use hidden_weak.
29681         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29682         __mq_timedsend as strong name.
29683         (mq_timedreceive): Use __mq_timedreceive as strong name.
29684         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29685         (__mq_timedreceive): Likewise.
29686         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29687         __mq_timedreceive instead of mq_timedreceive.
29688         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29689         instead of mq_timedsend.
29690         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29691         Remove variable.
29693         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29694         hidden_def and hidden_weak instead of libc_hidden_def and
29695         libc_hidden_weak.
29696         (top level): Refer to hidden_def in comment.
29697         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29698         macro.  Use it instead of libc_hidden_def.
29699         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29700         specify __GI_* name explicitly.
29701         (mq_timedreceive): Likewise.
29702         (mq_setattr): Likewise.
29704         [BZ #18544]
29705         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29706         __pthread_barrier_init and define as weak alias of
29707         __pthread_barrier_init.
29708         * sysdeps/sparc/nptl/pthread_barrier_init.c
29709         (pthread_barrier_init): Likewise.
29710         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29711         __pthread_barrier_wait and define as weak alias of
29712         __pthread_barrier_wait.
29713         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29714         (pthread_barrier_wait): Likewise.
29715         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29716         (pthread_barrier_wait): Likewise.
29717         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29718         (pthread_barrier_wait): Likewise.
29719         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29720         (pthread_barrier_wait): Likewise.
29721         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29722         __pthread_barrier_wait at version GLIBC_PRIVATE.
29723         * include/pthread.h (__pthread_barrier_init): Declare.
29724         (__pthread_barrier_wait): Likewise.
29725         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29726         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29727         (helper_thread): Likewise.
29728         (init_mq_netlink): Call __pthread_barrier_init instead of
29729         pthread_barrier_init.
29731         [BZ #18542]
29732         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29733         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29734         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29735         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29736         vswscanf.
29737         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29738         Remove variable.
29740         [BZ #18540]
29741         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29742         strong alias of _IO_fflush.  Use libc_hidden_def.
29743         * libio/iofflush_u.c (fflush_unlocked): Rename to
29744         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29745         Use libc_hidden_weak.
29746         * include/stdio.h (__fflush_unlocked): Declare.  Use
29747         libc_hidden_proto.
29748         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29749         fflush_unlocked.
29750         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29751         Remove variable.
29753         [BZ #18539]
29754         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29755         define as weak alias of __addseverity.
29756         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29757         Remove variable.
29758         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29759         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29760         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29762         [BZ #18536]
29763         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29764         (__tfind): Likewise.
29765         (__tdelete): Likewise.
29766         (__twalk): Likewise.
29767         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29768         __twalk to GLIBC_PRIVATE.
29769         * include/search.h (__tsearch): Use libc_hidden_proto.
29770         (__tfind): Likewise.
29771         (__tdelete): Likewise.
29772         (__twalk): Likewise.
29773         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29774         Call __tdelete instead of tdelete.
29775         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29776         tfind.  Call __tsearch instead of tsearch.
29777         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29778         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29779         Remove variable.
29780         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29782         [BZ #18534]
29783         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29784         (dprintf): Define as a weak alias of __dprintf, not a strong
29785         alias.
29786         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29787         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29788         dprintf.
29789         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29790         Remove variable.
29791         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29792         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29794         [BZ #18533]
29795         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29796         not a strong alias.
29797         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29798         Remove variable.
29800         [BZ #18532]
29801         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29802         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29803         (in6addr_loopback): Rename to __in6addr_loopback and define as
29804         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29805         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29806         libc_hidden_proto.
29807         (__in6addr_any): Likewise.
29808         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29809         in6addr_any.
29810         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29811         variable.
29812         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29814 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29816         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29817         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29819         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29820         redirections for pow.
29821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29822         * sysdeps/x86_64/fpu/Versions: New versions added.
29823         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29824         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29825         build of SSE, AVX2 and AVX512 IFUNC versions.
29826         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29827         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29828         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29829         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29830         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29833         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29834         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29835         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29836         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29837         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29838         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29839         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29840         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29841         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29842         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29843         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29844         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29845         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29846         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29847         * NEWS: Mention addition of x86_64 vector pow.
29849         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29850         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29851         redirections for expf.
29852         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29853         * sysdeps/x86_64/fpu/Versions: New versions added.
29854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29855         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29856         build of SSE, AVX2 and AVX512 IFUNC versions.
29857         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29860         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29862         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29863         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29864         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29865         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29866         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29867         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29868         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29869         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29870         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29871         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29872         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29873         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29874         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29875         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29876         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29877         * NEWS: Mention addition of x86_64 vector expf.
29879         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29880         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29883         redirections for exp.
29884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29885         * sysdeps/x86_64/fpu/Versions: New versions added.
29886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29888         build of SSE, AVX2 and AVX512 IFUNC versions.
29889         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29890         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29892         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29895         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29896         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29897         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29898         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29899         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29900         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29901         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29902         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29904         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29905         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29906         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29907         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29908         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29909         * NEWS: Mention addition of x86_64 vector exp.
29911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29913         redirections for logf.
29914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29915         * sysdeps/x86_64/fpu/Versions: New versions added.
29916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29918         build of SSE, AVX2 and AVX512 IFUNC versions.
29919         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29920         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29921         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29925         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29926         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29927         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29928         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29929         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29930         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29931         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29932         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29933         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29934         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29937         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29938         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29939         * NEWS: Mention addition of x86_64 vector logf.
29941         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29942         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29943         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29944         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29945         redirections for log.
29946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29947         * sysdeps/x86_64/fpu/Versions: New versions added.
29948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29949         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29950         build of SSE, AVX2 and AVX512 IFUNC versions.
29951         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29952         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29953         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29954         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29955         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29956         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29957         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29958         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29959         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29960         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29961         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29962         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29963         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29964         test.
29965         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29968         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29969         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29970         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29971         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29972         * NEWS: Mention addition of x86_64 vector log.
29974 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29976         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29977         cfi_adjust_cfa_offset argument.
29978         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29979         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29981         [BZ #18034]
29982         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29983         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29984         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29985         ordering using ldar.
29986         (_dl_tlsdesc_dynamic): Likewise.
29987         (_dl_tlsdesc_return_lazy): Likewise.
29988         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29989         relaxed atomics instead of volatile and synchronize with release store.
29990         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29991         volatile.
29992         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29994 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29996         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29997         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29999         * sysdeps/x86_64/fpu/Versions: New versions added.
30000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30002         build of SSE, AVX2 and AVX512 IFUNC versions.
30003         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30004         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30005         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30006         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30007         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30008         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30009         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30010         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30011         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30012         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30013         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30014         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30015         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30016         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30017         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30018         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30021         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30022         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30023         * NEWS: Mention addition of x86_64 vector sinf.
30025 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30027         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30028         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30029         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30030         Remove variable.
30031         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30032         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30034 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30036         [BZ #18530]
30037         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30038         strong alias of _IO_fputs.  Use libc_hidden_def.
30039         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30040         and define as weak alias of __fputs_unlocked.  Use
30041         libc_hidden_weak.
30042         * include/stdio.h (__fputs_unlocked): Declare.  Use
30043         libc_hidden_proto.
30044         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30045         fputs_unlocked.
30047         [BZ #18529]
30048         * resolv/netdb.h [__USE_POSIX]: Change condition to
30049         [__USE_XOPEN2K].
30050         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30051         not expect.
30052         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30053         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30054         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30055         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30056         [XPG4 || UNIX98] (AI_ALL): Likewise.
30057         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30058         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30059         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30060         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30061         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30062         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30063         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30064         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30065         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30066         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30067         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30068         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30069         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30070         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30071         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30072         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30073         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30074         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30075         [XPG4 || UNIX98] (gai_strerror): Likewise.
30076         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30077         [XPG4 || UNIX98] (getnameinfo): Likewise.
30079         [BZ #18528]
30080         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30081         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30082         __USE_XOPEN2K8].
30083         (getgrent): Likewise.
30084         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30085         expect.
30086         [XPG3 || POSIX2008] (endgrent): Likewise.
30087         [XPG3] (setgrent): Likewise.
30088         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30089         variable.
30090         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30092         [BZ #18527]
30093         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30094         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30095         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30096         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30097         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30098         * include/unistd.h (__getlogin_r): Declare.  Use
30099         libc_hidden_proto.
30100         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30101         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30102         variable.
30103         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30104         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30105         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30107 2015-06-12  Martin Sebor  <msebor@redhat.com>
30109         [BZ #18512]
30110         * Makerules (check-install-supported): New target.
30111         (install): Add check-install-supported as a dependency.
30112         * manual/install.texi (Installing the C Library): Document
30113         that overriding prefix and exec_prefix is not supported.
30114         Mention DESTDIR.
30115         * INSTALL: Regenerate from the above.
30117 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30119         [BZ #18519]
30120         * posix/Versions (libc): Export __libc_pread at version
30121         GLIBC_PRIVATE.
30122         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30123         instead of pread.
30124         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30125         variable.
30127         [BZ #18522]
30128         * misc/efgcvt_r.c
30129         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30130         (cvt_symbol): Use weak_alias instead of strong_alias.
30131         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30132         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30133         Remove variable.
30134         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30135         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30137         [BZ #18520]
30138         * inet/herrno.c (h_errno): Rename to __h_errno.
30139         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30140         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30141         to __h_errno instead of h_errno.
30142         * nptl/herrno.c (h_errno): Rename to __h_errno.
30143         (__h_errno_location): Refer to __h_errno not h_errno.
30144         * resolv/Versions (h_errno): Rename to __h_errno.
30145         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30146         Remove variable.
30147         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30149 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30151         * configure.ac: More strict check for AVX512 assembler support.
30152         * configure: Regenerated.
30154         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30155         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30156         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30157         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30158         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30159         * sysdeps/x86_64/fpu/Versions: New versions added.
30160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30161         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30162         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30169         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30170         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30171         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30172         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30173         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30174         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30175         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30176         test.
30177         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30178         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30180         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30181         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30182         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30183         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30184         * NEWS: Mention addition of x86_64 vector sin.
30186 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30188         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30189         comment.
30191 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30193         [BZ #18479]
30194         * nptl/pt-interp.c: New file.
30195         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30196         Add pt-interp.
30197         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30198         $(common-objpfx)runtime-linker.h.
30200 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30202         * Makeconfig (+interp): Remove unused variable.
30203         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30204         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30205         $(elf-objpfx)runtime-linker.h.
30206         ($(elf-objpfx)runtime-linker.h): Rename to
30207         $(common-objpfx)runtime-linker.h and move ...
30208         * Makerules [$(build-shared) = yes]: ... here.
30209         * elf/interp.c: Include <runtime-linker.h> instead of
30210         <elf/runtime-linker.h>.
30212 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30214         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30215         (__gettimeofday_syscall): Remove vsyscall fallback.
30216         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30217         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30218         Add syscall fallback function.
30219         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30220         if vDSO is not present.
30221         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30222         fallback function.
30223         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30224         present.
30225         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30226         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30228 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30230         [BZ #18497]
30231         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30232         of wcscmp.
30233         (wcscmp): Define as weak alias of WCSCMP.
30234         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30235         wcscoll.
30236         (USE_HIDDEN_DEF): Define.
30237         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30238         __wcscoll.  Don't use libc_hidden_weak.
30239         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30240         wcscmp.
30241         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30242         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30243         __GI_wcscmp.
30244         (weak_alias): Undefine and redefine.
30245         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30246         __wcscmp and define as weak alias of __wcscmp.
30247         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30248         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30249         (__wcscoll): Likewise.
30250         (wcscmp): Don't use libc_hidden_proto.
30251         (wcscoll): Likewise.
30252         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30253         wcscoll.
30254         * posix/regexec.c (check_node_accept_bytes): Likewise.
30255         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30256         variable.
30257         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30258         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30260         [BZ #18507]
30261         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30262         __fstatvfs and define as weak alias of __fstatvfs.  Use
30263         libc_hidden_weak.
30264         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30265         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30266         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30267         Define as alias of __fstatvfs, not fstatvfs.
30268         (fstatvfs64): Likewise.
30269         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30270         Define as alias of __statvfs, not statvfs.
30271         (statvfs64): Likewise.
30272         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30273         Remove variable.
30275 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30278         (HAVE_GETCPU_VSYSCALL): Define.
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30280         (HAVE_GETCPU_VSYSCALL): Likewise.
30281         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30282         * sysdeps/unix/sysv/linux/sched_getcpu.c
30283         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30284         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30285         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30286         prototype.
30287         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30288         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30289         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30291         Define.
30292         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30293         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30294         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30295         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30297 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30299         * sysdeps/x86_64/fpu/Makefile: New file.
30300         * sysdeps/x86_64/fpu/Versions: New file.
30301         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30302         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30303         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30304         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30305         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30306         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30307         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30308         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30309         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30314         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30315         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30317         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30318         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30319         * sysdeps/x86_64/configure: Regenerated.
30320         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30322         * manual/install.texi (Configuring and compiling): Document
30323         --disable-mathvec.
30324         * INSTALL: Regenerated.
30325         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30327         * math/Makefile: Added rules for vector tests.
30328         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30329         declaration under condition.
30330         * math/test-double-vlen2.h: New file.
30331         * math/test-double-vlen4.h: New file.
30332         * math/test-double-vlen8.h: New file.
30333         * math/test-vec-loop.h: Added initialization macro.
30334         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30336         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30337         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30338         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30342         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30344         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30347         * sysdeps/x86_64/fpu/Versions: New versions added.
30348         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30351         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30352         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30353         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30355         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30358         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30359         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30360         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30361         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30362         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30363         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30364         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30365         * NEWS: Mention addition of x86_64 vector cosf.
30367         * math/Makefile: Added CFLAGS for new tests.
30368         * math/test-float-vlen16.h: New file.
30369         * math/test-float-vlen4.h: New file.
30370         * math/test-float-vlen8.h: New file.
30371         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30372         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30374         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30375         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30376         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30377         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30378         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30379         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30380         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30381         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30383 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30385         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30386         * locale/programs/ld-ctype.c: Likewise.
30388 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30390         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30391         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30392         bit_ZMM16_31_state): New macro.
30393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30394         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30396 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30398         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30400 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30402         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30404 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30406         [BZ #18498]
30407         * libio/memstream.c (open_memstream): Rename to __open_memstream
30408         and define as weak alias of __open_memstream.
30409         * include/stdio.h (__open_memstream): Declare.  Use
30410         libc_hidden_proto.
30411         (open_memstream): Don't use libc_hidden_proto.
30412         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30413         open_memstream.
30414         * posix/getopt.c (_getopt_internal_r): Likewise.
30415         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30416         variable.
30417         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30418         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30419         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30421         [BZ #18496]
30422         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30423         instead of wcrtomb.
30425         [BZ #18483]
30426         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30427         [__USE_XOPEN2K8].  Remove redundant #endif.
30428         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30429         Remove redundant #if.
30430         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30431         Remove variable.
30432         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30433         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30435         [BZ #18495]
30436         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30437         (__iswlower): Likewise.
30438         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30439         (__iswlower): Likewise.
30440         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30441         instead of towlower.
30442         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30443         instead of iswlower.  Call __towupper instead of towupper.
30444         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30445         instead of iswalnum.
30447 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30449         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30450         errors to stderr.
30452 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30454         [BZ #15661]
30455         [BZ #17322]
30456         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30457         Check for overflow properly.  Check for O_APPEND.  Ignore large
30458         file system block sizes.  Add comments about problems.
30459         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30460         * manual/filesys.texi (Storage Allocation): New node.
30462 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30464         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30465         cancellable syscalls.
30466         (SYS_ify): Add guard to no redefine it.
30467         (INLINE_SYSCALL): Likewise.
30468         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30469         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30470         SYSCALL_CANCEL instead.
30471         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30472         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30473         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30474         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30475         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30476         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30477         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30478         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30479         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30480         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30481         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30482         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30483         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30484         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30485         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30487         Likewise.
30488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30489         (__libc_pread64): Likewise.
30490         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30491         (__libc_preadv): Likewise.
30492         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30493         (__libc_readv64): Likewise.
30494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30495         (__libc_pwrite): Likewise.
30496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30497         (__libc_pwrite64): Likewise.
30498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30499         (__libc_pwritev): Likewise.
30500         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30501         (__libc_pwritev64): Likewise.
30502         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30503         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30504         (sync_file_range): Likewise.
30505         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30506         Likewise.
30507         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30508         Likewise.
30509         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30510         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30511         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30512         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30513         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30514         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30515         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30516         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30518         Likewise.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30520         (__libc_read64): Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30522         Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30524         Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30526         Likewise.
30527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30528         Likewise.
30529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30530         (__libc_pread64): Likewise.
30531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30532         Likewise.
30533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30534         (__libc_pwrite64): Likewise.
30535         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30536         (sync_file_range): Likewise.
30537         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30538         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30539         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30540         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30541         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30542         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30543         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30544         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30545         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30546         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30547         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30548         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30549         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30550         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30551         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30552         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30553         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30554         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30555         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30556         Likewise.
30557         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30558         Likewise.
30559         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30560         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30561         Likewise.
30562         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30563         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30564         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30565         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30566         Likewise.
30567         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30568         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30569         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30570         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30571         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30573 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30575         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30576         Include dl-vdso.
30577         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30578         Use VDSO routines for gettimeofday, clock_gettime if
30579         available.
30580         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30581         Declare VDSO symbols.
30582         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30583         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30584         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30585         * sysdeps/unix/sysv/linux/arm/Versions: Add
30586         __vdso_clock_gettime.
30588 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30590         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30591         be an inline implementation regardless of library is built within.
30592         (open_not_cancel_2): Likewise.
30593         (__read_nocancel): Likewise.
30594         (__write_nocancel): Likewise.
30595         (openat_not_cancel): Likewise.
30596         (openat_not_cancel_3): Likewise.
30597         (openat64_not_cancel): Likewise.
30598         (openat64_not_cancel_3): Likewise.
30599         (__close_nocancel): Likewise.
30600         (pause_not_cancel): Likewise.
30601         (nanosleep_not_cancel): Likewise.
30602         (sigsuspend_not_cancel): Likewise.
30604 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30606         [BZ #14958]
30607         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30608         wake-up.
30609         (__pthread_rwlock_rdlock_slow): Likewise.
30610         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30611         Likewise.
30612         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30613         Likewise.
30614         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30615         * nptl/tst-rwlock16.c: New file.
30616         * nptl/Makefile (tests): Add new test.
30618 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30620         [BZ #18324]
30621         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30622         missing wake-up of readers.
30623         * nptl/tst-rwlock15.c: New file.
30624         * nptl/Makefile (tests): Add new test.
30626 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30628         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30629         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30630         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30631         and __nacl_supply_interface_rtld.
30632         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30633         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30634         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30635         Add __nacl_supply_interface_rtld.
30636         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30638 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30640         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30641         isfinite.
30642         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30643         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30645 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30647         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30648         __signbit* with standard C99 macros.
30649         * math/e_exp10l.c: Likewise.
30650         * math/e_exp2l.c: Likewise.
30651         * math/e_scalb.c: Likewise.
30652         * math/e_scalbf.c: Likewise.
30653         * math/e_scalbl.c: Likewise.
30654         * math/s_ldexp.c: Likewise.
30655         * math/s_ldexpf.c: Likewise.
30656         * math/s_ldexpl.c: Likewise.
30657         * math/w_atan2.c: Likewise.
30658         * math/w_atan2f.c: Likewise.
30659         * math/w_atan2l.c: Likewise.
30660         * math/w_cosh.c: Likewise.
30661         * math/w_coshf.c: Likewise.
30662         * math/w_coshl.c: Likewise.
30663         * math/w_exp10.c: Likewise.
30664         * math/w_exp10f.c: Likewise.
30665         * math/w_exp10l.c: Likewise.
30666         * math/w_exp2.c: Likewise.
30667         * math/w_exp2f.c: Likewise.
30668         * math/w_exp2l.c: Likewise.
30669         * math/w_fmod.c: Likewise.
30670         * math/w_fmodf.c: Likewise.
30671         * math/w_fmodl.c: Likewise.
30672         * math/w_hypot.c: Likewise.
30673         * math/w_hypotf.c: Likewise.
30674         * math/w_hypotl.c: Likewise.
30675         * math/w_jnl.c: Likewise.
30676         * math/w_lgamma.c: Likewise.
30677         * math/w_lgamma_r.c: Likewise.
30678         * math/w_lgammaf.c: Likewise.
30679         * math/w_lgammaf_r.c: Likewise.
30680         * math/w_lgammal.c: Likewise.
30681         * math/w_lgammal_r.c: Likewise.
30682         * math/w_pow.c: Likewise.
30683         * math/w_powf.c: Likewise.
30684         * math/w_powl.c: Likewise.
30685         * math/w_remainder.c: Likewise.
30686         * math/w_remainderf.c: Likewise.
30687         * math/w_remainderl.c: Likewise.
30688         * math/w_scalb.c: Likewise.
30689         * math/w_scalbf.c: Likewise.
30690         * math/w_scalbl.c: Likewise.
30691         * math/w_scalbln.c: Likewise.
30692         * math/w_scalblnf.c: Likewise.
30693         * math/w_scalblnl.c: Likewise.
30694         * math/w_sinh.c: Likewise.
30695         * math/w_sinhf.c: Likewise.
30696         * math/w_sinhl.c: Likewise.
30697         * math/w_tgamma.c: Likewise.
30698         * math/w_tgammaf.c: Likewise.
30699         * math/w_tgammal.c: Likewise.
30700         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30701         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30702         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30703         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30704         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30705         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30706         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30707         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30708         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30709         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30710         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30711         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30712         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30713         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30714         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30715         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30716         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30717         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30718         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30721         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30723         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30724         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30725         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30726         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30727         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30728         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30729         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30730         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30731         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30732         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30733         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30734         * stdio-common/printf_fp.c: Likewise.
30735         * stdio-common/printf_fphex.c: Likewise.
30736         * stdio-common/printf_size.c: Likewise.
30738 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #18470]
30741         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30742         strnlen.
30743         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30744         Remove variable.
30745         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30746         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30747         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30748         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30749         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30750         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30751         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30752         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30753         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30754         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30756         [BZ #18468]
30757         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30758         weak alias of __wmemchr.  Use libc_hidden_weak.
30759         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30760         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30761         instead of wmemchr.
30763 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30765         [BZ #18383]
30766         * elf/tst-tlsalign-extern.c: New file.
30767         * elf/tst-tlsalign-extern-static.c: New file.
30768         * elf/tst-tlsalign-vars.c: New file.
30769         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30770         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30771         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30772         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30773         (test-xfail-tst-tlsalign-extern-static): New variable.
30775 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30777         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30778         Use variable name _sc_err instead of err.
30779         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30780         instead of ret.
30781         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30782         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30783         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30784         (INLINE_SYSCALL): Likewise.
30786         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30787         * include/string.h (__strnlen): Use libc_hidden_proto.
30788         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30789         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30790         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30791         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30792         (libc_hidden_def): Undefine and redefine.
30793         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30794         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30795         __GI_strnlen.
30796         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30797         libc_hidden_def.
30798         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30800         [BZ #18469]
30801         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30802         weak alias of __towlower.  Use libc_hidden_weak.
30803         (towupper): Rename to __towupper and define as weak alias of
30804         __towupper.  Use libc_hidden_weak.
30805         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30806         (__towupper): Likewise.
30807         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30808         __towlower instead of towlower.
30810 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30812         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30813         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30815 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30817         * sysdeps/aarch64/libm-test-ulps: Update.
30819 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30821         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30822         Define.
30823         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30825         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30826         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30827         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30828         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30829         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30831 2015-06-01  Martin Sebor  <msebor@redhat.com>
30833         [BZ #18116]
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30835         (__setcontext): Use extended four-operand version of mtsf whenever
30836         possible.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30838         (__novec_swapcontext): Likewise.
30840 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30842         * benchtests/scripts/compare_bench.py: New file.
30843         * benchtests/scripts/import_bench.py (mean): New function.
30844         (split_list): Likewise.
30845         (do_for_all_timings): Likewise.
30846         (compress_timings): Likewise.
30848         * benchtests/scripts/import_bench.py: New file.
30849         * benchtests/scripts/validate_benchout.py: Import import_bench
30850         instead of jsonschema.
30851         (validate_bench): Remove function.
30852         (main): Use import_bench.
30854 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30856         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30857         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30859 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30863 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30865         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30866         set THREAD_SELF->tid to a magic value and futex-wake it.
30867         Pass its address to the thread_exit system call.
30868         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30869         bit is clear.
30870         * sysdeps/nacl/lowlevellock.h: New file.
30871         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30873         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30874         Add TIMEOUT to current time, don't subtract it.
30876 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30878         [BZ #2981]
30879         [BZ #18422]
30880         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30881         ($(objpfx)tst-audit2.out): Also depend on
30882         $(objpfx)tst-auditmod9b.so.
30883         * elf/tst-audit2.c: Include <dlfcn.h>.
30884         (calloc_called): New.
30885         (calloc): Allow to be called more than once.
30886         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30888 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30890         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30891         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30893 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30895         * stdlib/monetary.h: Fix comment.
30897 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30899         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30900         Avoid using variables in #defines that might cause shadowing.
30901         (INTERNAL_VSYSCALL_CALL): Likewise.
30903 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30905         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30907         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30908         * nptl/lll_timedlock_wait.c: ... to this new file.
30909         * nptl/Makefile (libpthread-routines): Add it.
30910         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30911         * nptl/lll_timedwait_tid.c: ... to this new file.
30912         * nptl/Makefile (libpthread-routines): Add it.
30913         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30914         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30915         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30916         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30917         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30918         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30919         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30920         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30921         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30922         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30924 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30926         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30927         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30928         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30929         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30930         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30931         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30932         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30933         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30934         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30935         * sysdeps/unix/sysv/linux/tile/sysdep.h
30936         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30937         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30938         using vDSO syscall macro.
30940 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30942         [BZ #17293]
30943         * uk_UA: Fix sorting order for Ukrainian locale
30945 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30947         * stdlib/monetary.h: Fix comment.
30949 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30951         [BZ #18234]
30952         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30953         st_mtim and st_ctim members.
30954         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30955         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30956         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30957         (struct stat64): Likewise.
30958         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30959         (struct stat64): Likewise.
30960         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30961         (struct stat64): Likewise.
30963 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30965         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30966         Define and include sysdep-vdso.h.
30967         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30968         Likewise.
30969         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30970         Likewise.
30971         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30972         Define with VDSO_SYMBOL and use PTR_MANGLE.
30973         (__vdso_clock_gettime): Likewise.
30974         (__vdso_clock_getres): Likewise.
30975         (_libc_vdso_platform_setup): Likewise.
30976         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30977         Likewise.
30978         (_libc_vdso_platform_setup): Likewise.
30979         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30980         Likewise.
30981         (__vdso_clock_gettime): Likewise.
30982         (__vdso_clock_getres): Likewise.
30983         (__vdso_get_tbfreq): Likewise.
30984         (__vdso_getcpu): Likewise.
30985         (__vdso_time): Likewise.
30986         (__vdso_sigtramp_rt64): Likewise.
30987         (__vdso_signtramp32): Likewise.
30988         (__vdso_sigtramp_rt32): Likewise.
30989         (_libc_vdso_platform_setup): Likewise.
30990         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30991         Likewise.
30992         (__vdso_clock_gettime): Likewise.
30993         (__vdso_clock_getres): Likewise.
30994         (_libc_vdso_platform_setup): Likewise.
30995         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30996         Likewise.
30997         (__vdso_clock_gettime): Likewise.
30998         (_libc_vdso_platform_setup): Likewise.
30999         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31000         Likewise.
31001         (__vdso_getcpu): Likewise.
31002         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31003         Use VDSO_SYMBOL macro to define.
31004         (__vdso_clock_gettime): Likewise.
31005         (__vdso_clock_getres): Likewise.
31006         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31007         Likewise.
31008         (__vdso_clock_gettime): Likewise.
31009         (__vdso_clock_getres): Likewise.
31010         (__vdso_get_tbfreq): Likewise.
31011         (__vdso_getcpu): Likewise.
31012         (__vdso_time): Likewise.
31013         (__vdso_sigtramp_rt64): Likewise.
31014         (__vdso_signtramp32): Likewise.
31015         (__vdso_sigtramp_rt32): Likewise.
31016         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31017         Likewise.
31018         (__vdso_clock_gettime): Likewise.
31019         (__vdso_clock_getres): Likewise.
31020         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31021         Likewise.
31022         (__vdso_clock_gettime): Likewise.
31023         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31024         Likewise.
31025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31026         macro.
31027         (INTERNAL_VSYSCALL): Likewise.
31028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31029         Remove macro.
31030         (INTERNAL_VSYSCALL): Likewise.
31031         (INTERNAL_VSYSCALL_NCS): Likewise.
31032         (INTERNAL_VSYSCALL_CALL): New macro.
31033         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31035         Likewise.
31036         (INTERNAL_VSYSCALL): Likewise.
31037         (INTERNAL_VSYSCALL_NCS): Likewise.
31038         (INTERNAL_VSYSCALL_CALL): New macro.
31039         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31041         (INLINE_VSYSCALL): Remove macro.
31042         (INTERNAL_VSYSCALL): Remove macro.
31043         (INTERNAL_VSYSCALL_NCS): Remove macro.
31044         (INTERNAL_VSYSCALL_CALL): New macro.
31045         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31046         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31047         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31048         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31049         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31051         (INLINE_VSYSCALL): Remove macro.
31052         (INTERNAL_VSYSCALL): Likewise.
31053         (INTERNAL_VSYSCALL_NCS): Likewise.
31054         (INTERNAL_VSYSCALL_CALL): New macro.
31055         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31056         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31057         PTR_DEMANGLE on vDSO pointer.
31058         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31059         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31060         macro.
31061         (INTERNAL_SYSCALL): Likewise.
31062         (INTERNAL_VSYSCALL_NCS): Remove macro.
31063         (INTERNAL_VSYSCALL_CALL): New macro.
31064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31065         Remove macro.
31066         (INTERNAL_VSYSCALL): Likewise.
31067         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31068         sysdep-vdso.h instead of libc-vdso.h.
31069         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31070         definition.
31071         (INLINE_VSYSCALL): Likewise.
31072         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31073         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31074         definition.
31075         (INLINE_VSYSCALL): Likewise.
31076         (INTERNAL_VSYSCALL): Likewise.
31077         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31078         * sysdeps/unix/sysv/linux/timespec_get.c
31079         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31080         (timespec_get): Use ANSI prototype.
31081         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31082         and definition for Linux.
31084 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31086         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31087         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31089 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31091         [BZ #2981]
31092         [BZ #18410]
31093         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31094         for missing DT_PLTRELSZ.
31096 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31098         Remove obsolete aliases that broke 'locale -a'
31099         [BZ #18412]
31100         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31101         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31102         breaking some applications that use 'locale -a' output.
31103         Change the encoding of this file from Latin-1 to ASCII to avoid
31104         other potential problems with people grepping this file.
31106 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31108         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31109         -fasynchronous-unwind-tables.
31110         (CFLAGS-sendto.c): Likewise.
31111         (CFLAGS-sendmsg.c): Likewise.
31112         (CFLAGS-connect.c): Likewise.
31113         (CFLAGS-recvmsg.c): Likewise.
31114         (CFLAGS-recvfrom.c): Likewise.
31115         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31116         (SOCKETCALL): New macro: non-cancellable socketcall.
31117         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31118         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31119         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31120         * sysdeps/unix/sysv/linux/accept.c: New file.
31121         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31122         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31123         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31124         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31125         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31126         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31127         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31128         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31129         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31130         * sysdeps/unix/sysv/linux/send.c: Likewise.
31131         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31132         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31133         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31134         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31135         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31136         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31137         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31138         prototype.
31139         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31140         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31141         instead of __internal_xxx function.
31142         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31143         prototype.
31144         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31145         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31146         instead of __internal_xxx function.
31147         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31148         prototype.
31149         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31150         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31151         instead of __internal_xxx function.
31152         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31153         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31154         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31155         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31156         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31157         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31158         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31159         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31160         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31161         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31162         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31163         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31164         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31165         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31167         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31168         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31169         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31170         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31171         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31174         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31175         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31176         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31177         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31178         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31179         * sysdeps/unix/sysv/linux/send.S: Likewise.
31180         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31181         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31182         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31183         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31184         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31185         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31186         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31187         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31188         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31189         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31190         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31191         socketcall is implemented in GLIBC.
31193 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31195         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31196         (__fma): Ignore uninitialized warnings around packing.
31197         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31198         (__fmaf): Ignore uninitialized warnings around packing.
31199         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31200         (__fmal): Ignore uninitialized warnings around packing.
31202         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31203         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31205         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31207         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31208         switch statement into default case.
31209         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31211         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31212         a conditional in forcing "inexact".
31213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31214         Likewise.
31216 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31218         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31219         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31220         for each INTERNAL_SYSCALL use.
31222 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31224         [BZ #438]
31225         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31226         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31227         variable.
31229         [BZ #18444]
31230         * string/basename.c (basename): Rename to __basename and define as
31231         weak alias of __basename.  Use libc_hidden_weak.
31232         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31233         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31234         __basename instead of basename.
31235         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31236         Remove variable.
31237         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31239 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31241         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31242         (_IO_JUMPS_FILE_plus): New.
31243         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31244         _IO_CAST_FIELD_ACCESS.
31245         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31246         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31247         * libio/freopen.c (freopen): Likewise.
31248         * libio/freopen64.c (freopen64): Likewise.
31249         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31250         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31251         * libio/iofwide.c (_IO_fwide): Likewise.
31252         * libio/memstream.c (open_memstream): Likewise.
31253         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31254         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31255         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31257 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31260         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31261         NADJ.
31262         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31263         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31264         NADJ.
31265         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31266         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31267         NADJ.
31269         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31270         (p == 4) case.
31272         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31273         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31274         Remove variable.
31275         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31276         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31277         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31279 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31281         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31282         Adjust jump table label generation macros.
31284 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31286         * stdio-common/vfprintf.c (vfprintf): Move local variables
31287         args_malloced, specs, specs_malloced, and the code after
31288         do_positional to the printf_positional function.
31289         (printf_positional): New function.
31291 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31293         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31294         function.
31295         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31296         STEP4_TABLE, process_arg): Move macro definitions
31297         out of the vfprintf function.  (Cosmetic change only.)
31299 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31301         * benchtests/Makefile (stdio-common-bench): Define.
31302         (benchset): Add stdio-common-bench.
31303         * sprintf-inputs: New file.
31304         * sprintf-source.c: New file.
31306 2015-05-21  Andreas Schwab  <schwab@suse.de>
31308         [BZ #13028]
31309         [BZ #17053]
31310         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31311         of struct __res_state.
31312         * resolv/res_send.c (__libc_res_nsend): Likewise.
31313         (get_nsaddr): New function.
31314         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31315         statp directly.
31317 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31319         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31320         -D_POSIX_C_SOURCE=199506L.
31322         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31324         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31325         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31326         Do not mention otherwise.
31327         [POSIX] (_XOPEN_VERSION): Do not expect.
31328         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31329         [POSIX] (_POSIX2_C_BIND): Likewise.
31330         [POSIX] (_POSIX2_VERSION): Likewise.
31331         [POSIX] (_XOPEN_XPG2): Likewise.
31332         [POSIX] (_XOPEN_XPG3): Likewise.
31333         [POSIX] (_XOPEN_XPG4): Likewise.
31334         [POSIX] (_XOPEN_UNIX): Likewise.
31335         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31336         [POSIX] (_POSIX_BARRIERS): Likewise.
31337         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31338         [POSIX] (_POSIX_CPUTIME): Likewise.
31339         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31340         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31341         [POSIX] (_POSIX_SHELL): Likewise.
31342         [POSIX] (_POSIX_SPAWN): Likewise.
31343         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31344         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31345         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31346         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31347         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31348         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31349         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31350         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31351         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31352         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31353         [POSIX] (_POSIX2_PBS): Likewise.
31354         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31355         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31356         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31357         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31358         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31359         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31360         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31361         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31362         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31363         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31364         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31365         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31366         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31367         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31368         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31369         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31370         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31371         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31372         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31373         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31374         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31375         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31376         [POSIX] (_SC_2_C_BIND): Likewise.
31377         [POSIX] (_SC_2_C_VERSION): Likewise.
31378         [POSIX] (_SC_2_PBS): Likewise.
31379         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31380         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31381         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31382         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31383         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31384         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31385         [POSIX] (_SC_BARRIERS): Likewise.
31386         [POSIX] (_SC_BASE): Likewise.
31387         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31388         [POSIX] (_SC_DEVICE_IO): Likewise.
31389         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31390         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31391         [POSIX] (_SC_FD_MGMT): Likewise.
31392         [POSIX] (_SC_FIFO): Likewise.
31393         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31394         [POSIX] (_SC_FILE_LOCKING): Likewise.
31395         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31396         [POSIX] (_SC_IOV_MAX): Likewise.
31397         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31398         [POSIX] (_SC_NETWORKING): Likewise.
31399         [POSIX] (_SC_PAGE_SIZE): Likewise.
31400         [POSIX] (_SC_PASS_MAX): Likewise.
31401         [POSIX] (_SC_PIPE): Likewise.
31402         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31403         [POSIX] (_SC_REGEXP): Likewise.
31404         [POSIX] (_SC_SHELL): Likewise.
31405         [POSIX] (_SC_SIGNALS): Likewise.
31406         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31407         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31408         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31409         [POSIX] (_SC_USER_GROUPS): Likewise.
31410         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31411         [POSIX] (_SC_STREAMS): Likewise.
31412         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31413         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31414         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31415         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31416         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31417         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31418         [POSIX] (_PC_FILESIZEBITS): Likewise.
31419         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31420         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31421         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31422         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31423         [POSIX] (uid_t): Likewise.
31424         [POSIX] (gid_t): Likewise.
31425         [POSIX] (off_t): Likewise.
31426         [POSIX] (pid_t): Likewise.
31427         [POSIX] (cuserid): Allow.
31428         (_SC_2_CHAR_TERM): Require constant.
31429         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31430         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31431         variable.
31433 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31435         * sysdeps/nacl/pthread-pids.h: New file.
31436         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31437         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31439         * nptl/pthread-pids.h: New file.
31440         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31441         * nptl/nptl-init.c: Include <pthread-pids.h>.
31442         (__pthread_initialize_minimal_internal):
31443         Call __pthread_initialize_pids instead of set_tid_address syscall.
31445         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31446         * sysdeps/posix/usleep.c: ... here.
31448 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31450         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31451         call_pselect6 object.
31452         [$(subdir) = io]: Remove call_sync_file_range object.
31453         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31454         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31455         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31456         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31458 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31460         * math/s_cproj.c: Add include "math_private.h".
31461         * math/s_cprojf.c: Likewise.
31462         * math/s_cprojl.c: Likewise.
31464 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31466         [BZ #18244]
31467         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31468         high mantissa bit when testing whether P is a NaN.
31469         * math/libm-test.inc (remainder_test_data): Add more tests.
31470         (remquo_test_data): Likewise.
31472         [BZ #18049]
31473         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31474         below -32, return the argument, with underflow if subnormal.
31475         * math/auto-libm-test-in: Add more tests of atanh.
31476         * math/auto-libm-test-out: Regenerated.
31478 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31480         [BZ #18434]
31481         * nptl/tst-sem15.c: New file.
31482         * nptl/Makefile (tests): Add it.
31483         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31484         s/<</>>/ to fix typo in EOVERFLOW check.
31485         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31487 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31489         * manual/strings.texi (envz_remove): Fix typo in safety
31490         annotations.
31492 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31493             Steve Ellcey  <sellcey@imgtec.com>
31495         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31496         in order to avoid strict alias warnings.
31497         (iruserok_af): Ditto for ra.
31499 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31501         [BZ #17581]
31502         * malloc/hooks.c
31503         (magicbyte): Convert to a function and avoid returning 0x01.
31504         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31505         (mem2chunk_check): Fix unsigned comparisons to zero.
31506         Hoist defs of sz and magic.
31508 2015-05-19  Richard Henderson  <rth@redhat.com>
31510         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31512         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31514 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31516         [BZ #16159]
31517         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31518         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31519         (reused_arena): Find a non-corrupt arena.
31520         (heap_trim): Pass arena to unlink.
31521         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31522         malloc_printerr.
31523         (top_check): Likewise.
31524         (free_check): Likewise.
31525         (realloc_check): Likewise.
31526         * malloc/malloc.c (malloc_printerr): Add arena argument.
31527         (unlink): Likewise.
31528         (munmap_chunk): Adjust.
31529         (ARENA_CORRUPTION_BIT): New macro.
31530         (arena_is_corrupt): Likewise.
31531         (set_arena_corrupt): Likewise.
31532         (sysmalloc): Use mmap if there are no usable arenas.
31533         (_int_malloc): Likewise.
31534         (__libc_malloc): Don't fail if arena_get returns NULL.
31535         (_mid_memalign): Likewise.
31536         (__libc_calloc): Likewise.
31537         (__libc_realloc): Adjust for additional argument to
31538         malloc_printerr.
31539         (_int_free): Likewise.
31540         (malloc_consolidate): Likewise.
31541         (_int_realloc): Likewise.
31542         (_int_memalign): Don't touch corrupt arenas.
31543         * malloc/tst-malloc-backtrace.c: New test case.
31545         * Makefile (summarize-tests): Fix return value on success.
31547         * manual/string.texi (Envz Functions): Add envz_remove.
31549 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31551         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31552         (invalid_name): New function, broken out of ...
31553         (__opendirat): ... here.  Call it.
31554         (need_isdir_precheck): New function, broken out of ...
31555         (__opendirat): ... here.  Call it.
31556         Use __fxstatat64, not __xstatat64.
31557         (opendir_oflags): New function, broken out of ...
31558         (__opendirat): ... here.  Call it.
31559         (opendir_tail): New function, broken out of ...
31560         (__opendirat): ... here.  Call it.
31561         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31562         opendir_tail, rather than punting to __opendirat.
31563         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31565 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31567         * .gitignore: Ignore generated *.pyc.
31569 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31571         * include/stdio.h: Define __need_wint_t.
31572         * test-skeleton.c: Avoid `for' loop initial declaration.
31573         * nptl/tst-initializers1.c: Use test-skeleton.c.
31575 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31577         [BZ #18418]
31578         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31580 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #16352]
31583         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31584         (__ieee754_atanh): Force underflow exception for results with
31585         small absolute value.
31586         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31587         (__ieee754_atanhf): Force underflow exception for results with
31588         small absolute value.
31589         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31590         (__ieee754_atanh): Force underflow exception for results with
31591         small absolute value.
31592         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31593         (__ieee754_atanhf): Force underflow exception for results with
31594         small absolute value.
31595         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31596         (__ieee754_atanhl): Force underflow exception for results with
31597         small absolute value.
31598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31599         (__ieee754_atanhl): Force underflow exception for results with
31600         small absolute value.
31601         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31602         (__ieee754_atanhl): Force underflow exception for results with
31603         small absolute value.
31604         * math/auto-libm-test-in: Do not allow missing underflow
31605         exceptions from atanh.
31606         * math/auto-libm-test-out: Regenerated.
31608         [BZ #18221]
31609         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31610         2**-28 as threshold for returning x or +/- 1/x.
31611         * math/auto-libm-test-in: Add more tests of tan.
31612         * math/auto-libm-test-out: Regenerated.
31614         [BZ #18220]
31615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31616         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31617         * math/auto-libm-test-in: Add another test of lgamma.
31618         * math/auto-libm-test-out: Regenerated.
31620 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31622         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31623         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31624         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31625         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31626         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31627         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31628         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31629         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31630         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31631         (log1): Use fabs.  (my_log2): Use fabs.
31632         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31633         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31635         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31637         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31638         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31639         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31640         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31641         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31642         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31644 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31646         [BZ #18217]
31647         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31648         as threshold for returning 1 - x.
31649         * math/auto-libm-test-in: Add more tests of erfc.
31650         * math/auto-libm-test-out: Regenerated.
31652 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31654         [BZ #18196]
31655         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31656         threshold for large arguments.
31657         * math/auto-libm-test-in: Add another test of atan.
31658         * math/auto-libm-test-out: Regenerated.
31660         [BZ #16339]
31661         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31662         (__log1p): Force underflow exception for results with small
31663         absolute value.
31664         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31665         (__log1pf): Force underflow exception for results with small
31666         absolute value.
31667         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31668         (__log1p): Force underflow exception for results with small
31669         absolute value.
31670         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31671         (__log1pf): Force underflow exception for results with small
31672         absolute value.
31673         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31674         (__log1pl): Force underflow exception for results with small
31675         absolute value.
31676         * math/auto-libm-test-in: Do not allow missing underflow
31677         exceptions from log1p.
31678         * math/auto-libm-test-out: Regenerated.
31680 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31681             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31683         [BZ #16704]
31684         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31686 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31688         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31689         (libmvec): New variable.
31690         * configure.ac: Added option for mathvec build.
31691         * configure: Regenerated.
31692         * mathvec/Depend: New file.
31693         * mathvec/Makefile: New file.
31694         * shlib-versions: Added libmvec.
31695         * math/Makefile: Added rule for libm.so installation.
31697         * bits/math-vector.h: New file.
31698         * bits/libm-simd-decl-stubs.h: New header.
31699         * math/Makefile (headers): Added new header
31700         libm-simd-decl-stubs.h.
31701         * math/math.h (__MATHCALL_VEC): New macro.
31703         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31704         for conditions in testing functions.
31705         * math/Makefile: Added call of libm-have-vector-test.sh.
31706         * math/libm-test.inc (HAVE_VECTOR): New macros.
31708         * math/libm-test.inc: START refactored.
31709         * math/test-double.c (TEST_MATHVEC): Add define.
31710         * math/test-float.c: Likewise.
31711         * math/test-idouble.c: Likewise.
31712         * math/test-ifloat.c: Likewise.
31713         * math/test-ildoubl.c: Likewise.
31714         * math/test-ldouble.c: Likewise.
31715         * sysdeps/generic/math-tests-arch.h
31716         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31717         architecture check.
31719         * math/test-double.c (FUNC_TEST): New macro.
31720         * math/test-float.c: Likewise.
31721         * math/test-idouble.c: Likewise.
31722         * math/test-ifloat.c: Likewise.
31723         * math/test-ildoubl.c: Likewise.
31724         * math/test-ldouble.c: Likewise.
31725         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31727 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31729         * sysdeps/nacl/fdopendir.c: New file.
31731         * dirent/scandir-tail.c: New file.
31732         * dirent/scandir64-tail.c: New file.
31733         * dirent/Makefile (routines): Add them.
31734         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31735         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31736         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31737         [!SCANDIR] (SCANDIR_TAIL): New macro.
31738         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31739         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31740         (SCANDIRAT): Macro removed.
31741         (SCANDIR_TAIL): New macro.
31742         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31743         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31744         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31745         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31746         (READDIR): Macro removed.
31747         (SCANDIR_TAIL): New macro.
31748         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31749         (SCANDIR_TAIL): New macro.
31751         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31752         * dirent/scandir-cancel.c: ... to this new file.
31753         * dirent/Makefile (routines): Add it.
31754         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31755         * sysdeps/unix/sysv/linux/i386/scandir64.c
31756         (SKIP_SCANDIR_CANCEL): Macro removed.
31757         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31759         * dirent/tst-scandir.c: New file.
31760         * dirent/tst-scandir64.c: New file.
31761         * dirent/Makefile (tests): Add them.
31763 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31765         [BZ #18409]
31766         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31768 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31770         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31771         list.
31773 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31775         * benchtests/bench-strcoll.c: New benchmark.
31776         * benchtests/Makefile: Generate locales and run benchmark.
31777         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31778         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31779         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31780         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31781         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31782         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31783         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31784         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31785         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31786         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31787         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31788         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31789         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31790         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31791         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31792         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31793         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31794         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31795         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31796         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31797         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31798         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31799         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31800         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31802 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31804         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31805         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31807 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31809         * posix/uname-values.h: New file.
31810         * posix/uname.c: Include that instead of <config-name.h>.
31811         * sysdeps/nacl/uname-values.h: New file.
31812         * sysdeps/arm/nacl/uname-values.h: New file.
31814 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31816         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31817         splitting into fields.
31819 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31821         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31822         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31823         * locale/localeinfo.h: Add enum collation_encoding_type.
31824         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31825         * programs/ld-collate.c (collate_output): Add encoding type info.
31826         * string/strcoll_l.c (STRDIFF): New function.
31827         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31828         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31830 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #18397]
31833         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31834         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31835         <fpu_control.h> instead of <math/fpu_control.c>.
31836         * sysdeps/mips/mips32/fpu/Makefile: New file.
31838 2015-05-11  Andreas Schwab  <schwab@suse.de>
31840         [BZ #18007]
31841         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31842         nss_endgrent.
31843         (_nss_compat_endgrent): Call nss_endgrent.
31844         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31845         nss_endpwent.
31846         (_nss_compat_endpwent): Call nss_endpwent.
31847         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31848         needent, call nss_setspent only if non-zero.
31849         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31850         (internal_endspent): Don't call nss_endspent.
31851         (_nss_compat_endspent): Call nss_endspent.
31852         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31853         Remove.  All uses removed.
31854         (internal_setent): Remove parameter stayopen, add parameter
31855         stream.  Use it instead of global variable.
31856         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31857         (internal_endent, internal_getent): Add parameter stream.  Use it
31858         instead of global variable.
31859         (CONCAT(_nss_files_end,ENTNAME))
31860         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31861         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31862         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31863         uses removed.
31864         (internal_setent, internal_endent): Add parameter stream.  Use it
31865         instead of global variable.
31866         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31867         stream.
31868         (get_next_alias): Add parameter stream.
31869         (_nss_files_getaliasent_r): Pass global stream.
31870         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31871         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31872         (_nss_files_gethostbyname4_r): Pass local stream to
31873         internal_setent, internal_getent and internal_endent.  Remove
31874         locking.
31876 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31878         * tst-strfmon1.c (tests): Update expected currency symbol.
31880 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31882         * sysdeps/nacl/gethostname.c: New file.
31884 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31886         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31887         and sinh.
31888         * math/auto-libm-test-out: Regenerated.
31889         * sysdeps/i386/fpu/libm-test-ulps: Update.
31890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31892 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31894         [BZ #18125]
31895         * stdlib/tst-setcontext3.c: New file.
31896         * stdlib/tst-setcontext3.sh: New file.
31897         * stdlib/Makefile (tests): Add tst-setcontext3.
31898         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31899         to verify test program created output file.
31900         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31901         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31902         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31903         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31905 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31907         [BZ #18383]
31908         * elf/tst-tlsalign.c: New file.
31909         * elf/tst-tlsalign-static.c: New file.
31910         * elf/tst-tlsalign-lib.c: New file.
31911         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31912         (tests-static): Add tst-tlsalign-static.
31913         (modules-names): Add tst-tlsalign-lib.
31914         (test-xfail-tst-tlsalign): New variable.
31915         (test-xfail-tst-tlsalign-static): New variable.
31917         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31918         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31920 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31922         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31923         csqrt, erfc, sin and sincos.
31924         * math/auto-libm-test-out: Regenerated.
31925         * sysdeps/i386/fpu/libm-test-ulps: Update.
31926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31928 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31930         * sysdeps/aarch64/libm-test-ulps: Update.
31932 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31934         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31935         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31936         * math/auto-libm-test-out: Regenerated.
31937         * sysdeps/i386/fpu/libm-test-ulps: Update.
31938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31940 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31942         [BZ #18265]
31943         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31944         (wcsncpy): Likewise.
31946 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31948         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31949         Assume __ASSUME_FALLOCATE is always true.
31950         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31951         (__posix_fallocate64_l64): Likewise.
31952         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31953         (posix_fallocate): Likewise.
31954         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31955         (__posix_fallocate64_l64): Likewise.
31956         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31957         [!__ASSUME_FALLOCATE]: Add comment.
31959 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31961         * sysdeps/unix/sysv/linux/i386/Makefile
31962         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31963         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31964         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31965         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31966         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31967         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31968         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31970 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31972         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31973         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31974         tgamma.
31975         * math/auto-libm-test-out: Regenerated.
31976         * sysdeps/i386/fpu/libm-test-ulps: Update.
31977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31979 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31981         * math/auto-libm-test-in: Add more tests of tgamma.
31982         * math/auto-libm-test-out: Regenerated.
31983         * sysdeps/i386/fpu/libm-test-ulps: Update.
31984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31986         * math/auto-libm-test-in: Add more tests of tanh.
31987         * math/auto-libm-test-out: Regenerated.
31988         * sysdeps/i386/fpu/libm-test-ulps: Update.
31989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31991         * math/auto-libm-test-in: Add more tests of tan.
31992         * math/auto-libm-test-out: Regenerated.
31993         * sysdeps/i386/fpu/libm-test-ulps: Update.
31994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31996         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31997         * math/auto-libm-test-out: Regenerated.
31998         * sysdeps/i386/fpu/libm-test-ulps: Update.
31999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32001         * math/auto-libm-test-in: Add another test of pow.
32002         * math/auto-libm-test-out: Regenerated.
32003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32005         * math/auto-libm-test-in: Add more tests of lgamma.
32006         * math/auto-libm-test-out: Regenerated.
32007         * sysdeps/i386/fpu/libm-test-ulps: Update.
32008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32010         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32011         log1p.
32012         * math/auto-libm-test-out: Regenerated.
32013         * sysdeps/i386/fpu/libm-test-ulps: Update.
32014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32016 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32018         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32019         Elf64_Chdr structs and ELFCOMPRESS constants.
32021 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32023         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32024         expm1.
32025         * math/auto-libm-test-out: Regenerated.
32026         * sysdeps/i386/fpu/libm-test-ulps: Update.
32027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32029         * math/auto-libm-test-in: Add more tests of erf and erfc.
32030         * math/auto-libm-test-out: Regenerated.
32031         * sysdeps/i386/fpu/libm-test-ulps: Update.
32032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32034 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32036         * config.h.in (HAVE_AARCH64_BE): Add.
32038 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32040         * math/auto-libm-test-in: Add more tests of csqrt.
32041         * math/auto-libm-test-out: Regenerated.
32042         * sysdeps/i386/fpu/libm-test-ulps: Update.
32043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32045         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32046         * math/auto-libm-test-out: Regenerated.
32047         * sysdeps/i386/fpu/libm-test-ulps: Update.
32048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32050         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32052 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32054         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32055         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32057         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32058         (euidaccess, eaccess): Define as weak aliases.
32060         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32061         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32062         but __suseconds_t is often 'long int' so some sources assume that
32063         type is being used (e.g. they use %ld to print tv_usec).
32065 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32067         [BZ #18007]
32068         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32069         (CVE-2014-8121)
32070         * nss/tst-nss-getpwent.c: New file.
32071         * nss/Makefile (tests): Add new test.
32073 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32075         [BZ #18346]
32076         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32077         exponents less than 48 as cases where high part of mantissa needs
32078         examining to determine whether argument is integral.
32079         * math/libm-test.inc (round_test_data): Add more tests.
32081 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32083         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32085 2015-04-27  David S. Miller  <davem@davemloft.net>
32087         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32088         __tls_get_addr.
32089         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32091 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32093         [BZ #18333]
32094         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32096 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32098         [BZ #18333]
32099         * time/tzset.c (parse_tzname): Return error on memory allocation
32100         failure.
32101         * test-skeleton.c (struct temp_name_list): Change type of name
32102         member to non-const.
32103         (add_temp_file): Create a copy of the file name.
32104         (delete_temp_files): Deallocate memory.
32105         (create_temp_file): Add comment.
32107 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32109         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32110         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32112 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32114         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32115         * sysdeps/arm/configure: Regenerated.
32117 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32119         [BZ #17715]
32120         * time/tzfile.c (__tzfile_read): Check for large values of
32121         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32122         * time/tzset.c (__tzstring_len): New function, based on the old
32123         __tzstring function.
32124         (__tzstring): Call __tzstring_len.
32125         (parse_tzname): New helper function extracted from
32126         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32127         the input string.
32128         (parse_offset): New helper function extracted from
32129         __tzset_parse_tz.  Replace switch with fallthrough with
32130         initialization before sscanf.
32131         (parse_rule): Likewise.
32132         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32133         new-style function definition.
32134         * timezone/Makefile (tests): Add tst-tzset.
32135         (tst-tzset.out): Dependencies on time zone files.
32136         (tst-tzset-ENV): Set TZDIR.
32137         (testdata/XT%): Copy crafted time zone files.
32138         * timezone/README: Mention crafted time zone files.
32139         * timezone/testdata/XT1, timezone/testdata/XT2,
32140         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32141         files.
32142         * timezone/tst-tzset.c: New test.
32144 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32146         * Makeconfig (+gccwarn): Remove -Winline.
32148 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32150         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32152 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32154         * NEWS: Mention sysconf() cache information support for s390.
32155         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32157 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32159         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32160         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32161         (__nearbyint): Likewise.
32162         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32163         (copysignl): Likewise.
32165 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32167         [BZ #18287]
32168         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32169         based on padding.  (CVE-2015-1781)
32171 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32173         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32174         libc-vdso.h.
32175         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32176         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32177         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32178         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32179         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32180         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32181         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32183         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32184         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32185         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32186         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32187         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32188         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32189         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32190         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32191         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32192         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32193         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32194         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32195         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32196         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32197         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32199 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32201         * stdlib/setenv.c (__add_to_environ):
32202         Dump core quickly if setenv (..., NULL, ...) is called.
32203         This time, do it the right way, and pacify GCC with a pragma.
32205 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32207         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32208         IMAP->l_prev cannot be null, and #if out the code for the contrary
32209         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32210         believe that NS (&_dl_ns[NSID]) could point outside the array.
32212         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32213         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32214         before using NSID as an index.
32216 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32218         [BZ #17825]
32219         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32220         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32221         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32223 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32225         Add preliminary port to Google Native Client on ARM.
32226         * abi-tags (.*-.*-nacl.*): New entry.
32227         * sysdeps/arm/nacl: New directory.
32228         * sysdeps/nacl: New directory.
32230 2015-04-16  David S. Miller  <davem@davemloft.net>
32232         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32233         lowlevellock-futex.h
32235 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32237         * sysdeps/tile/configure.ac: New file.
32238         * sysdeps/tile/configure: Regenerated.
32240 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32242         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32243         conditionals for weak_alias and libc_hidden_weak.
32244         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32245         libc_hidden_weak and weak_alias.
32246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32247         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32248         and weak_alias for static one.
32250 2015-04-15  David S. Miller  <davem@davemloft.net>
32252         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32254 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32256         [BZ #18206]
32257         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32258           Use signed comparision instead of substraction to avoid
32259           overflow bug.
32260         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32261           Take the sign of ret.
32262         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32263           Do not expect precise return values. Only the sign matters.
32264         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32265         * wcsmbs/test-wcsncmp.c: New File.
32266         * string/test-strncmp.c: Add wcsncmp support.
32268 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32270         [BZ #6792]
32271         * math/w_log1p.c: New file.
32272         * math/w_log1pf.c: Likewise.
32273         * math/w_log1pl.c: Likewise.
32274         * math/Makefile (libm-calls): Add w_log1p.
32275         * math/s_log1pl.c (log1pl): Remove weak_alias.
32276         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32277         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32278         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32279         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32280         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32281         [NO_LONG_DOUBLE] (log1pl): Likewise.
32282         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32283         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32284         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32285         (log1p): Remove long_double_symbol.
32286         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32287         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32288         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32289         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32290         remove weak_alias for corresponding log1p function.
32291         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32292         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32293         * sysdeps/ia64/fpu/w_log1p.c: New file.
32294         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32295         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32296         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32298 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32300         [BZ #18247]
32301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32302         decimal exponent by 1.
32303         * stdlib/tst-strtod-round-data: Add more tests.
32304         * stdlib/tst-strtod-round.c (tests): Regenerated.
32306 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32308         * math/auto-libm-test-in: Add more tests of clog and clog10.
32309         * math/auto-libm-test-out: Regenerated.
32310         * sysdeps/i386/fpu/libm-test-ulps: Update.
32311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32313 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32315         * Makeconfig (module-cppflags): Exclude all .v.i files.
32316         (skip-module-cppflags): Variable removed.
32318         * configure.ac (libc_config_ok): Initialize before reading
32319         preconfigure scripts, not after.
32320         * configure: Regenerated.
32322         * test-skeleton.c (TIMEOUT): Move #define to top level.
32323         (main): Grok environment variable TEST_DIRECT.  If set, print
32324         test expectation details into that file and then behave as if
32325         given --direct.
32327 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32329         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32330         warning on 32-bit.
32332 2015-04-08  David S. Miller  <davem@davemloft.net>
32334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32336 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32338         * math/auto-libm-test-in: Add more tests of atanh.
32339         * math/auto-libm-test-out: Regenerated.
32340         * sysdeps/i386/fpu/libm-test-ulps: Update.
32341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32343         * math/auto-libm-test-in: Add more tests of atan.
32344         * math/auto-libm-test-out: Regenerated.
32345         * sysdeps/i386/fpu/libm-test-ulps: Update.
32346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32348 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32350         * elf/pldd.c (main): Rewrite to use struct
32351         scratch_buffer instead of extend_alloca.
32352         * elf/pldd-xx.c (find_maps): Likewise.
32353         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32354         <alloca.h>.
32355         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32356         scratch_buffer instead of extend_alloca.
32357         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32358         grp/compat-initgroups.c.
32359         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32360         Rewrite to use struct scratch_buffer instead of extend_alloca.
32361         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32362         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32364 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32366         * math/auto-libm-test-in: Add more tests of cbrt.
32367         * math/auto-libm-test-out: Regenerated.
32368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32370         * math/auto-libm-test-in: Add more tests of cabs.
32371         * math/auto-libm-test-out: Regenerated.
32372         * sysdeps/i386/fpu/libm-test-ulps: Update.
32373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32375         [BZ #18210]
32376         [BZ #18211]
32377         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32378         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32379         computations.
32380         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32381         clog10.
32382         * math/auto-libm-test-out: Regenerated.
32383         * sysdeps/i386/fpu/libm-test-ulps: Update.
32384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32386         [BZ #18197]
32387         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32388         (atan): Set FE_TONEAREST mode for internal computations.
32389         * math/auto-libm-test-in: Add more tests of atan.
32390         * math/auto-libm-test-out: Regenerated.
32392 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32394         [BZ #17930]
32395         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32397 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32399         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32401 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32403         * include/scratch_buffer.h: New file.
32404         * malloc/scratch_buffer_grow.c: Likewise.
32405         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32406         * malloc/scratch_buffer_set_array_size.c: Likewise.
32407         * malloc/tst-scratch_buffer.c: Likewise.
32408         * malloc/Makefile (routines): Add scratch_buffer_grow.
32409         (tests): Add test case.
32410         * malloc/Versions (GLIBC_PRIVATE): Export
32411         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32412         __libc_scratch_buffer_set_array_size.
32414 2015-04-06  Richard Henderson  <rth@redhat.com>
32416         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32417         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32419         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32420         unsigned int before printing.
32422 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32424         [BZ #17596]
32425         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32426         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32428 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32430         * include/libc-internal.h (libc_max_align_t): Define.
32432 2015-04-02  Andreas Schwab  <schwab@suse.de>
32434         [BZ #16850]
32435         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32437 2015-04-02  Mel Gorman  <mgorman@suse.de>
32439         [BZ #17195]
32440         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32441         as well as the main arena.
32443 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32445         [BZ #18185]
32446         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32447         sharing L2 cache to 2 for Silvermont/Knights Landing.
32449 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32451         [BZ #17711]
32452         * config.make.in (have-protected-data): New.
32453         * configure.ac: Check linker support for protected data symbol.
32454         * configure: Regenerated.
32455         * elf/Makefile (modules-names): Add tst-protected1moda and
32456         tst-protected1modb if $(have-protected-data) is yes.
32457         (tests): Add tst-protected1a and tst-protected1b if
32458         $(have-protected-data) is yes.
32459         ($(objpfx)tst-protected1a): New.
32460         ($(objpfx)tst-protected1b): Likewise.
32461         (tst-protected1modb.so-no-z-defs): Likewise.
32462         * elf/tst-protected1a.c: New file.
32463         * elf/tst-protected1b.c: Likewise.
32464         * elf/tst-protected1mod.h: Likewise.
32465         * elf/tst-protected1moda.c: Likewise.
32466         * elf/tst-protected1modb.c: Likewise.
32468 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32470         [BZ #17711]
32471         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32472         indicates it is called from do_lookup_x on relocation against
32473         protected data, skip the data definion in the executable from
32474         copy reloc.
32475         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32476         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32477         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32478         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32479         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32480         otherwise to 0.
32481         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32482         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32483         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32484         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32485         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32486         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32488 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32490         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32491         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32493 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32495         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32496         THREAD_SETMEM_NC.
32497         * sysdeps/x86_64/nptl/tls.h: Ditto.
32499 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32501         * dlfcn/tststatic.c (main): Converted to ...
32502         (do_test): ... this.
32503         (TEST_FUNCTION): New macro.
32504         Include test-skeleton.c.
32506 2015-03-26  Alan Modra  <amodra@gmail.com>
32508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32509         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32510         zero for undefined weak.
32511         (elf_machine_plt_conflict): Similarly.
32513 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32515         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32516         atanh.
32517         * math/auto-libm-test-out: Regenerated.
32518         * sysdeps/i386/fpu/libm-test-ulps: Update.
32519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32521         * math/auto-libm-test-in: Add another test of asin.
32522         * math/auto-libm-test-out: Regenerated.
32523         * sysdeps/i386/fpu/libm-test-ulps: Update.
32524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32526         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32527         Remove macro.
32528         (LLL_EBX_REG): Likewise.
32529         (LLL_ENTER_KERNEL): Likewise.
32531         * math/auto-libm-test-in: Add more tests of asin.
32532         * math/auto-libm-test-out: Regenerated.
32533         * sysdeps/i386/fpu/libm-test-ulps: Update.
32534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32536         [BZ #18138]
32537         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32538         libc_do_syscall_args): New structure.
32539         (INTERNAL_SYSCALL_MAIN_0): New macro.
32540         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32541         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32542         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32543         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32544         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32545         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32546         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32547         Replace conditional definitions by conditional definitions of ....
32548         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32549         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32550         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32551         (libpthread-sysdep_routines): Add libc-do-syscall.
32552         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32553         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32554         to __NR_futex not 240.
32556 2015-03-25  Alan Modra  <amodra@gmail.com>
32558         * NEWS: Advertise TLS optimization.
32559         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32560         (DT_PPC_NUM): Increment.
32561         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32562         (CHECK_STATIC_TLS): Use here.
32563         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32564         TLS descriptors.
32565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32566         * sysdeps/powerpc/dl-tls.c: New file.
32567         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32568         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32569         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32570         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32575 2015-03-25  Alan Modra  <amodra@gmail.com>
32577         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32578         for overlapping .opd entries" to "support...".
32579         * sysdeps/powerpc/powerpc64/configure: Regenerate
32581 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32583         * math/auto-libm-test-in: Add more tests of acos.
32584         * math/auto-libm-test-out: Regenerated.
32585         * sysdeps/i386/fpu/libm-test-ulps: Update.
32586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32588         * math/auto-libm-test-in: Add more tests of expm1.
32589         * math/auto-libm-test-out: Regenerated.
32590         * sysdeps/i386/fpu/libm-test-ulps: Update.
32591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32593 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32595         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32596         * math/auto-libm-test-out: Regenerated.
32597         * sysdeps/i386/fpu/libm-test-ulps: Update.
32598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32600         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32603         * math/auto-libm-test-in: Add more tests of log2.
32604         * math/auto-libm-test-out: Regenerated.
32605         * sysdeps/i386/fpu/libm-test-ulps: Update.
32606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32608 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32610         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32611         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32612         _IO_IS_APPENDING bit in READ_WRITE instead.
32614 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32616         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32617         (__determine_cpumask_size): Replace extend_alloca with a
32618         variable-length array.  Do not treat res == 0 as an error.
32620 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32622         [BZ #18100]
32623         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32624         and integer overflow.
32625         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32626         (main): Add integer overflow tests.
32627         * manual/pattern.texi (Calling Wordexp): Document additional use
32628         for WRDE_SYNTAX.
32630 2015-03-23  Alan Modra  <amodra@gmail.com>
32632         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32633         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32634         and false branch of conditional.
32635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32636         Likewise.
32638 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32640         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32641         libc-modules.h
32642         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32643         unused declaration of _hurd_intr_rpc_msg_in_trap.
32644         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32645         defined instead of whether it is non-zero.
32646         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32647         input constraint instead of both input and output constraint.  Use ecx
32648         clobber instead of %ecx.
32649         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32650         mutex_unlock): Use a statement expression instead of an expression list.
32651         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32652         type to vm_size_t instead of vm_address_t.
32653         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32654         defined instead of whether it is non-zero.
32655         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32656         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32657         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32658         comparisons with mapaddr.
32659         * nscd/nscd-client.h: Include <time.h>.
32660         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32661         9th parameter to __vm_region instead of int.
32662         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32663         * scripts/check-local-headers.sh (exclude): Add device/,
32664         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32665         cthreads.h.
32667 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32669         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32670         to account for alignment padding.
32671         * sysdeps/arm/memmove.S: Likewise.
32673 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32675         * sysdeps/unix/sysv/linux/generic/README: New file.
32677 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32679         [BZ #18138]
32680         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32681         (futex_abstimed_wait)
32682         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32683         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32684         of lll_futex_timed_wait.
32686 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32688         [BZ #17542]
32689         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32691 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32693         [BZ #17090]
32694         [BZ #17620]
32695         [BZ #17621]
32696         [BZ #17628]
32697         * NEWS: Update.
32698         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32699         entries with Static TLS too.  Skip entries past the end of the
32700         allocated DTV, from Alan Modra.
32701         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32702         Static TLS DTV entry set up from...
32703         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32704         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32705         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32706         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32707         for Static TLS.
32708         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32709         that the slot we find is associated with the given map before
32710         using its generation count.
32711         * nptl_db/db_info.c: Include ldsodefs.h.
32712         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32713         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32714         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32715         (link_map::l_tls_offset): New struct field.
32716         (dtv_t::counter): Likewise.
32717         (rtld_global): New struct.
32718         (_rtld_global): New rtld variable.
32719         (dl_tls_dtv_slotinfo_list): New rtld global field.
32720         (dtv_slotinfo_list): New struct.
32721         (dtv_slotinfo): Likewise.
32722         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32723         (td_lookup): Rename to...
32724         (td_mod_lookup): ... this.  Use new mod parameter instead of
32725         LIBPTHREAD_SO.
32726         * nptl_db/td_thr_tlsbase.c: Include link.h.
32727         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32728         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32729         addresses even if the DTV is out of date or missing them.
32730         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32731         index zero-length arrays.
32732         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32733         (td_lookup): Make it a macro implemented in terms of...
32734         (td_mod_lookup): ... this declaration.
32735         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32736         (DB_MAIN_VARIABLE): Likewise.
32738 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32740         [BZ #18134]
32741         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32743 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32745         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32747 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32749         [BZ #18128]
32750         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32751         (atomic_add, atomic_increment_and_test)
32752         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32754 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32756         * stdlib/setenv.c (__add_to_environ):
32757         Dump core quickly if setenv (..., NULL, ...) is called.
32759 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32761         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32762         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32763         all the necessary asm magic in one place.
32764         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32765         using those.
32767 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32769         [BZ #14906]
32770         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32771         traced file mtime. Use consistent log message.
32772         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32773         (register_traced_file): Call install_watches. Always set mtime.
32774         (invalidate_cache): Iterate over all trace files. Call install_watches.
32775         (inotify_check_files): Don't inline. Handle watching parent
32776         directories and configuration file movement in and out.
32777         (handle_inotify_events): New function.
32778         (main_loop_poll): Call handle_inotify_events.
32779         (main_loop_epoll): Likewise.
32780         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32781         (struct traced_file): Use array of inotify fds. Add parent directory,
32782         and basename.
32783         (struct database_dyn): Remove unused file_mtime.
32784         (init_traced_file): New inline function.
32785         (define_traced_file): New macro.
32786         * nss/nss_db/db-init.c: Use define_traced_file.
32787         (_nss_db_init): Use init_traced_file.
32788         * nss/nss_files/files-init.c: Use define_traced_file.
32789         (_nss_files_init): Use init_traced_file.
32791 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32793         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32794         [_LIBC]: Do not include <stdlib.h>.
32795         [!_LIBC] (abort): Remove declaration.
32796         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32797         _FP_STATIC_ASSERT instead of conditionally calling abort.
32798         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32799         (_FP_EXTEND_CNAN): Likewise.
32800         (FP_TRUNC): Likewise.
32801         (__FP_CLZ): Likewise.
32802         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32804 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32806         * manual/string.texi (XPG basename): Fix prototype.
32808 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32810         [BZ #18080]
32811         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32812         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32813         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32814         (__setcontext): Likewise.
32815         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32816         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32817         Call rt_sigprocmask syscall one time to set new signal mask
32818         and retrieve the current signal mask instead of two calls.
32819         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32820         (__swapcontext): Likewise.
32821         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32822         * stdlib/tst-setcontext2.c: New file.
32824 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32826         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32828 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32830         [BZ #18093]
32831         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32832         the wrong size.
32834 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32836         [BZ #18043]
32837         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32839 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32841         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32842         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32843         Remove define.
32844         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32845         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32846         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32847         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32848         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32849         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32850         define.
32851         * nptl_db/td_symbol_list.c (td_lookup): Remove
32852         HAVE_ASM_GLOBAL_DOT_NAME code.
32853         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32854         HAVE_ASM_GLOBAL_DOT_NAME check.
32855         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32856         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32857         (DOT_LABEL): Remove define.
32858         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32859         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32860         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32861         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32862         (__TLS_GET_ADDR): Likewise.
32863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32864         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32866 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32868         [BZ #18111]
32869         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32870         (_FPU_SETCW): Initialize cw from fpsr before storing.
32871         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32872         (fesetexceptflag): Rewrite using fpu_control.h.
32873         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32875 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32877         [BZ #18110]
32878         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32879         asms.
32880         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32882 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32884         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32885         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32886         abort.
32887         (_FP_FMA): Likewise.
32888         (_FP_DIV): Likewise.
32890 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32892         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32893         with 0 in that case.
32894         * Makefile (summarize-tests): New canned sequence, factored out of
32895         commands for targets tests and xtests.  Display summary lines that
32896         don't start with PASS: or XFAIL: rather than ones that do start with
32897         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32898         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32899         do start with ERROR: or FAIL:.
32900         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32901         (except for [$(build-shared) = yes]).
32902         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32903         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32904         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32905         * nptl/Makefile: Revert 2015-03-04 changes.
32906         [$(CXX) empty] (tests-unsupported): New variable.
32907         * debug/Makefile: Likewise.
32909         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32910         gnulib file.  Replace __attribute with __attribute__ throughout.
32912 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32914         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32916 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32918         [BZ #18104]
32919         * math/auto-libm-test-in: Add another test of pow.
32920         * math/auto-libm-test-out: Regenerated.
32922 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32924         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32925         $(config-cflags-nofma).
32927 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32929         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32930         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32931         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32932         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32933         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32934         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32935         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32936         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32937         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32938         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32939         Add comment on closing #endif.
32941 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32943         * posix/wordexp.c (CHAR_IN_SET): New macro.
32944         (parse_param): Use it.
32946 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32948         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32950 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32952         [BZ #18043]
32953         * posix/wordexp.c (parse_param): Fix buffer overflow.
32954         * posix/wordexp-test.c (test_case): Add test case.
32956 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32958         [BZ #18042]
32959         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32960         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32962 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32964         [BZ #18043]
32965         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32966         (do_bz18043): Delete.
32967         (at_page_end): New.
32968         (testit): Refactor to have words at the edge of unreadable page.
32970 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32972         [BZ #16734]
32973         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32974         Cleanup read-only streams as well.
32975         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32977 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32979         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32980         <bits/libc-lockP.h>
32982 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32984         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32985         on [__KERNEL__].
32986         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32987         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32988         * soft-fp/op-common.h (_FP_DECL): Likewise.
32990 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32992         * elf/ifuncdep2.c (global): Replace
32993         __attribute__((visibility("protected"))) with
32994         asm (".protected global").
32995         * elf/ifuncmod1.c (global): Likewise.
32996         * elf/ifuncmod5.c (global): Likewise.
32998 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33000         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33001         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33003 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33005         * manual/install.texi (Configuring and compiling):
33006         Document test-wrapper-env-only.
33007         * INSTALL: Regenerated.
33009 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33011         [BZ #18043]
33012         * posix/wordexp.c (parse_param): Fix buffer overflow.
33013         * posix/wordexp-test.c (do_bz18043): Add test case.
33015 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33017         * time/tst-strptime2.c (do_test): Ensure failing tests are
33018         reported correctly.
33019         * time/tst-strptime3.c (do_test): Likewise.
33021 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33023         Fix aio_error thread-safety.
33024         * sysdeps/pthread/aio_error.c: New file
33025         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33026         synchronization.
33028 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33030         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33031         (group_number, vfprintf): Use it.
33032         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33033         (JUMP, REF): Use it.
33034         (WORK_BUFFER_SIZE): New enum constant.
33035         (process_arg, vfprintf): Use it.
33037 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33039         * manual/errno.texi (Error Messages): Complete example function
33040         by adding missing #define.
33041         (program_invocation_name): Add statement indicating GNU
33042         extension and reference which header file declares the variable.
33043         (program_invocation_short_name): Likewise.
33045 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33047         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33048         compatibility note.
33050 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33052         * Makeconfig (test-wrapper-env-only): New variable.
33053         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33054         then use that with $(test-wrapper-env-only) rather than using
33055         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33057 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33059         [BZ #18082]
33060         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33061         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33062         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33063         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33064         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33065         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33066         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33067         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33068         Likewise.
33069         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33070         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33071         Likewise.
33072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33073         Likewise.
33074         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33075         Likewise.
33076         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33077         Likewise.
33078         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33079         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33080         Likewise.
33081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33082         Likewise.
33083         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33084         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33086 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33088         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33089         (ETH_ALEN): New macro.
33090         (struct ether_addr): Use it for length of ether_addr_octet.
33092         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33093         (setdb): Don't call __nss_configure_lookup for "rpc".
33094         (do_test): Don't call test_rpc.
33095         (output_rpcent, test_rpc): Functions moved ...
33096         * sunrpc/test-rpcent.c: ... to this new file.
33097         * sunrpc/Makefile (tests): Add it.
33099         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33100         __xpg_sigpause.
33101         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33102         * nptl/tst-signal6.c: Likewise.
33103         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33104         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33106         * configure.ac (libc_cv_cxx_link_ok): New check.
33107         Reset CXX to empty if it fails to link.
33108         * configure: Regenerated.
33109         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33110         bug-atexit3-lib only if $(CXX) is nonempty.
33111         * nptl/Makefile (tests): Likewise for tst-cancel24.
33112         (tests, tests-static): Likewise for tst-cancel24-static.
33113         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33114         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33115         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33116         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33118 2015-03-04  Andreas Schwab  <schwab@suse.de>
33120         [BZ #17631]
33121         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33122         for non-GCC compilers.
33123         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33124         Likewise.
33126 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33128         [BZ #17776]
33129         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33130         integer before bitwise and assembly operations.
33131         (feclearexcept): Likewise.
33132         * math/test-fenvinline.c: New file.
33133         * math/Makefile: Add test-fenvinline test.
33135 2015-03-03  Alan Modra  <amodra@gmail.com>
33137         [BZ #16512]
33138         * scripts/localplt.awk: Strip off symbol version.
33139         * NEWS: Mention bug fix.
33141 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33143         * sysdeps/pthread/timer_routines.c
33144         (timer_free_list, thread_free_list, thread_active_list): Make static.
33146 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33148         [BZ #17779]
33149         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33150         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33151         Undefine.
33152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33153         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33154         Likewise.
33155         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33156         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33157         Likewise.
33159 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33161         [BZ #18036]
33162         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33163         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33165 2015-03-02  Andreas Schwab  <schwab@suse.de>
33167         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33168         variable name.
33170 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33172         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33173         Return error status.
33175 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33177         [BZ #15969]
33178         * locale/findlocale.c (_nl_find_locale): Introduce const
33179         version of loc_name and drop unsafe type casts.
33181 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33183         * dlfcn/tststatic2.c (main): Converted to ...
33184         (do_test): ... this.
33185         (TEST_FUNCTION): New macro.
33186         Include test-skeleton.c.
33188 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33190         [BZ #17711]
33191         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33192         (tests-pie): Add vismain.
33193         (CFLAGS-vismain.c): New.
33194         * elf/vismain.c: Add comments for PIE requirement.
33196 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33198         [BZ #18046]
33199         [BZ #18047]
33200         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33201         0x1p-56L as threshold for just returning the argument.
33202         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33203         0x1p-32L as threshold for just returning the argument.
33204         * math/auto-libm-test-in: Add more tests of atanh.
33205         * math/auto-libm-test-out: Regenerated.
33206         * sysdeps/i386/fpu/libm-test-ulps: Update.
33207         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33209 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33211         * string/bcopy.c (bcopy): Call memmove for performance.
33213 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33215         * string/bzero.c (__bzero): Call memset for performance.
33217 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33219         [BZ #18068]
33220         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33221         to 00100000.
33223 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33225         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33227 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33229         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33230         (__kernel_standard): Use CSTR macro when setting exc.name.
33231         * sysdeps/ieee754/Makefile [$(subdir) = math]
33232         (CFLAGS-k_standard.c): Remove variable.
33234         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33235         setting p and q from "else if" to "else".
33236         (qzero): Likewise.
33237         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33238         (qone): Likewise.
33239         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33240         (qzerof): Likewise.
33241         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33242         (qonef): Likewise.
33243         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33244         (qzero): Likewise.
33245         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33246         (qone): Likewise.
33248         [BZ #18038]
33249         [BZ #18039]
33250         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33251         return pi/2 for arguments below 0x1p-113L.
33252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33253         return pi/2 for arguments below 0x1p-106L.
33254         * math/auto-libm-test-in: Add more tests of acos.
33255         * math/auto-libm-test-out: Regenerated.
33257         [BZ #16351]
33258         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33259         (MO): New macro.
33260         (__ieee754_asin): Force underflow exception for results with small
33261         absolute value.
33262         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33263         (MO): New macro.
33264         (__ieee754_asinf): Force underflow exception for results with
33265         small absolute value.
33266         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33267         (__ieee754_asin): Force underflow exception for results with small
33268         absolute value.
33269         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33270         (__ieee754_asinf): Force underflow exception for results with
33271         small absolute value.
33272         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33273         (__ieee754_asinl): Force underflow exception for results with
33274         small absolute value.
33275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33276         (__ieee754_asinl): Force underflow exception for results with
33277         small absolute value.
33278         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33279         (__ieee754_asinl): Force underflow exception for results with
33280         small absolute value.
33281         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33282         Include <math.h>.
33283         * math/auto-libm-test-in: Do not mark underflow exceptions as
33284         possibly missing for bug 16351.
33285         * math/auto-libm-test-out: Regenerated.
33287         [BZ #18030]
33288         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33289         of power of 2 down when low part has opposite sign.
33290         * math/libm-test.inc (logb_test_data): Add more tests.
33292 2015-02-26  Andreas Schwab  <schwab@suse.de>
33294         [BZ #18032]
33295         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33296         over collating symbol inside a bracket expression.  Minor cleanup.
33297         * posix/tst-fnmatch3.c (do_test): Add test case.
33299 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33301         [BZ #18029]
33302         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33303         Adjust exponent of power of 2 down when low part has opposite
33304         sign.
33305         * math/libm-test.inc (ilogb_test_data): Add more tests.
33307 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33309         [BZ #15969]
33310         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33311         the previous change.
33313         [BZ #15969]
33314         * locale/findlocale.c (_nl_find_locale): Retry archive search
33315         after alias expansion.
33317 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33319         * iconv/tst-iconv3.c (main): Converted to ...
33320         (do_test): ... this.
33321         (TEST_FUNCTION): New macro.
33322         Include test-skeleton.c.
33324         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33325         (convert): Make function static.
33326         (test_unalign): Likewise.  Add const to argument pointee types.
33327         (main): Replace with static function do_test.
33328         Print "Succeeded." only if RET is zero.
33329         (TEST_FUNCTION): New macro.
33330         Include test-skeleton.c.
33332         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33333         returns a null pointer.
33335 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33338         to __memcpy_ppc only for static builds.
33340 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33342         [BZ #18020]
33343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33344         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33345         * math/auto-libm-test-in: Add more tests of asinh.
33346         * math/auto-libm-test-out: Regenerated.
33347         * sysdeps/i386/fpu/libm-test-ulps: Update.
33348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33350 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33352         [BZ #15850]
33353         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33354         and ip6_mtuinfo definitions here.
33355         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33356         in this define too.  Update comment.
33358 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33360         * elf/sprof.c (load_shobj): Tweak error message to match others.
33362 2015-02-24  Kevin Easton  <kevin@guarana.org>
33364         [BZ #16145] (partial fix)
33365         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33366         to reduce lock contention.
33368 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33370         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33371         (struct timex): Update time comment.
33372         (ADJ_SETOFFSET): Define.
33374 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33376         [BZ #18019]
33377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33378         2**56 not 2**28 as threshold for log (2x) formula.
33379         * math/auto-libm-test-in: Add more tests of acosh.
33380         * math/auto-libm-test-out: Regenerated.
33381         * sysdeps/i386/fpu/libm-test-ulps: Update.
33382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33384 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33386         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33387         parenthesis around the buf assignment.
33388         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33390 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33392         [BZ #16783]
33393         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33394         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33395         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33396         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33397         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33398         * math/libm-test.inc (scalb_test_data): Add more tests.
33400 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33402         [BZ #17916]
33403         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33404         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33406 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33408         [BZ #17523]
33409         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33410         * io/bits/fcntl2.h (open): Use it.
33411         (openat): Likewise.
33412         * io/open.c (__libc_open): Likewise.
33413         * io/open64.c (__libc_open64): Likewise.
33414         * io/open64_2.c (__open64_2): Likewise.
33415         * io/open_2.c (__open_2): Likewise.
33416         * io/openat.c (__openat): Likewise.
33417         * io/openat64.c (__openat64): Likewise.
33418         * io/openat64_2.c (__openat64_2): Likewise.
33419         * io/openat_2.c (__openat_2): Likewise.
33420         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33421         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33422         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33423         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33424         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33425         (__open_nocancel): Likewise.
33426         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33427         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33428         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33430 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33432         [BZ #14841]
33433         * resolv/gethnamaddr.c (getanswer): Skip logging if
33434         RES_USE_DNSSEC is set.
33435         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33437 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33439         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33441 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33443         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33444         201304L, for Unicode 7.
33446 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33448         [BZ #17836]
33449         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33450         shared library.  Add gmon-start.os otherwise.
33451         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33452         $(objpfx)gmon-start.os if builing shared library.
33453         ($(objpfx)g$(static-start-installed-name)): Likewise.
33455 2015-02-23  Andreas Schwab  <schwab@suse.de>
33457         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33459 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33461         [BZ #17269]
33462         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33463         (enlarge_userbuf): Likewise.
33465 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33467         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33468         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33469         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33470         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33472 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33474         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33475         expression inside statement expression.
33477 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33479         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33480         <sysdeps/nptl/lowlevellock.h> and remove macros and
33481         functions that are now defined there.
33482         (SYS_futex): Remove.
33483         (lll_compare_and_swap): Remove.
33484         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33486 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33488         [BZ #17999]
33489         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33490         instead of scandirat.
33491         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33492         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33493         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33494         __scandirat.
33495         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33496         (__scandirat): Declare.  Use libc_hidden_proto.
33497         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33498         Remove variable.
33499         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33501 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33503         [BZ #15319]
33504         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33505         (MO): New macro.
33506         (__ieee754_atan2): For results with small absolute value, force
33507         underflow exception and remove excess range and precision from
33508         return value.
33509         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33510         (MO): New macro.
33511         (__ieee754_atan2f): For results with small absolute value, force
33512         underflow exception and remove excess range and precision from
33513         return value.
33514         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33515         (MO): New macro.
33516         (__atan): For results with small absolute value, force underflow
33517         exception and remove excess range and precision from return value.
33518         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33519         (MO): New macro.
33520         (__atanf): For results with small absolute value, force underflow
33521         exception and remove excess range and precision from return value.
33522         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33523         <math.h>.
33524         (__ieee754_atan2): Force underflow exception for results with
33525         small absolute value.
33526         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33527         <math_private.h>.
33528         (atan): Force underflow exception for results with small absolute
33529         value.
33530         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33531         (__atanf): Force underflow exception for results with small
33532         absolute value.
33533         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33534         <math.h>.
33535         (__atanl): Force underflow exception for results with small
33536         absolute value.
33537         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33538         (__atanl): Force underflow exception for results with small
33539         absolute value.
33540         * sysdeps/x86/fpu/bits/mathinline.h
33541         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33542         (__ieee754_atan2): Only define inline for long double.
33543         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33544         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33545         * math/auto-libm-test-in: Do not mark underflow exceptions as
33546         possibly missing for bug 15319.  Add more tests of atan2.
33547         * math/auto-libm-test-out: Regenerated.
33548         * math/libm-test.inc (casin_test_data): Do not mark underflow
33549         exceptions as possibly missing for bug 15319.
33550         (casinh_test_data): Likewise.
33551         * sysdeps/i386/fpu/libm-test-ulps: Update.
33553 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33555         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33556         * sysdeps/mips/bits/endian.h: Fix comments.
33558 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33560         [BZ #17996]
33561         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33562         (hdestroy_r): Likewise.
33563         (hsearch_r): Likewise.
33564         (__hcreate_r): Declare and use libc_hidden_proto.
33565         (__hdestroy_r): Likewise.
33566         (__hsearch_r): Likewise.
33567         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33568         (hcreate): Call __hcreate_r instead of hcreate_r.
33569         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33570         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33571         as weak alias of __hcreate_r.
33572         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33573         __hdestroy_r.
33574         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33575         __hsearch_r.
33576         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33577         Remove variable.
33578         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33579         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33580         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33581         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33583 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33585         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33586         arena_lock into a single arena_get.
33588 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33590         * dl-reloc.c: Inlucde libc-internal.h.
33591         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33592         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33593         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33594         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33595         (grow_heap): Likewise.
33596         * malloc/malloc.c: Include libc-internal.h.
33597         (do_check_malloc): Call powerof2.
33598         (sysmalloc): Use pagesize. Call ALIGN_UP.
33599         (systrim): Use pagesize.
33600         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33601         (__libc_valloc): Use pagesize.
33602         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33604 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33606         [BZ #17991]
33607         * include/sys/resource.h (__getrlimit64): Declare.  Use
33608         libc_hidden_proto.
33609         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33610         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33611         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33612         getrlimit64.
33613         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33614         __getrlimit64.
33615         [!getrlimit64] (getrlimit64): Define as weak alias of
33616         __getrlimit64.  Use libc_hidden_weak.
33617         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33618         using __getrlimit64 not __new_getrlimit64.
33619         (__GI_getrlimit64): Likewise.
33620         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33621         Likewise.
33622         (__GI_getrlimit64): Likewise.
33623         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33625         (getrlimit): Add __getrlimit64 alias.
33626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33627         Likewise.
33628         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33629         Remove variable.
33630         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33631         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33633 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33635         * libio/fileops.c: Add missing sys/mman.h
33636         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33638 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33640         * manual/math.texi (Errors in Math Functions): Clarify goals
33641         regarding inexact and underflow exceptions.
33643 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33645         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33646         * sysdeps/mips/memset.S: Ditto.
33648 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33650         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33652 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33654         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33655         (__v1longjmp): Remove versioned symbol.
33656         (__v1siglongjmp): Remove alias and versioned symbol.
33657         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33658         (__v2siglongjmp): Likewise.
33660 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33662         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33664 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33666         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33668 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33670         [BZ #17987]
33671         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33672         zero result does not depend on the sign resulting from
33673         subtraction.
33674         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33675         Likewise.
33676         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33677         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33679         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33680         * math/libm-test.inc (remquo_test_data): Add more tests.
33682 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33684         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33685         Problem reported by J William Piggott.
33687 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33689         [BZ #17978]
33690         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33691         products 4 * y and 2 * y where those would overflow.
33692         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33693         Likewise.
33694         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33695         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33696         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33697         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33698         * math/libm-test.inc (remquo_test_data): Add more tests.
33700         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33702         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33703         [defined _COMPILING_NEWLIB].
33704         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33705         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33707         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33708         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33710 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33712         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33713         acquired.
33715 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33717         [BZ #17792]
33718         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33719         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33720         HOST_STACK_END_ADDR): Likewise.
33722 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33724         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33725         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33726         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33728 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33730         * sysdeps/generic/c++-types.data: New file.
33731         * sysdeps/generic/ld.abilist: New file.
33732         * sysdeps/generic/libBrokenLocale.abilist: New file.
33733         * sysdeps/generic/libanl.abilist: New file.
33734         * sysdeps/generic/libc.abilist: New file.
33735         * sysdeps/generic/libcrypt.abilist: New file.
33736         * sysdeps/generic/libdl.abilist: New file.
33737         * sysdeps/generic/libm.abilist: New file.
33738         * sysdeps/generic/libpthread.abilist: New file.
33739         * sysdeps/generic/libresolv.abilist: New file.
33740         * sysdeps/generic/librt.abilist: New file.
33742 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33744         [BZ #17569]
33745         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33746         Compute absolute value of x as modified by fmod, not original
33747         value of x.
33748         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33749         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33750         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33751         RUN_TEST_ffI_f1_mod8.
33752         (remquo_test_data): Add more tests.
33754 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33756         * sysdeps/init_array/pt-crti.S: New file.
33758 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33760         [BZ #17967]
33761         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33762         __builtin_fmaf instead of relying on contraction of a * b + c.
33764 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33766         [BZ #17969]
33767         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33768         node.
33770 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33772         [BZ #17964]
33773         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33774         __builtin_fma instead of relying on contraction of a * b + c.
33776 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33778         * Makeconfig (ASFLAGS): Add -Werror=undef.
33779         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33780         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33781         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33783         * Makeconfig (after-link): New variable.
33784         (+link-pie, +link-pie-tests): Use it.
33785         (+link-static, +link-static-tests): Likewise.
33786         (+link, +link-tests): Likewise.
33787         * Makerules (build-module, build-module-asneeded): Likewise.
33788         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33789         Likewise.
33790         * elf/Makefile ($(objpfx)ld.so): Likewise.
33792 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33794         [BZ #17965]
33795         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33796         both struct timeval and struct timespec.
33798 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33800         [BZ #16560]
33801         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33802         and redefine.
33803         (__ieee754_exp2l): Do not multiply small fractional parts by
33804         M_LN2l.
33805         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33806         small argument.
33807         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33808         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33809         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33810         * math/auto-libm-test-in: Add more tests of exp2.
33811         * math/auto-libm-test-out: Regenerated.
33813 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33815         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33816         unaligned path.
33818 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33820         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33821         little endian.
33823 2015-02-12  Andreas Schwab  <schwab@suse.de>
33825         [BZ #15790]
33826         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33827         Filter out elision flags from value returned in kind.
33828         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33829         * nptl/tst-pthread-mutexattr.c: New file.
33831 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33833         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33834         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33835         into gnu-gnu, and update comment to refer to abi-tags.
33837 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33839         [BZ #15467]
33840         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33841         (__sincos): Set errno to EDOM for infinite argument.
33842         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33843         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33844         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33845         (__sincosl): Set errno to EDOM for infinite argument.
33846         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33847         (__sincosl): Set errno to EDOM for infinite argument.
33848         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33849         (__sincosl): Set errno to EDOM for infinite argument.
33850         * math/libm-test.inc (sincos_test_data): Test errno setting.
33852 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33854         * string/strxfrm_l.c: Remove #define STRCMP.
33855         * string/strcoll_l.c: Remove #define STRLEN.
33856         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33857         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33859 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33861         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33862         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33863         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33864         * sysdeps/mips/mips64/Makefile: ... here.
33865         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33866         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33867         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33868         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33869         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33870         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33871         * sysdeps/mips/mips64/n64/Implies: Likewise.
33873 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33875         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33876         <sys/time.h>, <string.h>, and <errno.h>.
33877         (dest_offset, dest_address, value, zero): Remove unused variables.
33878         (ldouble): Remove typedef.
33879         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33880         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33881         1).  Fix code style.
33882         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33883         (check): Function removed.
33884         (CHECK): New macro.
33885         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33886         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33887         Don't call set_sigaction_FP and remove_sigaction_FP here.
33888         (ldouble_test): Just use 'long double' as macro argument, no need for
33889         the 'ldouble' typedef.
33890         (do_test): Set up SIGFPE handler at start, using plain signal rather
33891         than sigaction.  Fix code style.
33893 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33895         [BZ #17949]
33896         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33897         jump label.
33899 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33901         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33902         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33904         * sysdeps/powerpc/configure.ac: Remove file.
33905         * sysdeps/powerpc/configure: Likewise.
33907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33908         [sysdep_routines]: Remove wordcopy-power6 object.
33909         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33910         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33912         (__memmove_ppc32): Likewise.
33913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33914         file.
33915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33917         Remove preprocessor.
33919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33920         [sysdep_routines]: Remove wide chars objects.
33921         [wcsmbs]: New rule for wide char objects.
33923         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33924         Remove wordcopy-power6 obejct.
33925         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33926         Use local call for wordcopy and memcpy symbols.
33927         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33929         implementation for loader.
33930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33932         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33933         Remove wordcopy-power7 object.
33934         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33936         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33937         (_wordcopy_fwd_dest_aligned): Likewise.
33938         (_wordcopy_bwd_aligned): Likewise.
33939         (_wordcopy_bwd_dest_aligned): Likewise.
33941         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33942         Rewrite to call __memmove_ppc instead of include default
33943         implementation.
33945         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33946         Remove wide chars objects.
33947         [wcsmbs]: New rule for wide char objects.
33949 2015-02-09  Andreas Schwab  <schwab@suse.de>
33951         [BZ #17912]
33952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33953         in terms of __O_DIRECTORY.
33955 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33957         * time/getdate.c: Include <stdbool.h>.
33958         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33959         call PTR_MANGLE.
33960         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33961         PTR_DEMANGLE.
33963 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33965         Add ersatz _Static_assert on older C hosts
33966         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33967         pre-C11 C platform that is not known to support _Static_assert.
33969 2015-02-07  Richard Braun  <rbraun@sceen.net>
33971         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33972         sigstate.
33973         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33975 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33977         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33978         priority against unexistent AIO_PRIO_DELTA_MAX.
33979         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33980         instead of int.
33981         * misc/fchflags.c (fchflags): Likewise.
33982         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33983         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33984         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33985         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33986         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33987         Declare macros.
33988         [__USE_MISC] (chflags, fchflags): Declare functions.
33989         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33990         EINVAL when nfds is greater than FD_SETSIZE.
33991         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33992         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33993         45.
33994         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33995         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33996         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33997         MACH_RCV_TIMED_OUT.
33998         * hurd/hurd/signal.h (_hurd_self_sigstate,
33999         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34000         Explicit casts from void *.
34001         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34002         * abi-tags: Rename gnu-gnu os into gnu.
34004         [BZ #4719]
34005         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34006         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34007         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34008         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34009         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34010         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34012         [BZ #17944]
34013         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34014         duplicates ADDR->sun_path with sockaddr LEN limitation.
34015         * sysdeps/mach/hurd/connect.c: Include <string.h>
34016         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34017         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34018         * sysdeps/mach/hurd/sendto.c: Likewise.
34019         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34020         implementing it by hand.
34022 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34024         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34025         Use sfi_breg on ldr.
34026         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34027         Likewise.
34029         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34030         it's defined.
34031         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34032         Test SIGSETXID only if it's defined.
34034         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34036         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34037         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34039         * nptl/tst-align2.c: Moved ...
34040         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34041         * nptl/Makefile (tests): Remove tst-align2.
34042         * sysdeps/unix/sysv/linux/Makefile
34043         [$(subdir) = nptl] (tests): Add tst-align-clone.
34044         * nptl/tst-getpid1.c: Moved ...
34045         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34046         * nptl/tst-getpid2.c: Moved ...
34047         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34048         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34049         * sysdeps/unix/sysv/linux/Makefile
34050         [$(subdir) = nptl] (tests): ... here.
34051         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34052         * sysdeps/unix/sysv/linux/Makefile
34053         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34055         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34056         Drop trailing \n from perror argument.  Use return rather than exit.
34058         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34059         on [SA_SIGINFO].
34060         * nptl/tst-cancel21.c (do_test): Likewise.
34061         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34062         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34063         [!SA_SIGINFO]: Make it a stub test.
34065         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34066         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34068         * posix/tst-getlogin.c: Move to ...
34069         * login/tst-getlogin.c: ... here.
34070         * posix/Makefile (tests): Move tst-getlogin to ...
34071         * login/Makefile (tests): ... here.
34073         * libio/tst-atime.c (do_test): Move local variables SV and E
34074         inside [ST_NOATIME] conditional.
34076         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34078         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34080         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34081         (wait_code): New function replaces macro.
34082         Call nanosleep rather than syscall.
34084         * nptl/pt-system.c: Rewritten.  Put everything under
34085         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34086         Use IFUNC to redirect when possible.
34088         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34089         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34090         Use IFUNC to redirect when possible.
34092         * nptl/pt-fork.c: Rewritten.  Put everything under
34093         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34094         Use IFUNC to redirect when possible.
34095         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34097         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34098         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34099         unconditionally nowadays.  This included the only reference to
34100         __vdso_clock_gettime that appears outside libc proper.
34101         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34102         Remove version set (containing only __vdso_clock_gettime).
34103         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34104         Add attribute_hidden.
34105         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34106         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34107         libc_hidden_data_def.
34108         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34109         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34111         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34112         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34113         setrpcent, and getrpcport to ...
34114         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34115         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34116         getrpcbynumber_r, and getrpcent_r to ...
34117         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34118         * inet/getrpcbyname.c: Moved ...
34119         * sunrpc/getrpcbyname.c: ... here.
34120         * inet/getrpcbyname_r.c: Moved ...
34121         * sunrpc/getrpcbyname_r.c: ... here.
34122         * inet/getrpcbynumber.c: Moved ...
34123         * sunrpc/getrpcbynumber.c: ... here.
34124         * inet/getrpcbynumber_r.c: Moved ...
34125         * sunrpc/getrpcbynumber_r.c: ... here.
34126         * inet/getrpcent.c: Moved ...
34127         * sunrpc/getrpcent.c: ... here.
34128         * inet/getrpcent_r.c: Moved ...
34129         * sunrpc/getrpcent_r.c: ... here.
34130         * inet/Makefile (routines): Move those to ...
34131         * sunrpc/Makefile (routines): ... here.
34132         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34133         the $(subdirs) list.
34134         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34135         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34136         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34137         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34139         * elf/Makefile (routines): Include $(all-dl-routines), not just
34140         $(dl-routines).
34141         (rtld-routines): Likewise.  Use = rather than :=.
34142         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34143         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34144         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34145         * sysdeps/arm/Makefile: Likewise.
34146         * sysdeps/i386/Makefile: Likewise.
34147         * sysdeps/x86_64/Makefile: Likewise.
34148         * sysdeps/hppa/Makefile [$(subdir) = elf]
34149         (sysdep_routines, sysdep-rtld-routines): Don't add
34150         $(sysdep-dl-routines) to these.
34151         * sysdeps/ia64/Makefile: Likewise.
34152         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34153         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34154         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34155         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34156         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34157         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34158         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34159         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34160         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34161         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34162         these; sysdep-dl-routines alone is enough.
34164 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34166         [BZ #17932]
34167         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34168         where multiplication results in zero and third argument is finite
34169         and nonzero.
34170         * math/auto-libm-test-in: Add more tests of fma.
34171         * math/auto-libm-test-out: Regenerated.
34173         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34174         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34175         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34176         (_FP_CMP_EQ): Likewise.
34177         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34179         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34180         extra argument CHECK_NAN.  Redefine as wrapper around
34181         _FP_EXTEND_CNAN.
34183 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34185         * version.h (RELEASE): Set to "stable".
34186         (VERSION): Set to "2.21"
34187         * include/features.h (__GLIBC_MINOR__): Set to 21.
34189         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34191 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34192             Paul Eggert  <eggert@cs.ucla.edu>
34194         [BZ #16618]
34195         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34196         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34197         size in bytes. Store needed elements in wpmax. Use needed size
34198         in bytes for extend_alloca.
34200 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34202         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34203         binutls 2.25, and texinfo 5.2.
34204         * INSTALL: Regenerate.
34205         * sysdeps/nios2/configure: Regenerate.
34206         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34207         * manual/contrib.texi: Update.
34208         * po/be.po: Update.
34209         * po/bg.po: Update.
34210         * po/ca.po: Update.
34211         * po/cs.po: Update.
34212         * po/da.po: Update.
34213         * po/de.po: Update.
34214         * po/el.po: Update.
34215         * po/eo.po: Update.
34216         * po/es.po: Update.
34217         * po/fi.po: Update.
34218         * po/fr.po: Update.
34219         * po/gl.po: Update.
34220         * po/hr.po: Update.
34221         * po/hu.po: Update.
34222         * po/ia.po: Update.
34223         * po/id.po: Update.
34224         * po/it.po: Update.
34225         * po/ja.po: Update.
34226         * po/ko.po: Update.
34227         * po/lt.po: Update.
34228         * po/nb.po: Update.
34229         * po/nl.po: Update.
34230         * po/pl.po: Update.
34231         * po/pt_BR.po: Update.
34232         * po/ru.po: Update.
34233         * po/rw.po: Update.
34234         * po/sk.po: Update.
34235         * po/sl.po: Update.
34236         * po/sv.po: Update.
34237         * po/tr.po: Update.
34238         * po/uk.po: Update.
34239         * po/vi.po: Update.
34240         * po/zh_CN.po: Update.
34241         * po/zh_TW.po: Update.
34243         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34244         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34245         * sysdeps/hppa/dl-irel.h: Remove #warning.
34246         * sysdeps/hppa/entry.h: Provide prototype for
34247         __canonicalize_funcptr_for_compare and cast argument.
34248         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34249         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34250         * sysdeps/hppa/sotruss-lib.c: New file.
34251         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34252         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34253         (atomic_compare_and_exchange_bool_acq): Likewise.
34254         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34255         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34257         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34258         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34259         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34261 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34263         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34264         called function in non-PIC case.
34266 2015-01-31  David S. Miller  <davem@davemloft.net>
34268         * sysdeps/sparc/sparc32/bits/atomic.h
34269         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34270         unlock not after it.
34271         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34272         volatile register usage warnings from the compiler.
34274         * sysdeps/sparc/nptl/sem_init.c: Delete.
34275         * sysdeps/sparc/nptl/sem_post.c: Delete.
34276         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34277         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34278         * sysdeps/sparc/sparc32/sem_init.c: New file.
34279         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34280         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34281         padding explicitly initialized.
34282         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34283         padding for in-semaphore spinlock.
34284         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34285         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34286         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34287         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34288         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34289         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34290         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34291         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34292         version.
34293         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34294         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34296 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34298         [BZ #17801]
34299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34300         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34301         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34302         New.
34303         (index_AVX_Fast_Unaligned_Load): Likewise.
34304         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34305         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34306         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34307         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34308         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34309         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34310         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34311         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34312         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34314 2015-01-29  Andreas Schwab  <schwab@suse.de>
34316         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34318 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34320         [BZ #17892]
34321         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34323 2015-01-28  Martin Sebor  <msebor@redhat.com>
34325         * math/README.libm-test: Clarify. Add "How to read the test output."
34327 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34329         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34330         Define to 0.
34332 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34334         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34335         (__HAVE_64B_ATOMICS): Define to 0.
34337 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34339         [BZ #17885]
34340         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34341         value to set as new flag.
34343         [BZ #16576]
34344         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34345         and use _ARCH_PPCSQ instead.
34346         (__ieee754_sqrt): Likewise.
34347         (__ieee754_sqrtf): Likewise.
34348         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34349         _ARCH_PPCSQ is defined.
34350         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34351         fsqrt instruction.
34352         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34353         _ARCH_PPCSQ is defined.
34354         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34355         fsqrts instruction.
34356         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34358 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34360         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34361         bug (GCC BZ #64739).
34363 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34365         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34366         Mark _retval as used.
34367         (lll_futex_wake_unlock): Likewise.
34368         (lll_futex_timed_wait_requeue_pi): Likewise.
34370         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34371         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34372         register variables.
34374         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34375         libm_hidden_def.
34377         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34378         (__bswap_64): Mark as __always_inline.
34380 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34382         [BZ #15378]
34383         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34384         when none of the search directories exist.
34386 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34388         [BZ #17869]
34389         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34390         power8 in .machine directive.
34392         [BZ #17868]
34393         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34394         set dependency from opd value.
34396 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34399         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34400         architecture.
34402 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34404         [BZ #17870]
34405         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34406         with uint64_t.
34407         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34408         (uint64_t) 1.
34409         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34410         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34411         Replace 1UL with (uint64_t) 1.
34412         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34413         int with uint64_t.
34415 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34417         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34418         (if_freenameindex): Likewise.
34420         * resource/getrlimit64.c: Add missing libc_hidden_def.
34422 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34424         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34425         __label__.
34426         (_FP_FMA): Likewise.
34427         (_FP_TO_INT_ROUND): Likewise.
34428         (_FP_FROM_INT): Likewise.
34430 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34432         [BZ #16418]
34433         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34434         Make code racy and cancel safe.
34436 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34438         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34439         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34440         attribution.
34442         * pwd/tst-getpw.c: Rewrite.
34444         [BZ #17702]
34445         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34446         (modules-names): Add moddummy1 and moddummy2.
34447         ($(objpfx)tst-rec-dlopen): Define.
34448         * dlfcn/moddummy1.c: New file.
34449         * dlfcn/moddummy2.c: New file.
34450         * dlfcn/tst-rec-dlopen.c: New file.
34451         * elf/dl-cache.c (_dl_load_cache_lookup):
34452         Return char*. Copy result with alloca/strcpy/strdup.
34453         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34454         returns char*. Free cached. If not saving realname
34455         free cached.
34456         * elf/dl-open.c (dl_open_worker): Do not assert that
34457         _r_debug->r_state is RT_CONSISTENT.
34458         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34459         returns char*.
34461 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34462             Carlos O'Donell  <carlos@redhat.com>
34464         [BZ #12674]
34465         * nptl/sem_waitcommon.c: New file.
34466         * nptl/sem_wait.c: Include sem_waitcommon.c.
34467         (__sem_wait_cleanup, do_futex_wait): Remove.
34468         (__new_sem_wait): Adapt.
34469         (__new_sem_trywait): New function.
34470         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34471         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34472         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34473         (sem_timedwait): Adapt.
34474         * nptl/sem_post.c (__new_sem_post): Adapt.
34475         (futex_wake): New function.
34476         (__old_sem_post): Add release MO fence.
34477         * nptl/sem_open.c (sem_open): Adapt.
34478         * nptl/sem_init.c (__new_sem_init): Adapt.
34479         (futex_private_if_supported): New function.
34480         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34481         (__old_sem_getvalue): Add using previous code.
34482         * sysdeps/nptl/internaltypes.h: Adapt.
34483         * nptl/tst-sem13.c (do_test): Adapt.
34484         * nptl/tst-sem11.c (main): Adapt.
34485         * nptl/sem_trywait.c: Remove.
34486         * nptl/DESIGN-sem.txt: Remove.
34487         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34488         (gen-as-const-headers): Remove structsem.sym.
34489         * nptl/structsem.sym: Remove.
34490         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34491         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34492         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34493         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34494         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34495         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34496         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34497         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34498         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34499         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34500         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34501         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34502         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34503         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34504         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34505         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34506         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34507         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34508         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34509         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34510         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34511         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34513 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34515         * INSTALL: Regenerated.
34517         * po/libc.pot: Regenerated.
34519 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34520             Sandra Loosemore  <sandra@codesourcery.com>
34521             Andrew Jenner  <andrew@codesourcery.com>
34522             Joseph Myers  <joseph@codesourcery.com>
34523             Nathan Sidwell  <nathan@codesourcery.com>
34525         * NEWS: Mention new Nios II port.
34526         * sysdeps/nios2/Implies: New file.
34527         * sysdeps/nios2/Makefile: New file.
34528         * sysdeps/nios2/Subdirs: New file.
34529         * sysdeps/nios2/Versions: New file.
34530         * sysdeps/nios2/__longjmp.S: New file.
34531         * sysdeps/nios2/abort-instr.h: New file.
34532         * sysdeps/nios2/backtrace.c: New file.
34533         * sysdeps/nios2/bits/endian.h: New file.
34534         * sysdeps/nios2/bits/fenv.h: New file.
34535         * sysdeps/nios2/bits/link.h: New file.
34536         * sysdeps/nios2/bits/setjmp.h: New file.
34537         * sysdeps/nios2/bsd-_setjmp.S: New file.
34538         * sysdeps/nios2/bsd-setjmp.S: New file.
34539         * sysdeps/nios2/configure: New generated file.
34540         * sysdeps/nios2/configure.ac: New file.
34541         * sysdeps/nios2/crti.S: New file.
34542         * sysdeps/nios2/crtn.S: New file.
34543         * sysdeps/nios2/dl-init.c: New file.
34544         * sysdeps/nios2/dl-machine.h: New file.
34545         * sysdeps/nios2/dl-sysdep.h: New file.
34546         * sysdeps/nios2/dl-tls.h: New file.
34547         * sysdeps/nios2/dl-trampoline.S: New file.
34548         * sysdeps/nios2/gccframe.h: New file.
34549         * sysdeps/nios2/gmp-mparam.h: New file.
34550         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34551         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34552         * sysdeps/nios2/ldsodefs.h: New file.
34553         * sysdeps/nios2/libc-tls.c: New file.
34554         * sysdeps/nios2/libm-test-ulps: New file.
34555         * sysdeps/nios2/machine-gmon.h: New file.
34556         * sysdeps/nios2/math-tests.h: New file.
34557         * sysdeps/nios2/math_private.h: New file.
34558         * sysdeps/nios2/memusage.h: New file.
34559         * sysdeps/nios2/nptl/Makefile: New file.
34560         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34561         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34562         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34563         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34564         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34565         * sysdeps/nios2/nptl/tls.h: New file.
34566         * sysdeps/nios2/preconfigure: New file.
34567         * sysdeps/nios2/s_fma.c: New file.
34568         * sysdeps/nios2/s_fmaf.c: New file.
34569         * sysdeps/nios2/setjmp.S: New file.
34570         * sysdeps/nios2/sfp-machine.h: New file.
34571         * sysdeps/nios2/sotruss-lib.c: New file.
34572         * sysdeps/nios2/stackguard-macros.h: New file.
34573         * sysdeps/nios2/stackinfo.h: New file.
34574         * sysdeps/nios2/start.S: New file.
34575         * sysdeps/nios2/sysdep.h: New file.
34576         * sysdeps/nios2/tls-macros.h: New file.
34577         * sysdeps/nios2/tst-audit.h: New file.
34578         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34579         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34580         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34581         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34582         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34583         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34584         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34585         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34586         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34587         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34588         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34589         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34590         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34591         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34592         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34593         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34594         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34595         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34596         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34597         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34598         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34599         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34600         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34601         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34602         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34603         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34604         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34605         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34606         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34607         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34608         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34609         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34610         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34611         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34612         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34613         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34614         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34615         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34616         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34617         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34618         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34619         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34620         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34621         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34623 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34625         [BZ #17844]
34626         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34627         (getutent): Use weak_alias in non SHARED case
34628         and default_symbol_version in SHARED case.
34629         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34630         (getutent_r, pututline): Likewise.
34631         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34632         (getutid): Likewise.
34633         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34634         (getutid_r): Likewise.
34635         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34636         (getutline): Likewise.
34637         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34638         (getutline_r): Likewise.
34639         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34640         (updwtmp): Likewise.
34642 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34644         [BZ #17848]
34645         * sysdeps/s390/s390-32/memcmp.S
34646         (memcmp_g5): Rename to __memcmp_g5.
34647         * sysdeps/s390/s390-32/memcpy.S
34648         (memcpy_g5): Rename to __memcpy_g5.
34649         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34650         (memcpy_mvcle) Rename to __memcpy_mvcle.
34651         * sysdeps/s390/s390-32/memset.S
34652         (memset_g5): Rename to __memset_g5.
34653         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34654         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34655         and use prefixed functions.
34656         * sysdeps/s390/s390-32/multiarch/memcmp.S
34657         (memcmp_z196): Rename to __memcmp_z196.
34658         (memcmp_z10): Rename to __memcmp_z10.
34659         (memcmp): Set alias to __memcmp_g5.
34660         (bcmp): Set alias to __memcmp_g5.
34661         * sysdeps/s390/s390-32/multiarch/memcpy.S
34662         (memcpy_z196): Rename to __memcpy_z196.
34663         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34664         (memcpy_z10): Rename to __memcpy_z10.
34665         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34666         (memcpy): Set alias to __memcpy_g5.
34667         * sysdeps/s390/s390-32/multiarch/memset.S
34668         (memset_z196): Rename to __memset_z196.
34669         Jump to __memset_mvcle instead of memset_mvcle.
34670         (memset_z10): Rename to __memset_z10.
34671         Jump to __memset_mvcle instead of memset_mvcle.
34672         (memset_mvcle) Rename to __memset_mvcle.
34673         (memset): Set alias to __memset_g5.
34674         * sysdeps/s390/s390-64/memcmp.S
34675         (memcmp_z900): Rename to __memcmp_z900.
34676         * sysdeps/s390/s390-64/memcpy.S
34677         (memcpy_z900): Rename to __memcpy_z900.
34678         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34679         (memcpy_mvcle) Rename to __memcpy_mvcle.
34680         * sysdeps/s390/s390-64/memset.S
34681         (memset_z900): Rename to __memset_z900.
34682         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34683         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34684         and use prefixed functions.
34685         * sysdeps/s390/s390-64/multiarch/memcmp.S
34686         (memcmp_z196): Rename to __memcmp_z196.
34687         (memcmp_z10): Rename to __memcmp_z10.
34688         (memcmp): Set alias to __memcmp_z900.
34689         (bcmp): Set alias to __memcmp_z900.
34690         * sysdeps/s390/s390-64/multiarch/memcpy.S
34691         (memcpy_z196): Rename to __memcpy_z196.
34692         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34693         (memcpy_z10): Rename to __memcpy_z10.
34694         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34695         (memcpy): Set alias to __memcpy_z900.
34696         * sysdeps/s390/s390-64/multiarch/memset.S
34697         (memset_z196): Rename to __memset_z196.
34698         Jump to __memset_mvcle instead of memset_mvcle.
34699         (memset_z10): Rename to __memset_z10.
34700         Jump to __memset_mvcle instead of memset_mvcle.
34701         (memset_mvcle) Rename to __memset_mvcle.
34702         (memset): Set alias to __memset_z900.
34704 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34706         [BZ #17748]
34707         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34708         __fesetenv instead of fesetenv.
34710 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34712         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34713         macro.
34715 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34718         regression on LE.
34720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34721         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34723         strncmp-power8 object.
34724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34725         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34726         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34727         * NEWS: Update.
34729 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34732         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34733         trailing byte check.
34735 2015-01-13  David S. Miller  <davem@davemloft.net>
34737         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34739 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34741         * login/logout.c (logout): Use memset rather than bzero.
34742         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34743         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34744         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34745         (_gethtbyaddr): Likewise.
34746         * locale/programs/simple-hash.c (bcopy): Macro removed.
34748 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34750         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34751         Add strcmp-power8 object.
34752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34753         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34754         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34755         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34756         __strcmp_power8 implementation.
34757         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34758         * NEWS: Update.
34760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34761         Add strncpy-power8 and stpncpy-power8 objects.
34762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34763         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34764         implementations.
34765         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34766         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34767         __stpncpy_power8 implementation.
34768         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34769         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34770         __strncpy_power8 implementation.
34771         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34772         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34773         * NEWS: Update.
34775         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34776         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34777         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34780         strncat-power8 object.
34781         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34782         __strcat_power8 implementation.
34783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34784         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34785         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34786         optimized strcat for power8.
34788         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34789         strcpy-power8 and stpcpy-power8 objects.
34790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34791         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34792         implementations.
34793         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34794         multiarch stpcpy implementation for POWER8.
34795         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34796         multiarch strcpy implementation for POWER8.
34797         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34798         __strcpy_power8 function.
34799         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34800         stpcpy for POWER8.
34801         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34802         strcpy for POWER8.
34803         * NEWS: Update.
34805 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34807         [BZ #16009]
34808         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34809         weights and rules. Use do_xfrm_cached if data fits in cache,
34810         do_xfrm otherwise.  Moved former main loop to...
34811         * (do_xfrm_cached): New function.
34812         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34813         find_idx, find_position and stack_push.
34814         * (find_idx): New function.
34815         * (find_position): Likewise.
34816         * localedata/sort-test.sh: Added test run for do_xfrm.
34817         * localedata/xfrm-test.c (main): Added command line option
34818         -nocache to run the test with strings that are too large for
34819         the STRXFRM cache.
34821 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34823         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34824         variable to lll_futex_wake call, not the value itself.
34826 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34828         [BZ #17803]
34829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34830         twom64.  Adjust value to 0x1p-64L.
34831         (__scalblnl): Only return standard underflowing result for K <=
34832         -64 not K <= -63; adjust exponent for underflowing result by 64
34833         not 63.
34834         * math/libm-test.inc (scalbn_test_data): Add more tests.
34835         (scalbln_test_data): Likewise.
34837         [BZ #17834]
34838         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34839         0x1p63L.
34840         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34841         not HX.
34842         * math/libm-test.inc (scalbn_test_data): Add more tests.
34843         (scalbln_test_data): Likewise.
34845 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34846             Stefani Seibold  <stefani@seibold.net>
34848         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34849         (sysdep_routines): Add dl-vdso here, ...
34850         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34851         (sysdep_routines): ... not here.
34852         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34853         fallback when vDSO is not presented.
34854         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34855         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34856         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34857         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34858         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34859         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34860         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34861         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34862         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34863         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34864         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34865         fallback configurable symbol when vDSO is not available.
34866         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34867         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34868         be able to redefine fallback symbol when vDSO is not available.
34869         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34870         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34872 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34874         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34875         (TLS_INIT_TP): Add tm_capable initialization.
34876         (TLS_DEFINE_INIT_TP): Likewise.
34877         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34878         TCB.
34879         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34880         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34881         calculation.
34882         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34883         transactoion is lock elision is built and TCB tm_capable is set.
34884         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34886         (INTERNAL_SYSCALL_NCS): Likewise.
34887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34888         (INTERNAL_SYSCALL_NCS): Likewise.
34889         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34891         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34892         for powerpc.
34893         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34894         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34895         and remove it for 32 bits case.
34896         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34898         initialization.
34899         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34900         Disable lock elision with rdlocks if elision is not available.
34902         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34903         (sysdep_routines): Add lock elision objects.
34904         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34905         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34906         [pthread_mutex_t] (__elision): Add field.
34907         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34908         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34909         elision definitions for powerpc.
34910         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34911         implementation of lock elision for powerpc.
34912         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34913         implementation of timed lock elision for powerpc.
34914         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34915         implementation of trylock with lock elision for powerpc.
34916         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34917         implementaion of unlock for lock elision for powerpc.
34918         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34919         automatic enable lock elision for mutexes.
34920         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34921         transaction execution definitions for powerpc.
34922         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34923         definitions.
34924         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34925         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34926         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34927         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34928         * NEWS: Update.
34930 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34932         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34933         for #include of <shm-directory.h>.
34935 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34937         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34938         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34940 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34942         [BZ #17791]
34943         * NEWS: Mention bug fix.
34944         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34945         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34946         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34948 2015-01-09  Torvald Riegel <triegel@redhat.com>
34950         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34952 2015-01-09  Torvald Riegel <triegel@redhat.com>
34954         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34956 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34958         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34959         pointer and cast to uintptr_t.
34961 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34963         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34964         removed.
34965         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34967 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34969         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34970         of 0.
34972 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34974         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34975         <nptl/pthreadP.h> instead.
34976         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34978         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34979         already defined.
34980         [__SIGRTMIN] (init): Function removed.
34981         [__SIGRTMIN] (initialized): Variable removed.
34982         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34983         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34984         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34985         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34986         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34987         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34988         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34989         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34990         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34991         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34992         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34993         * sysdeps/nptl/allocrtsig.c: New file.
34994         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34995         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34996         * sysdeps/generic/testrtsig.h: File removed.
34998         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34999         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35001         * nptl/nptl-init.c (pthread_functions): Conditionalize
35002         .ptr__nptl_setxid initialization on [SIGSETXID].
35004         * sysdeps/nptl/sys/procfs.h: New file.
35005         * nptl_db/Makefile (headers): Add it.
35006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35008         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35009         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35010         * nptl/pthread_attr_setaffinity.c: Include it.
35011         * nptl/pthread_setattr_default_np.c: Likewise.
35012         * nptl/check-cpuset.h: New file.
35014 2015-01-08  Richard Henderson  <rth@redhat.com>
35016         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35017         (CFLAGS-tst-execstack-prog.c): Likewise.
35018         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35020 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35021             Sandra Loosemore  <sandra@codesourcery.com>
35022             Andrew Jenner  <andrew@codesourcery.com>
35023             Joseph Myers  <joseph@codesourcery.com>
35024             Nathan Sidwell  <nathan@codesourcery.com>
35026         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35027         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35028         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35029         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35030         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35031         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35032         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35033         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35034         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35035         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35036         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35037         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35038         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35039         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35040         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35041         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35042         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35044 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35046         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35047         timespec struct member in syscall macro.
35048         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35049         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35050         first timeval struct member in syscall macro.
35051         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35053 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #17748]
35056         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35057         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35058         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35059         __feupdateenv and define as weak alias of __feupdateenv.  Use
35060         libm_hidden_weak.
35061         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35062         libm_hidden_def.
35063         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35064         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35065         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35066         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35067         libm_hidden_def.
35068         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35069         __feupdateenv and define as weak alias of __feupdateenv.  Use
35070         libm_hidden_weak.
35071         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35072         libm_hidden_def.
35073         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35074         __feupdateenv and define as weak alias of __feupdateenv.  Use
35075         libm_hidden_weak.
35076         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35077         libm_hidden_def.
35078         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35079         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35080         (__feupdateenv): Likewise.
35081         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35082         __feupdateenv and define as weak alias of __feupdateenv.  Use
35083         libm_hidden_weak.
35084         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35085         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35086         libm_hidden_def.
35087         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35088         function.
35089         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35090         libm_hidden_def.
35091         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35092         __feupdateenv instead of feupdateenv.
35093         (default_libc_feupdateenv_test): Likewise.
35094         (libc_feresetround_ctx): Likewise.
35096 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35098         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35099         prototype.
35101 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35103         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35104         COLL_SYM in a couple of places to avoid uninitialized variable
35105         wanings on tilegx gcc 4.8.2.
35107 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35109         * sysdeps/aarch64/strcpy.S: New file.
35110         * sysdeps/aarch64/stpcpy.S: New file.
35111         * NEWS: Updated.
35113 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35115         * sysdeps/aarch64/strrchr.S: New file.
35116         * NEWS: Updated.
35118 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35120         [BZ #17658]
35121         * stdlib/setenv.c: Fix memory leak when setting large,
35122         duplicate string.
35124 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35126         [BZ #17273]
35127         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35128         and tabs from buffer before parsing fstab entry.
35129         * misc/tst-mntent.c (main): Add test for mount entry with
35130         trailing spaces and tabs.
35132 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35134         [BZ #17748]
35135         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35136         * math/fesetround.c (fesetround): Rename to __fesetround and
35137         define as weak alias of __fesetround.  Use libm_hidden_weak.
35138         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35139         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35140         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35141         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35142         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35143         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35144         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35145         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35146         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35147         __fesetround_inline.
35148         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35149         __fesetround_inline instead of __fesetround.
35150         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35151         __fesetround and define as weak alias of __fesetround.  Use
35152         libm_hidden_weak.  Call __fesetround_inline instead of
35153         __fesetround.
35154         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35155         __fesetround and define as weak alias of __fesetround.  Use
35156         libm_hidden_weak.
35157         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35158         Likewise.
35159         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35160         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35161         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35162         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35163         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35164         __fesetround and define as weak alias of __fesetround.  Use
35165         libm_hidden_weak.
35166         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35167         __fesetround instead of fesetround.
35168         (default_libc_feholdexcept_setround): Likewise.
35169         (libc_feholdsetround_ctx): Likewise.
35170         (libc_feholdsetround_noex_ctx): Likewise.
35172         [BZ #17748]
35173         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35174         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35175         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35176         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35177         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35178         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35179         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35180         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35181         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35182         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35183         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35184         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35185         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35186         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35187         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35188         libm_hidden_def.
35189         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35190         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35191         Likewise.
35192         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35193         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35194         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35195         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35196         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35197         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35198         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35199         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35200         __fesetenv instead of fesetenv.
35201         (libc_feresetround_noex_ctx): Likewise.
35202         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35203         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35204         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35205         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35206         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35207         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35208         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35209         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35210         (__feupdateenv): Likewise.
35211         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35212         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35213         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35214         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35216 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35218         [BZ #17806]
35219         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35220         addresses have been freed.
35222 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35224         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35225         and nservall.
35227 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35229         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35230         Clean up check_pf allocation pattern. addresses
35232 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35234         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35235         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35236         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35237         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35238         * nptl/pthread_join.c (pthread_join): Likewise.
35239         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35240         * sysdeps/posix/waitid.c (__waitid): Likewise.
35241         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35242         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35243         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35244         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35246         Likewise.
35247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35248         (__libc_pread64): Likewise.
35249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35250         (__libc_pwrite): Likewise.
35251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35252         (__libc_pwrite64): Likewsie.
35253         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35254         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35255         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35256         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35257         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35258         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35259         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35261         Likewise.
35262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35263         (__libc_pread64): Likewise.
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35265         Likewise.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35267         (__libc_pwrite64): Likewise.
35268         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35269         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35270         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35271         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35272         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35273         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35274         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35275         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35276         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35277         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35278         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35279         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35280         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35281         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35282         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35283         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35284         Likewise.
35286 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35288         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35289         (CFLAGS-test-double.c): Likewise.
35290         (CFLAGS-test-ldouble.c): Likewise.
35291         (CPPFLAGS-test-ifloat.c): Likewise.
35292         (CPPFLAGS-test-idouble.c): Likewise.
35293         (CPPFLAGS-test-ildoubl.c): Likewise.
35294         (CFLAGS-test-test-fenv.c): Remove variable.
35295         (CFLAGS-test-misc.c): Likewise.
35297 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35299         [BZ #17797]
35300         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35301         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35302         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35303         CLOCKS_PER_SEC == 1000000.
35304         * time/clocktest.c (main): Replace %ld with %jd and cast to
35305         intmax_t.
35307 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35309         * sysdeps/generic/unwind-resume.h: New file.
35310         * sysdeps/gnu/unwind-resume.c: Include it.
35311         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35312         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35313         argument list.
35314         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35315         global rather than static.
35316         (_Unwind_Resume): Update user.
35317         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35318         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35319         rather than static.  Add __attribute__ ((cold)).
35320         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35321         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35322         * sysdeps/arm/arm-unwind-resume.S: New file.
35323         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35324         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35325         * sysdeps/arm/Makefile [$(subdir) = csu]
35326         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35327         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35328         Add rt-arm-unwind-resume.
35329         [$(subdir) = nptl]
35330         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35331         Add pt-arm-unwind-resume.
35332         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35333         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35335 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35337         [BZ #17748]
35338         * include/fenv.h (__feholdexcept): Declare.  Use
35339         libm_hidden_proto.
35340         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35341         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35342         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35343         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35344         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35345         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35346         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35347         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35348         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35349         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35350         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35351         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35352         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35353         (feholdexcept): Likewise.
35354         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35355         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35356         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35357         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35358         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35359         __feholdexcept instead of feholdexcept.
35360         (default_libc_feholdexcept_setround): Likewise.
35362 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35364         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35365         to avoid using stl/str to align destination.
35367 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35369         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35371 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35373         [BZ #17796]
35374         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35375         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35376         Define as weak alias not strong alias.
35378 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35380         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35381         bltzal with addiupc.
35382         (RTLD_START): Ditto.
35384 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35386         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35387         for __vdso_* functions in declarations.
35388         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35389         definitions.
35390         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35391         INTERNAL_VSYSCALL): Use struct return types to check for error.
35393         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35394         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35395         function with cast from llround().
35396         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35397         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35398         Define.
35400 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35402         [BZ #17793]
35403         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35404         Define as weak alias not strong alias.
35406         [BZ #17635]
35407         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35408         ...
35409         * ctype/ctype-extn.c: ... here.
35410         (__isblank_l): Move to ...
35411         * ctype/ctype-c99_l.c: ... here.  New file.
35412         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35413         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35414         Remove variable.
35415         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35416         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35417         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35418         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35419         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35421         [BZ #17777]
35422         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35423         (posix_fadvise64): Define as weak alias not strong alias.
35424         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35425         (posix_fallocate64): Likewise.
35426         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35427         Remove variable.
35428         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35429         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35430         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35431         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35432         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35434 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35436         [BZ #16191]
35437         * NEWS: Mention bug fix.
35438         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35439         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35440         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35441         (HOST_STACK_END_ADDR): Likewise.
35443 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35445         [BZ #17748]
35446         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35447         * math/fegetround.c (fegetround): Rename to __fegetround and
35448         define as weak alias of __fegetround.  Use libm_hidden_weak.
35449         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35450         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35451         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35452         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35453         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35454         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35455         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35456         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35457         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35458         Undefine after rather than before function definition; use
35459         parentheses around function name in definition.
35460         (__fegetround): Also undefine macro after function definition.
35461         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35462         __fegetround and define as weak alias of __fegetround.  Use
35463         libm_hidden_weak.  Do not undefine as macro.
35464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35465         Likewise.
35466         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35467         __fegetround and define as weak alias of __fegetround.  Use
35468         libm_hidden_weak.
35469         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35470         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35471         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35472         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35473         __fegetround and define as weak alias of __fegetround.  Use
35474         libm_hidden_weak.
35475         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35476         __fegetround instead of fegetround.
35478         [BZ #17782]
35479         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35480         Condition macro definition on [__USE_MISC].
35482         [BZ #17781]
35483         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35484         (struct sigaction): Change type of sa_flags field to int.
35486         [BZ #17780]
35487         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35488         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35489         __glibc_reserved0.
35491         * nptl/version.c (banner): Use single year in copyright notice.
35493         * NEWS: Update copyright dates.
35494         * catgets/gencat.c (print_version): Likewise.
35495         * csu/version.c (banner): Likewise.
35496         * debug/catchsegv.sh: Likewise.
35497         * debug/pcprofiledump.c (print_version): Likewise.
35498         * debug/xtrace.sh (do_version): Likewise.
35499         * elf/ldconfig.c (print_version): Likewise.
35500         * elf/ldd.bash.in: Likewise.
35501         * elf/pldd.c (print_version): Likewise.
35502         * elf/sotruss.sh: Likewise.
35503         * elf/sprof.c (print_version): Likewise.
35504         * iconv/iconv_prog.c (print_version): Likewise.
35505         * iconv/iconvconfig.c (print_version): Likewise.
35506         * locale/programs/locale.c (print_version): Likewise.
35507         * locale/programs/localedef.c (print_version): Likewise.
35508         * login/programs/pt_chown.c (print_version): Likewise.
35509         * malloc/memusage.sh (do_version): Likewise.
35510         * malloc/memusagestat.c (print_version): Likewise.
35511         * malloc/mtrace.pl: Likewise.
35512         * manual/libc.texinfo: Likewise.
35513         * nptl/version.c (banner): Likewise.
35514         * nscd/nscd.c (print_version): Likewise.
35515         * nss/getent.c (print_version): Likewise.
35516         * nss/makedb.c (print_version): Likewise.
35517         * posix/getconf.c (main): Likewise.
35518         * scripts/test-installation.pl: Likewise.
35519         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35521 2015-01-02  Will Newton  <will.newton@linaro.org>
35523         * sysdeps/arm/armv7/configure: Removed.
35524         * sysdeps/arm/armv7/configure.ac: Likewise.
35526 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35528         * All files with FSF copyright notices: Update copyright dates
35529         using scripts/update-copyrights.
35530         * intl/plural.c: Regenerated.
35531         * locale/programs/charmap-kw.h: Likewise.
35532         * locale/programs/locfile-kw.h: Likewise.
35534 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35536         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35538 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35540         [BZ #17748]
35541         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35542         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35543         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35544         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35545         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35546         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35547         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35548         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35549         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35550         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35551         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35552         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35553         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35554         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35555         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35556         libm_hidden_def.
35557         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35558         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35559         Likewise.
35560         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35561         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35562         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35563         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35564         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35565         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35566         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35567         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35568         __fegetenv instead of fegetenv.
35569         (libc_feholdsetround_noex_ctx): Likewise.
35571 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35573         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35574         (Elf_MIPS_ABIFlags_v0): New structure.
35575         (EF_MIPS_FP64): Define.
35576         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35577         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35578         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35579         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35580         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35581         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35582         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35583         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35584         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35585         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35586         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35587         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35588         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35589         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35590         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35591         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35592         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35593         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35594         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35595         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35596         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35597         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35598         field.
35599         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35600         EF_MIPS_FP64.
35601         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35602         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35603         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35604         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35605         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35606         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35607         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35608         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35609         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35610         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35611         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35612         record the current FP ABI extension.
35613         (mips-mode-switch): Define to show if kernel headers support mode
35614         switching.
35615         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35616         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35617         supported SYSV ABI version to 3.
35618         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35619         feature.
35621 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35622             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35624         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35625         path.
35626         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35628 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35630         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35631         __fegetround and redefine to call __fegetround.  Remove condition
35632         on [!__NO_MATH_INLINES].
35633         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35634         function.
35635         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35637         Remove macro.
35638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35639         instead of <fenv_libc.h>.
35640         (__llrintl): Call fegetround instead of __fegetround.
35641         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35642         instead of <fenv_libc.h>.
35643         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35644         (__lrintl): Call fegetround instead of __fegetround.
35645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35646         instead of <fenv_libc.h>.
35647         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35648         (__rintl): Call fegetround instead of __fegetround.
35650 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35652         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35653         arrays.
35655 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35657         [BZ #17775]
35658         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35659         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35660         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35662 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35664         * sysdeps/i386/tls-macros.h: Include <features.h>.
35665         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35666         (TLS_IE): Likewise.
35667         (TLS_LD): Likewise.
35668         (TLS_GD): Likewise.
35669         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35670         define for GCC >= 5.0.
35672 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35674         * math/test-fenv.c (test_single_exception, set_single_exc,
35675         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35676         feexcp_mask_test, feenable_test, fe_single_test): Add
35677         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35678         case where they are not used.
35679         * math/libm-test.inc: Likewise.
35680         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35681         unused in the absence of FP rounding/exception support.
35682         * stdio-common/tst-printf-round.c: Likewise.
35683         * stdlib/tst-strtod-round.c: Likewise.
35684         * stdlib/tst-strtod-underflow.c: Likewise.
35686 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #17723]
35689         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35690         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35691         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35693         libm_hidden_weak.
35694         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35695         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35696         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35697         libm_hidden_def.
35698         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35699         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35700         libm_hidden_weak.
35701         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35702         Likewise.
35703         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35704         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35705         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35706         libm_hidden_weak.
35707         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35708         libm_hidden_def.
35709         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35710         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35711         (__feraiseexcept): Likewise.
35712         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35713         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35714         libm_hidden_weak.
35715         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35716         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35717         libm_hidden_def.
35718         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35719         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35720         Use libm_hidden_def.
35721         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35722         libm_hidden_def.
35723         (feraiseexcept): Define as weak not strong alias.  Use
35724         libm_hidden_weak.
35725         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35726         New inline function.  Factored out of ...
35727         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35728         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35729         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35730         feraiseexcept.
35731         * math/w_acos.c (__acos): Likewise.
35732         * math/w_asin.c (__asin): Likewise.
35733         * math/w_ilogb.c (__ilogb): Likewise.
35734         * math/w_j0.c (y0): Likewise.
35735         * math/w_j1.c (y1): Likewise.
35736         * math/w_jn.c (yn): Likewise.
35737         * math/w_log.c (__log): Likewise.
35738         * math/w_log10.c (__log10): Likewise.
35739         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35740         * sysdeps/aarch64/fpu/math_private.h
35741         (libc_feupdateenv_test_aarch64): Likewise.
35742         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35743         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35744         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35745         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35746         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35747         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35748         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35749         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35750         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35751         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35753 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35755         [BZ #17732]
35756         * io/test-utime.c (main): Replace %ld with %jd and cast to
35757         intmax_t.
35758         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35759         * nptl/tst-mutex5.c: Include <stdint.h>.
35760         (do_test): Replace %ld with %jd and cast to intmax_t.
35761         * posix/tst-regex.c (run_test): Likewise.
35762         (run_test_backwards): Likewise.
35763         * rt/tst-clock.c: Include <stdint.h>.
35764         (clock_test): Replace %ld with %jd and cast to intmax_t.
35765         * rt/tst-cpuclock1.c: Include <stdint.h>.
35766         (do_test): Replace %lu with %ju and cast to uintmax_t.
35767         * rt/tst-cpuclock2.c: Include <stdint.h>.
35768         (do_test): Replace %lu with %ju and cast to uintmax_t.
35769         * rt/tst-mqueue1.c: Include <stdint.h>.
35770         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35771         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35772         intmax_t.
35773         * rt/tst-mqueue4.c (do_test): Likewise.
35774         * rt/tst-timer4.c: Include <stdint.h>.
35775         (check_ts): Replace %ld with %jd and cast to intmax_t.
35776         (do_test): Likewise.
35777         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35778         and cast to intmax_t.
35779         * sysdeps/pthread/tst-timer.c (main): Likewise.
35780         * time/clocktest.c (main): Likewise.
35781         * time/tst-posixtz.c (do_test): Likewise.
35782         * timezone/tst-timezone.c (main): Likewise.
35784 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35785             H.J. Lu  <hongjiu.lu@intel.com>
35787         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35788         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35789         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35790         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35791         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35792         version if bit_Fast_Unaligned_Load is set.
35793         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35794         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35795         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35796         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35797         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35798         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35799         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35800         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35801         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35802         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35803         to 4.
35804         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35805         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35806         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35807         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35809 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35811         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35812         instead of #if to avoid a Wundef warning.
35813         * stdlib/tst-limits.c (do_test): Likewise.
35815         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35816         parallel other exception macros.
35817         (fegetenv): Convert from macro to extern inline so that it applies
35818         retroactively to inline functions already seen by the compiler.
35819         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35821         * posix/Makefile (before-compile): Use $(objpfx) for
35822         posix-conf-vars-def.h.
35824 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35826         * posix/getconf.c (main): Use size_t for type of I.
35827         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35828         NSPEC.
35830         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35831         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35832         * posix/posix-envs.def: Likewise.
35833         * sysdeps/posix/sysconf.c: Likewise.
35834         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35835         (specs): Remove array.
35836         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35837         array.
35839         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35840         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35841         (__sysconf): Use CONF_IS_* macros.
35843         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35844         ($(objpfx)posix-conf-vars-def.h): New target.
35845         * posix/posix-conf-vars.list: New file.
35846         * posix/posix-conf-vars.h: New file.
35847         * posix/confstr.c: Include posix-conf-vars.h.
35848         (confstr): Use CONF_IS_* macros.
35849         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35850         CONF_IS_* macros.
35851         * scripts/gen-posix-conf-vars.awk: New file.
35853 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35855         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35856         fegetround): Add no-op macros to avoid linknamespace issues.
35858         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35859         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35861         * sysdeps/unix/sysv/linux/tile/sysdep.h
35862         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35863         assembly-specific section to avoid a redefinition warning.
35865         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35866         long before casting to pointer to avoid a cast warning.
35868 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35870         * sysdeps/tile/tilegx/Implies: New file.
35872 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35874         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35876 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35878         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35880 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35883         not define.
35884         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35885         <kernel-features.h>.
35886         (__utimes) [__NR_utimes]: Make code unconditional.
35887         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35888         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35889         (__ASSUME_UTIMES): Do not undefine.
35890         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35891         (__ASSUME_UTIMES): Likewise.
35892         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35893         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35894         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35895         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35897 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35899         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35901 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35903         [BZ #17747]
35904         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35905         alias to weak alias for j0l, y0l.
35906         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35907         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35909         [BZ #17746]
35910         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35911         conversion.
35913 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35915         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35916         to zero if not already defined.
35918 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35920         [BZ #17724]
35921         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35922         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35923         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35924         (char *) casts added.
35925         * sysdeps/ieee754/k_standardf.c: New file.
35926         * sysdeps/ieee754/k_standardl.c: Likewise.
35927         * math/Makefile (libm-support): Remove k_standard.
35928         (libm-calls): Add k_standard.
35930 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35932         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35933         Optimize to avoid an unnecessary FPCR read.
35935 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35937         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35938         Optimize to reduce FPCR/FPSR accesses.
35940 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35942         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35943         Call libc_fetestexcept_aarch64.
35945 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35947         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35948         Call libc_fesetround_aarch64.
35950 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35952         [BZ #17733]
35953         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35954         (__bind): Do not define as weak alias.
35955         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35956         define.
35957         (__getsockname): Do not define as weak alias.
35959 2014-12-22  Will Newton  <will.newton@linaro.org>
35961         * manual/install.texi: Document that we require bison 2.7
35962         or above.
35963         * INSTALL: Regenerate.
35964         * configure.ac: Use AC_CHECK_PROG_VER instead of
35965         AC_PATH_PROG when checking for bison and check for
35966         version 2.7 or above.
35967         * configure: Regenerate.
35969 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35971         [BZ #17745]
35972         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35973         * sysdeps/tile/ffsll.c (ffsll): To here.
35975         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35977 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35979         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35980         if not defined.
35981         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35982         definition.
35983         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35984         hidden ___tls_get_addr.
35985         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35986         hidden __tls_get_addr.
35987         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35988         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35989         Likewise.
35991 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35993         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35994         _dl_init call.
35996 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35998         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35999         from "call _dl_init@PLT".
36000         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36002 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36004         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36005         guarantees.
36007 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36009         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36011 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36013         [BZ #17744]
36014         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36015         strnlen.
36017 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36019         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36020         of multu on MIPSr6.
36021         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36022         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36023         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36024         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36025         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36027 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36029         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36030         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36031         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36032         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36033         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36034         mips32r6/mips64r6.
36035         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36037 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36039         * string/strncat.c (STRNCAT): Simplify implementation.
36041 2014-12-19  David S. Miller  <davem@davemloft.net>
36043         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36044         access the quad as both a long double and as a series of 4 words.
36046         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36047         link_map->l_info array access.
36049 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36051         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36053         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36054         * math/atest-exp2.c (TIMEOUT): Likewise.
36055         * math/atest-sincos.c (TIMEOUT): Likewise.
36057 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36059         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36060         -Wno-error with -fno-builtin-lround.
36062 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36064         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36065         Contains futex constants and functions moved over from ...
36066         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36067         <lowlevellock-futex.h>.
36068         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36069         (lll_timedwait_tid): Add comments and parentheses around macro
36070         arguments.
36072 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36075         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36076         (__lll_private_flag): Remove.
36077         (lll_futex_wait): Likewise.
36078         (lll_futex_timed_wait): Likewise.
36079         (lll_futex_wake): Likewise.
36080         (lll_futex_requeue): Likewise.
36081         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36082         (__lll_timedwait_tid): Spell out argument names.
36083         (lll_timedwait_tid): Add comments and parentheses around macro
36084         arguments.
36085         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36086         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36088 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36090         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36091         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36093         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36094         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36095         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36096         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36097         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36098         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36100         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36101         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36102         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36104         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36105         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36106         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36107         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36108         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36110 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36112         * sysdeps/x86_64/x32/Makefile: New file.
36114 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36116         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36117         1L with (mp_limb_t) 1.
36119 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36121         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36122         * nptl/libc_pthread_init.c: ... here.
36123         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36124         * nptl/register-atfork.c: ... here.
36126         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36127         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36128         Use assert_perror to check its return value.
36129         (__gai_create_helper_thread): Likewise.
36131         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36133         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36135 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36137         [BZ #17725]
36138         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36139         __profil_counter.
36140         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36141         Likewise.
36142         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36143         Likewise.
36144         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36145         Likewise.
36146         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36147         (profil_counter): Likewise.
36148         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36149         (profil_counter): Likewise.
36150         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36151         Likewise.
36152         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36153         Likewise.
36154         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36155         (profil_counter): Likewise.
36156         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36157         Likewise.
36158         [!__profil_counter] (profil_counter): Define as weak alias of
36159         __profil_counter.
36160         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36161         (profil_counter): Rename to __profil_counter.
36162         [!__profil_counter] (profil_counter): Define as weak alias of
36163         __profil_counter.
36164         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36165         (profil_counter): Rename to __profil_counter.
36166         [!__profil_counter] (profil_counter): Define as weak alias of
36167         __profil_counter.
36168         * sysdeps/posix/profil.c: Update comment referring to
36169         profil_counter.
36170         (__profil): Use __profil_counter instead of profil_counter.
36171         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36172         __profil_counter.  Use __profil_counter_ushort and
36173         __profil_counter_uint in definitions.
36174         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36175         instead of profil_counter_uint and profil_counter_ushort.
36177         [BZ #17722]
36178         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36179         define as weak alias of __inet_makeaddr.
36180         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36181         as weak alias of __inet_addr.
36182         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36183         as weak alias of __inet_pton.  Use libc_hidden_weak.
36184         * include/arpa/inet.h (__inet_pton): Declare.  Use
36185         libc_hidden_proto.
36186         (inet_makeaddr): Don't use libc_hidden_proto.
36187         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36188         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36189         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36190         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36191         Remove variable.
36192         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36193         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36195 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36197         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36199 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36201         * stdio-common/bug-vfprintf-nargs.c (do_test):
36202         Cast value to intptr_t to avoid format warning
36203         for usage with PRIdPTR printing macro.
36205 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36207         * libio/tst-widetext.c (do_test):
36208         Use format type %td instead of %Zd for ptrdiff_t
36209         in order to avoid format warning.
36211 2014-12-17  Andreas Schwab  <schwab@suse.de>
36213         * nscd/mem.c (gc): Add size_t cast to match printf format.
36215 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36217         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36218         (init): Apply PTR_MANGLE to pointers before storing them.
36219         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36220         before using them.
36222 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36224         [BZ #17719]
36225         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36226         define as weak alias of __memrchr.
36227         (__memrchr): Do not define as strong alias of memrchr.
36228         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36229         Remove variable.
36230         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36231         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36232         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36234         [BZ #17717]
36235         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36236         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36237         (if_indextoname): Rename to __if_indextoname and define as weak
36238         alias of __if_indextoname.  Use libc_hidden_weak.
36239         (if_freenameindex): Rename to __if_freenameindex and define as
36240         weak alias of __if_freenameindex.
36241         (if_nameindex): Rename to __if_nameindex and define as weak alias
36242         of __if_nameindex.
36243         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36244         __if_nametoindex and define as weak alias of __if_nametoindex.
36245         Use libc_hidden_weak.
36246         (if_freenameindex): Rename to __if_freenameindex and define as
36247         weak alias of __if_freenameindex.
36248         (if_nameindex): Rename to __if_nameindex and define as weak alias
36249         of __if_nameindex.
36250         (if_indextoname): Rename to __if_indextoname and define as weak
36251         alias of __if_indextoname.  Use libc_hidden_weak.
36252         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36253         __if_nametoindex and define as weak alias of __if_nametoindex.
36254         Use libc_hidden_weak.
36255         (if_freenameindex): Rename to __if_freenameindex and define as
36256         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36257         (if_nameindex_netlink): Use __if_freenameindex instead of
36258         if_freenameindex.
36259         (if_nameindex): Rename to __if_nameindex and define as weak alias
36260         of __if_nameindex.  Use libc_hidden_weak.
36261         (if_indextoname): Rename to __if_indextoname and define as weak
36262         alias of __if_indextoname.  Use libc_hidden_weak.
36263         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36264         libc_hidden_proto.
36265         [!_ISOMAC] (__if_freenameindex): Likewise.
36266         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36267         if_nametoindex.
36268         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36269         variable.
36270         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36271         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36272         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36273         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36274         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36275         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36276         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36278         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36279         Remove variable.
36280         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36281         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36283 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36285         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36286         subscript above bounds'
36288         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36289         bounds.
36291 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36293         * libio/tst-fopenloc.c: Use test-skeleton.c.
36295         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36296         (entry): Rename to ITEM.
36297         (do_test, comp): Adjust.
36299         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36301 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36303         * string/tester.c: Include <libc-internal.h>.
36304         (test_memset): Ignore -Wmemset-transposed-args.
36306 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36308         * misc/tst-mntent2.c (do_test): Fix warning.
36310 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36312         * elf/tst-unique4lib.cc(a): Mark as used.
36314 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36316         [BZ #17630]
36317         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36318         names.
36320 2014-12-16  Allan McRae  <allan@archlinux.org>
36322         * stdio-common/Makefile (tests): Re-add bug26.
36324 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36326         [BZ #17657]
36327         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36328         static array.
36330 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36332         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36333         (__lll_lock_wait): Likewise.
36334         (__lll_timedlock_wait): Likewise.
36335         (__lll_timedwait_tid): Likewise.
36336         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36337         (__lll_robust_timedlock_wait): Likewise.
36338         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36339         (lll_cond_trylock): Likewise.
36340         (__lll_lock): Likewise.
36341         (__lll_robust_lock): Likewise.
36342         (__lll_cond_lock): Likewise.
36343         (lll_robust_cond_lock): Likewise.
36344         (__lll_timedlock): Likewise.
36345         (__lll_robust_timedlock): Likewise.
36346         (__lll_unlock): Likewise.
36347         (__lll_robust_unlock): Likewise.
36348         (lll_wait_tid): Likewise.
36349         (lll_timedwait_tid): Likewise.
36351 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36353         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36355 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36357         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36359 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36361         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36362         * stdio-common/tst-sprintf.c: Likewise.
36364 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36366         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36368 2014-12-15  Jeff Law  <law@redhat.com>
36370         [BZ #16617]
36371         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36372         on the heap.  (CVE-2012-3406)
36373         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36374         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36375         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36377 2014-12-15  Will Newton  <will.newton@linaro.org>
36379         * manual/install.texi: Bump required version of texinfo
36380         to 4.7 from 4.5.
36381         * INSTALL: Regenerated.
36382         * configure.ac: Check for makeinfo version 4.7 and above.
36383         * configure: Regenerated.
36385 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36387         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36388         PREFIX, string constant to insert between directory and name.
36389         * sysdeps/posix/shm_open.c: Update caller.
36390         * sysdeps/posix/shm_unlink.c: Likewise.
36391         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36392         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36393         (SEM_SHM_PREFIX): New macro.
36394         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36395         [$(have-thread-library) = no].
36396         * nptl/Makefile (libpthread-routines): Add shm-directory.
36397         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36398         * sysdeps/nptl/shm-directory.h: New file.
36399         * sysdeps/posix/shm-directory.c
36400         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36401         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36402         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36403         INTERNAL_SYSCALL.
36404         (__where_is_shmfs): Function removed.
36405         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36406         Variables removed.
36407         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36408         Use SHM_GET_NAME.
36409         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36411         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36412         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36413         unconditional for use inside libpthread.
36414         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36416 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36418         * nptl/pthread_getaffinity.c: New file.
36419         * nptl/pthread_setaffinity.c: New file.
36420         * nptl/pthread_getname.c: New file.
36421         * nptl/pthread_setname.c: New file.
36423         * nptl/pthread_create.c (START_THREAD_DEFN)
36424         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36426 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36427             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36429         * resolv/res_send.c (send_vc): Disable warning resplen may
36430         be used uninitialized.
36432 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36434         * nptl/tst-mutex6.c
36435         (ATTR_NULL): New define checks ATTR against NULL.
36436         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36437         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36439 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36441         [BZ #17581]
36442         * malloc/hooks.c
36443         (mem2mem_check): Revert my previous change.
36444         (malloc_check_get_size): Revert my previous change.
36445         (mem2chunk_check): Revert my previous change.
36447 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36449         * sysdeps/posix/shm-directory.c: New file.
36450         * sysdeps/posix/shm-directory.h: New file.
36451         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36452         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36453         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36454         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36455         Transmute EPERM to EACCES.
36456         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36457         from ...
36458         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36459         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36461 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36463         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36464         pointer and cast to uintptr_t.
36465         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36466         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36467         Add cast to avoid warning.
36468         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36470 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36472         * nptl/semaphore.h: Move to ...
36473         * sysdeps/pthread/semaphore.h: ... here.
36474         * Makefile (installed-headers): Change nptl/semaphore.h to
36475         sysdeps/pthread/semaphore.h.
36477 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36479         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36480         generated error format strings.
36482         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36483         -Wformat-extra-args warnings for scanf formats.
36484         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36485         test of zero-length format (duh).
36486         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36487         corner-case scanf format test.
36488         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36489         generated fprintf format string.
36490         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36491         corner-case sprintf format tests.
36492         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36493         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36494         -Wformat-extra-args warnings throughout.
36495         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36496         (CFLAGS-scanf4.c): Likewise.
36497         (CFLAGS-scanf7.c): Likewise.
36498         (CFLAGS-tst-sprintf.c): Likewise.
36499         (CFLAGS-tst-printf.c): Likewise.
36500         (CFLAGS-tst-printfsz.c): Likewise.
36502 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36504         * include/cpio.h: New file.
36505         * include/fmtmsg.h: Likewise.
36507         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36508         corresponding format argument to size_t.
36509         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36510         arguments.
36511         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36512         corresponding format argument to size_t.
36513         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36514         arguments.
36515         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36516         corresponding format argument to size_t.
36517         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36518         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36519         (CFLAGS-tst-mbswcs2.c): Likewise.
36520         (CFLAGS-tst-mbswcs3.c): Likewise.
36521         (CFLAGS-tst-mbswcs4.c): Likewise.
36522         (CFLAGS-tst-mbswcs5.c): Likewise.
36523         (CFLAGS-tst-trans.c): Likewise.
36525 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36527         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36528         rather than assuming they won't contain any '%'s.
36530 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36532         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36533         inhibit_loop_to_libcall to avoid recursive calls.
36534         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36535         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36537 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36539         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36540         prototype.
36542 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36544         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36545         integer value instead of boolean.
36547 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36549         * malloc/malloc.c: Fix powerof2 check.
36551 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36553         * locale/programs/locfile.h (maybe_swap_uint32):
36554         Remove inline and add unused attribute.
36556 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36559         Truncating assembler expression to a .long expression.
36561 2014-12-11  Andreas Schwab  <schwab@suse.de>
36563         * elf/rtld.c (struct map_args): Constify str member.
36564         (do_preload): Constify fname argument.
36566 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36569         constants definition.
36571 2014-12-11  Andreas Schwab  <schwab@suse.de>
36573         [BZ #16657]
36574         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36575         FORCE_ELISION instead of DO_ELISION.
36576         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36577         Remove.
36578         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36579         Likewise.
36581         * iconvdata/gconv-modules: Remove duplicate entry.
36583 2014-12-11  Will Newton  <will.newton@linaro.org>
36585         Merge gettext 0.19.3 into intl/.
36587         This involves a number of cosmetic changes to comments
36588         and ANSI function definitions and prototypes throughout
36589         all the files. The gettext copyright header is used but
36590         with the date ranges taken from the glibc copy.
36592         * NEWS: Add gettext merge to 2.21.
36593         * intl/bindtextdom.c: Switch to gettext copyright.
36594         Use ANSI definitions and prototypes.
36595         Use gl_* locking primitives rather than __libc_* ones.
36596         Use __builtin_expect rather than __glibc_likely/unlikely.
36597         * intl/dcgettext.c: Switch to gettext copyright.
36598         Use ANSI definitions and prototypes.
36599         * intl/dcigettext.c: Switch to gettext copyright.
36600         Use ANSI definitions and prototypes.
36601         (INTDIV0_RAISES_SIGFPE): New define.
36602         Use gl_* locking primitives rather than __libc_* ones.
36603         Include eval-plural.h instead of plural-eval.c.
36604         Use __builtin_expect rather than __glibc_likely/unlikely.
36605         * intl/dcngettext.c: Switch to gettext copyright.
36606         Use ANSI definitions and prototypes.
36607         * intl/dgettext.c: Likewise.
36608         * intl/dngettext.c: Likewise.
36609         * intl/plural-eval.c: Renamed to...
36610         * intl/eval-plural.h: ...this.
36611         * intl/explodename.c: Switch to gettext copyright.
36612         Use ANSI definitions and prototypes.
36613         (_nl_explode_name): Use strchr instead of __rawmemchr.
36614         * intl/finddomain.c: Switch to gettext copyright.
36615         Use ANSI definitions and prototypes.
36616         Use gl_* locking primitives rather than __libc_* ones.
36617         (_nl_find_domain): Use malloc rather than alloca for
36618         allocation of temporary locale name.
36619         * intl/gettext.c: Switch to gettext copyright.
36620         Use ANSI definitions and prototypes.
36621         * intl/gettextP.h: Switch to gettext copyright.
36622         Use ANSI definitions and prototypes.
36623         Use gl_* locking primitives rather than __libc_* ones.
36624         * intl/gmo.h: Switch to gettext copyright.
36625         (struct sysdep_string): Move struct segment_pair outside of
36626         struct definition.
36627         * intl/hash-string.c: Use ANSI definitions and prototypes.
36628         * intl/hash-string.h: Switch to gettext copyright.
36629         Use ANSI definitions and prototypes.
36630         * intl/l10nflist.c: Switch to gettext copyright.
36631         Use ANSI definitions and prototypes.
36632         (_nl_normalize_codeset): Avoid integer overflow.
36633         * intl/loadinfo.h: Switch to gettext copyright.
36634         Use ANSI definitions and prototypes.
36635         (LIBINTL_DLL_EXPORTED): New define.
36636         (PATH_SEPARATOR): New define.
36637         * intl/loadmsgcat.c: Switch to gettext copyright.
36638         * intl/localealias.c: Switch to gettext copyright.
36639         Use ANSI definitions and prototypes.
36640         (_nl_expand_alias): Use PATH_SEPARATOR.
36641         * intl/ngettext.c: Switch to gettext copyright.
36642         Use ANSI definitions and prototypes.
36643         * intl/plural-exp.c: Likewise.
36644         * intl/plural-exp.h: Switch to gettext copyright.
36645         Use ANSI definitions and prototypes.
36646         (struct expression): Move definition of enum operator outside
36647         of struct definition.
36648         * intl/plural.c: Regenerate.
36649         * intl/plural.y: Switch to gettext copyright.
36650         Use ANSI definitions and prototypes.
36651         Port to bison 3.0.
36652         * intl/textdomain.c: Switch to gettext copyright.
36653         Use ANSI definitions and prototypes.
36654         Use gl_* locking primitives rather than __libc_* ones.
36656 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36658         * debug/warning-nop.c: Add used atrribute.
36660 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36662         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36664         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36665         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36666         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36668 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36669             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36671         [BZ #17634]
36672         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36673         Undefine after defining function.  Define as weak alias of
36674         __wcschr.  Use libc_hidden_weak.
36675         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36676         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36677         (libc_hidden_def): Also define __GI___wcschr alias.
36678         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36679         __wcschr and define as weak alias of __wcschr.
36680         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36681         __wcschr.
36682         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36683         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36684         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36685         libc_hidden_weak.  Do not use libc_hidden_def.
36686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36687         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36688         __GI___wcschr alias.
36689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36690         [IS_IN (libc)] (wcschr): Define as macro expanding to
36691         __redirect_wcschr.
36692         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36693         [IS_IN (libc)] (__wcschr_power6): Likewise.
36694         [IS_IN (libc)] (__wcschr_power7): Likewise.
36695         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36696         instead of wcschr.
36697         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36698         __libc_wcschr.
36699         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36700         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36701         __wcschr and define as weak alias of __wcschr.  Use
36702         libc_hidden_builtin_def.
36703         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36704         as weak alias of __wcschr.  Use libc_hidden_weak.
36705         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36706         wcschr.
36707         * time/era.c (_nl_init_era_entries): Likewise.
36708         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36709         variable.
36710         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36711         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36713 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36715         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36716         format for long int variable.
36718 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36720         [BZ #10672]
36721         * manual/search.texi: (Array Sort Function): Remove claim how to make
36722         qsort stable.
36724 2014-12-10  Andreas Schwab  <schwab@suse.de>
36726         [BZ #12847]
36727         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36728         user-controlled locks.
36730 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36732         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36733         register.
36735 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36737         * configure.ac (--disable-werror): New configure option.
36738         (enable_werror): New AC_SUBST.
36739         * configure: Regenerated.
36740         * config.make.in (enable-werror): New variable.
36741         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36742         -Wno-error=undef.
36743         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36744         * manual/install.texi (Configuring and compiling): Document
36745         --disable-werror.
36746         * INSTALL: Regenerated.
36747         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36748         (CFLAGS-tst-chk2.c): Likewise.
36749         (CFLAGS-tst-chk3.c): Likewise.
36750         (CFLAGS-tst-chk4.cc): Likewise.
36751         (CFLAGS-tst-chk5.cc): Likewise.
36752         (CFLAGS-tst-chk6.cc): Likewise.
36753         (CFLAGS-tst-lfschk1.c): Likewise.
36754         (CFLAGS-tst-lfschk2.c): Likewise.
36755         (CFLAGS-tst-lfschk3.c): Likewise.
36756         (CFLAGS-tst-lfschk4.cc): Likewise.
36757         (CFLAGS-tst-lfschk5.cc): Likewise.
36758         (CFLAGS-tst-lfschk6.cc): Likewise.
36760         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36761         (main): Disable -Wdeprecated-declarations around calls to
36762         register_printf_function.
36764         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36765         (do_test): Disable -Wdiv-by-zero around some calls to
36766         fwrite_unlocked and fread_unlocked.
36768         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36769         (DIAG_POP_NEEDS_COMMENT): Likewise.
36770         (_DIAG_STR1): Likewise.
36771         (_DIAG_STR): Likewise.
36772         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36773         * stdio-common/bug21.c: Include <libc-internal.h>.
36774         (do_test): Disable -Wformat around call to sscanf.
36775         * stdio-common/scanf14.c: Include <libc-internal.h>.
36776         (main): Disable -Wformat around some calls to scanf functions.
36778 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36780         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36782 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36784         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36785         stack variable alignment.
36787 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36789         [BZ #17682]
36790         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36791         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36792         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36793         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36794         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36795         __getrlimit instead of getrlimit.
36796         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36797         __gettimeofday instead of gettimeofday.
36798         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36799         Likewise.
36800         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36801         Likewise.
36802         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36803         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36804         Remove variable.
36805         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36806         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36808 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36810         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36811         for wide-character tests.
36813 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36815         * io/openat64.c: #include <libc-internal.h>
36816         (__openat64): Prototypify.  Use ignore_value on MODE.
36817         * io/openat.c: Likewise.
36818         * misc/reboot.c: #include <libc-internal.h>
36819         (reboot): Prototypify.  Use ignore_value on HOWTO.
36820         * misc/ptrace.c: #include <libc-internal.h>
36821         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36823 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36825         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36826         XPG4, UNIX98 and XOPEN2K.
36827         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36828         Remove variable.
36829         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36831 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36833         * libio/fileops.c: Use ISO C style for function definitions.
36834         * libio/iofopen.c: Likewise.
36835         * libio/wfileops.c: Likewise.
36837         [BZ #17653]
36838         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36839         offset on EOF.
36840         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36841         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36842         (fgets_func): Function pointer to fgets and fgetws.
36843         (do_ftell_test): Add test to verify ftell value after read
36844         EOF.
36845         (do_test): Set fgets_func.
36847         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36848         O_TRUNC flag for w and w+ modes.
36849         (do_rewind_test): Likewise.
36850         (do_ftell_test): Likewise.
36851         (do_write_test): Likewise.
36853         [BZ #17647]
36854         * libio/fileops.c (do_ftell): Seek only when there are
36855         unflushed writes.
36856         * libio/wfileops.c (do_ftell_wide): Likewise.
36857         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36858         test case.
36859         (do_one_test): Call it.
36861 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36863         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36864         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36865         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36866         Remove variable.
36867         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36868         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36869         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36871 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36873         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36874         Remove variable.
36875         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36877         [BZ #17668]
36878         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36879         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36880         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36881         __freeifaddrs.  Use libc_hidden_weak.
36882         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36883         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36884         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36885         __freeifaddrs.  Use libc_hidden_weak.
36886         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36887         __getifaddrs and define as weak alias of __getifaddrs.  Use
36888         libc_hidden_weak.
36889         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36890         __freeifaddrs.  Use libc_hidden_weak.
36891         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36892         Remove variable.
36893         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36894         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36896 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36898         [BZ #17601]
36899         * sysdeps/mips/start.S (__start): Use indirect jump to call
36900         __libc_start_main.
36902 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36904         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36906         * nptl/tst-mutex1.c: Include <stdbool.h>.
36907         [!ATTR] (ATTR_NULL): New macro.
36908         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36909         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36910         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36912         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36913         to char *.
36915         [BZ #17665]
36916         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36917         Change conditional to [__USE_MISC].
36919         [BZ #17664]
36920         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36921         fgets_unlocked.
36922         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36923         __fgets_unlocked.
36924         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36925         fgets_unlocked.
36926         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36927         Remove variable.
36928         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36929         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36930         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36931         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36932         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36933         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36934         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36935         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36936         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36938         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36940 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36942         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36943         Remove strpbrk objects.
36944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36945         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36946         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36947         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36948         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36949         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36951         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36952         Remove strcspn objects.
36953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36954         (__libc_ifunc_impl_list): Remove strcspn implementation.
36955         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36956         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36957         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36958         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36960         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36961         Remove strspn objetcs.
36962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36963         (__libc_ifunc_impl_list): Remove strspn implementation.
36964         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36965         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36966         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36967         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36969 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36971         [BZ #17581]
36972         * malloc/hooks.c
36973         (mem2mem_check): Add a terminator to the chain of checking blocks.
36974         (malloc_check_get_size): Use it here.
36975         (mem2chunk_check): Ditto.
36977 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36979         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36980         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36982 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36984         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36986         * nptl/nptl-init.c: Include libc-internal.h.
36987         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36989         * elf/ldconfig.c (search_dir): Expand comment.
36991 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36993         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36994         variable.
36995         (linknamespace-symlist-stdlibs-tests): Likewise.
36996         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36997         instead of $(objpfx)symlist-stdlibs.
36998         (linknamespace-libs-isoc): New variable.
36999         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37000         (linknamespace-libs-ISO): New variable.
37001         (linknamespace-libs-ISO99): Likewise.
37002         (linknamespace-libs-ISO11): Likewise.
37003         (linknamespace-libs-XPG3): Likewise.
37004         (linknamespace-libs-XPG4): Likewise.
37005         (linknamespace-libs-POSIX): Likewise.
37006         (linknamespace-libs-UNIX98): Likewise.
37007         (linknamespace-libs-XOPEN2K): Likewise.
37008         (linknamespace-libs-POSIX2008): Likewise.
37009         (linknamespace-libs-XOPEN2K8): Likewise.
37010         ($(objpfx)symlist-stdlibs): Replace by
37011         $(linknamespace-symlist-stdlibs-tests).  Use
37012         $(linknamespace-libs-$*) as set of libraries.
37013         ($(linknamespace-header-tests)): Update dependencies.  Use
37014         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37015         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37016         * conform/linknamespace.pl: Remove comment about considering
37017         definitions of symbols from irrelevant libraries.
37019 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37021         [BZ #13862]
37022         * elf/dl-tls.c: Include <atomic.h>.
37023         (oom): Remove #ifdef SHARED/#endif.
37024         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37025         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37026         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37027         big enough.
37028         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37029         * nptl/Makefile (tests): Add tst-stack4.
37030         (modules-names): Add tst-stack4mod.
37031         ($(objpfx)tst-stack4): New.
37032         (tst-stack4mod.sos): Likewise.
37033         ($(objpfx)tst-stack4.out): Likewise.
37034         ($(tst-stack4mod.sos)): Likewise.
37035         (clean): Likewise.
37036         * nptl/tst-stack4.c: New file.
37037         * nptl/tst-stack4mod.c: Likewise.
37039 2014-11-27  J. Brown  <jb999@gmx.de>
37041         * sysdeps/x86/bits/string.h: Add recent CPUs.
37043 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37045         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37046         sigblock.
37048         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37049         feof.
37051         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37052         variable.
37054 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37056         * nscd/connections.c: Include libc-internal.h because of macro
37057         usage ignore_value.
37059 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37061         * string/bits/string3.h (__warn_memset_zero_len): Don't
37062         declare for gcc newer than 5.0.
37063         (memset): Don't test for zero-length __LEN for gcc newer than
37064         5.0.
37066 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37068         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37069         size_t for %zu format.
37071         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37072         difference, not %ju.
37074 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37076         * include/libc-internal.h (ignore_value): New macro.
37077         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37078         with ignore_value.
37080         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37081         definition.
37083         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37084         pthread_cleanup_push to void *.
37086         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37087         Undefine.
37089         [BZ #16619]
37090         [BZ #16740]
37091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37092         instead of 1L << 52.
37094         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37095         * libio/bug-rewind2.c (do_test): Likewise.
37097         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37098         * debug/test-strcpy_chk-ifunc.c: Likewise.
37099         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37100         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37101         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37102         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37103         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37104         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37105         * Rules [$(multi-arch) = no] (tests): Do not filter out
37106         $(tests-ifunc).
37107         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37108         * debug/Makefile (tests-ifunc): Remove variable.
37109         (tests): Do not add $(tests-ifunc).
37110         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37111         (tests): Do not add $(tests-ifunc).
37112         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37113         [TEST_IFUNC]: Remove conditionals.
37114         * string/test-string.h (TEST_IFUNC): Remove macro.
37115         [TEST_IFUNC]: Remove conditionals.
37117         * string/test-strchr.c [!WIDE] (L): New macro.
37118         [WIDE] (L): Likewise.
37119         (check1): Use CHAR instead of char.  Use L on string and character
37120         constants.
37122 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37124         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37125         tests.
37126         * sysdeps/powerpc/bits/atomic.h
37127         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37128         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37129         (atomic_exchange_and_add_acq): Likewise.
37130         (atomic_exchange_and_add_rel): Likewise.
37131         * sysdeps/powerpc/powerpc32/bits/atomic.h
37132         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37133         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37134         * sysdeps/powerpc/powerpc64/bits/atomic.h
37135         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37136         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37138 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37140         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37141         Change synchronization of __sched_fifo_min_prio and
37142         __sched_fifo_max_prio.
37143         * nptl/pthread_mutexattr_getprioceiling.c
37144         (pthread_mutexattr_getprioceiling): Likewise.
37145         * nptl/pthread_mutexattr_setprioceiling.c
37146         (pthread_mutexattr_setprioceiling): Likewise.
37147         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37148         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37149         Likewise.
37151 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37153         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37154         void.
37156 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37158         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37159         third argument const.
37161 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37163         fnmatch: work around GCC compiler warning bug with uninit var
37164         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37165         This works around a bug with x86-64 GCC 4.9.2 and earlier
37166         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37167         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37168         used uninitialized in this function [-Wmaybe-uninitialized]".
37170 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37172         * posix/bug-regex31.c (main): Return RES not 0.
37174 2014-11-25  Anton Blanchard <anton@samba.org>
37176         * sysdeps/powerpc/bits/atomic.h
37177         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37179 2014-11-24  Sterling Augustine  <saugustine@google.com>
37181         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37183 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37185         [BZ #17608]
37186         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37188 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37190         [BZ #17633]
37191         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37192         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37193         variable.
37194         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37195         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37197 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37199         * string/strncpy.c (strncpy): Improve performance by using memset.
37201 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37203         * string/strcpy.c (strcpy):
37204         Improve performance by using strlen and memcpy.
37206 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37208         * string/strcoll_l.c (get_next_seq): __always_inline.
37209         * string/strcoll_l.c (do_compare): __always_inline.
37211 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37213         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37214         defined.
37215         * include/mqueue.h: Likewise.
37216         * include/stdlib.h: Likewise.
37218         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37219         (get_null_defines): Adjust.
37220         * sunrpc/Makefile: Adjust comment.
37221         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37222         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37223         (CFLAGS-interp.c): Likewise.
37224         (CFLAGS-ldconfig.c): Likewise.
37225         (CPPFLAGS-.os): Likewise.
37226         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37227         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37228         * extra-modules.mk (extra-modules.mk): Likewise.
37229         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37230         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37231         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37232         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37233         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37234         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37235         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37236         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37237         * iconvdata/Makefile (CPPFLAGS): Likewise.
37238         (cpp-srcs-left): Add libof for all iconvdata routines.
37239         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37240         * include/assert.h: Likewise.
37241         * include/ctype.h: Likewise.
37242         * include/errno.h: Likewise.
37243         * include/libc-symbols.h: Likewise.
37244         * include/math.h: Likewise.
37245         * include/netdb.h: Likewise.
37246         * include/resolv.h: Likewise.
37247         * include/stdio.h: Likewise.
37248         * include/stdlib.h: Likewise.
37249         * include/string.h: Likewise.
37250         * include/sys/stat.h: Likewise.
37251         * include/wctype.h: Likewise.
37252         * intl/l10nflist.c: Likewise.
37253         * libidn/idn-stub.c: Likewise.
37254         * libio/libioP.h: Likewise.
37255         * nptl/libc_multiple_threads.c: Likewise.
37256         * nptl/pthreadP.h: Likewise.
37257         * posix/regex_internal.h: Likewise.
37258         * resolv/res_hconf.c: Likewise.
37259         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37260         * sysdeps/arm/memmove.S: Likewise.
37261         * sysdeps/arm/sysdep.h: Likewise.
37262         * sysdeps/generic/_itoa.h: Likewise.
37263         * sysdeps/generic/symbol-hacks.h: Likewise.
37264         * sysdeps/gnu/errlist.awk: Likewise.
37265         * sysdeps/gnu/errlist.c: Likewise.
37266         * sysdeps/i386/i586/memcpy.S: Likewise.
37267         * sysdeps/i386/i586/memset.S: Likewise.
37268         * sysdeps/i386/i686/memcpy.S: Likewise.
37269         * sysdeps/i386/i686/memmove.S: Likewise.
37270         * sysdeps/i386/i686/mempcpy.S: Likewise.
37271         * sysdeps/i386/i686/memset.S: Likewise.
37272         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37273         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37274         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37275         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37276         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37277         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37278         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37279         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37280         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37281         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37282         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37283         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37284         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37285         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37286         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37287         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37288         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37289         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37290         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37291         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37292         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37293         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37294         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37295         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37296         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37297         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37298         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37299         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37301         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37302         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37303         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37305         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37306         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37308         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37309         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37310         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37312         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37313         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37314         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37315         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37316         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37317         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37318         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37319         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37320         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37321         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37322         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37323         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37324         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37325         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37326         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37327         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37329         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37330         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37331         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37332         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37333         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37334         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37335         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37336         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37337         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37338         * sysdeps/posix/closedir.c: Likewise.
37339         * sysdeps/posix/opendir.c: Likewise.
37340         * sysdeps/posix/readdir.c: Likewise.
37341         * sysdeps/posix/rewinddir.c: Likewise.
37342         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37343         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37344         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37345         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37346         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37347         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37348         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37353         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37354         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37355         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37357         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37358         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37359         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37360         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37363         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37364         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37365         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37366         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37367         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37368         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37369         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37370         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37377         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37378         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37379         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37380         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37381         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37382         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37383         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37384         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37386         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37387         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37388         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37389         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37390         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37391         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37392         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37393         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37396         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37397         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37399         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37400         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37402         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37403         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37404         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37405         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37406         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37407         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37409         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37410         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37411         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37412         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37413         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37414         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37415         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37416         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37417         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37418         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37419         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37420         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37422         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37423         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37424         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37425         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37426         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37427         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37428         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37429         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37430         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37431         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37432         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37433         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37434         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37435         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37438         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37440         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37441         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37442         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37443         * sysdeps/unix/alpha/sysdep.S: Likewise.
37444         * sysdeps/unix/alpha/sysdep.h: Likewise.
37445         * sysdeps/unix/make-syscalls.sh: Likewise.
37446         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37448         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37449         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37450         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37451         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37452         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37453         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37454         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37455         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37457         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37458         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37459         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37460         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37461         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37462         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37463         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37464         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37465         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37466         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37467         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37468         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37469         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37470         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37471         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37472         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37475         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37476         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37480         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37484         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37485         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37486         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37487         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37488         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37489         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37490         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37493         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37496         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37497         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37498         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37499         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37500         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37501         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37502         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37504         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37505         * sysdeps/x86_64/memcpy.S: Likewise.
37506         * sysdeps/x86_64/memmove.c: Likewise.
37507         * sysdeps/x86_64/memset.S: Likewise.
37508         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37509         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37510         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37511         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37512         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37513         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37514         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37515         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37516         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37517         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37518         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37519         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37520         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37521         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37522         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37523         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37524         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37525         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37526         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37527         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37528         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37529         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37530         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37531         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37532         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37533         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37534         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37535         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37536         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37537         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37538         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37539         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37540         * sysdeps/x86_64/strcmp.S: Likewise.
37542         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37544         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37545         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37546         * elf/rtld-Rules: Likewise.
37547         * elf/setup-vdso.h: Likewise.
37548         * include/assert.h: Likewise.
37549         * include/bits/stdlib-float.h: Likewise.
37550         * include/errno.h: Likewise.
37551         * include/sys/stat.h: Likewise.
37552         * include/unistd.h: Likewise.
37553         * sysdeps/aarch64/setjmp.S: Likewise.
37554         * sysdeps/alpha/setjmp.S: Likewise.
37555         * sysdeps/arm/__longjmp.S: Likewise.
37556         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37557         * sysdeps/arm/setjmp.S: Likewise.
37558         * sysdeps/arm/sysdep.h: Likewise.
37559         * sysdeps/generic/_itoa.h: Likewise.
37560         * sysdeps/generic/dl-sysdep.h: Likewise.
37561         * sysdeps/generic/ldsodefs.h: Likewise.
37562         * sysdeps/i386/dl-tls.h: Likewise.
37563         * sysdeps/i386/setjmp.S: Likewise.
37564         * sysdeps/m68k/setjmp.c: Likewise.
37565         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37566         * sysdeps/mach/hurd/opendir.c: Likewise.
37567         * sysdeps/posix/getcwd.c: Likewise.
37568         * sysdeps/posix/opendir.c: Likewise.
37569         * sysdeps/posix/profil.c: Likewise.
37570         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37571         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37572         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37573         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37574         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37576         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37577         * sysdeps/s390/dl-tls.h: Likewise.
37578         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37579         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37580         * sysdeps/sh/sh3/setjmp.S: Likewise.
37581         * sysdeps/sh/sh4/setjmp.S: Likewise.
37582         * sysdeps/unix/alpha/sysdep.h: Likewise.
37583         * sysdeps/unix/arm/sysdep.S: Likewise.
37584         * sysdeps/unix/i386/sysdep.S: Likewise.
37585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37586         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37587         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37588         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37590         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37591         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37592         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37593         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37594         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37595         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37596         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37597         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37600         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37603         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37604         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37605         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37608         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37609         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37611         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37612         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37613         * sysdeps/x86_64/setjmp.S: Likewise.
37615         * include/math.h: Use IS_IN instead of IS_IN_libm.
37616         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37617         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37618         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37619         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37620         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37621         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37622         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37623         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37624         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37625         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37626         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37627         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37628         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37629         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37630         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37631         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37632         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37633         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37634         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37635         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37636         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37637         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37638         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37639         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37640         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37641         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37642         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37643         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37644         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37645         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37646         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37647         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37648         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37650         Likewise.
37651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37652         Likewise.
37653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37654         Likewise.
37655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37656         Likewise.
37657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37658         Likewise.
37659         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37660         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37661         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37662         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37663         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37664         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37670         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37671         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37672         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37673         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37674         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37675         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37676         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37677         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37678         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37679         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37680         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37681         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37683         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37685         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37687         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37688         * nptl/pthreadP.h: Likewise.
37689         * nptl_db/structs.def: Likewise.
37690         * sysdeps/arm/sysdep.h: Likewise.
37691         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37692         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37693         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37694         * sysdeps/unix/alpha/sysdep.h: Likewise.
37695         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37697         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37698         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37699         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37700         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37702         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37703         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37704         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37705         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37706         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37707         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37708         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37713         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37716         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37717         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37718         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37719         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37720         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37722         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37723         * nptl/pthreadP.h: Likewise.
37724         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37725         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37726         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37727         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37728         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37729         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37730         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37731         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37732         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37733         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37734         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37735         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37737         Likewise.
37738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37739         Likewise.
37740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37741         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37742         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37745         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37746         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37747         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37749         * dlfcn/dladdr.c: Use IS_IN.
37750         * dlfcn/dladdr1.c: Likewise.
37751         * dlfcn/dlclose.c: Likewise.
37752         * dlfcn/dlerror.c: Likewise.
37753         * dlfcn/dlinfo.c: Likewise.
37754         * dlfcn/dlmopen.c: Likewise.
37755         * dlfcn/dlopen.c: Likewise.
37756         * dlfcn/dlsym.c: Likewise.
37757         * dlfcn/dlvsym.c: Likewise.
37759         * include/ifaddrs.h: Use IS_IN.
37760         * inet/check_pf.c: Likewise.
37761         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37762         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37764         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37765         IS_IN_ldconfig.
37766         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37767         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37769         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37770         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37771         IS_IN (libc).
37773         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37775         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37776         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37777         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37778         * include/libc-symbols.h (IS_IN_LIB): New macro.
37779         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37780         * include/netdb.h: Likewise.
37781         * include/stap-probe.h: Remove all uses of IN_LIB.
37783         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37784         instead of IN_MODULE.
37785         * include/libc-symbols.h (IN_MODULE): Define using
37786         MODULE_NAME.
37787         (PASTE_NAME, PASTE_NAME1): New macros.
37788         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37789         of IN_LIB.
37790         (STAP_PROBE_ASM): Likewise.
37792 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37794         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37795         __mach_init in dlopened libc.
37797 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37799         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37800         * sysdeps/arm/preconfigure: Regenerate.
37802 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37804         * nptl/pthread_create.c (__pthread_create_2_1): Set
37805         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37806         when copying values from IATTR into PD.
37808 2014-11-21  Will Newton  <will.newton@linaro.org>
37809             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37811         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37812         Refactor inline-asm.  Also add comment.
37814         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37815         ElfW macro instead of hardcoded Elf64 types.
37816         (la_aarch64_gnu_pltenter): Likewise.
37817         * sysdeps/aarch64/dl-machine.h
37818         (elf_machine_runtime_setup): Use ElfW(Addr).
37820         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37821         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37822         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37823         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37824         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37825         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37826         (R_AARCH64_TLS_DTPMOD): This.
37827         (R_AARCH64_TLS_DTPREL64): Rename to ...
37828         (R_AARCH64_TLS_DTPREL): This.
37829         (R_AARCH64_TLS_TPREL64): Rename to ...
37830         (R_AARCH64_TLS_TPREL): This.
37831         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37832         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37833         R_AARCH64_TLS_TPREL64.
37834         (elf_machine_rela): Likewise.
37836 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37838         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37839         by setting it to 0.  64b atomics are not supported currently.
37841 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37843         [BZ #16469]
37844         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37845         search domain names.
37847 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37849         [BZ #16469]
37850         * NEWS: Update.
37851         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37852         trailing dot.
37853         * posix/tst-getaddrinfo5.c: New.
37854         * posix/Makefile (tests): Add it.
37856 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37858         [BZ #14498]
37859         * NEWS: Fixed.
37860         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37861         after parsing line but before break_if_match.
37862         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37863         if there is a protocol mismatch.
37865 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37867         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37868         because the potential race is on the user-supplied stream.
37870 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37872         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37873         string literal if not passed a buffer.
37874         * manual/job.texi (ctermid): Update reasoning, note deviation
37875         from posix, suggest mtasurace when not passed a buffer, for
37876         future non-preliminary safety notes.
37878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37880         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37881         of not passing it a buffer.
37882         Reported by Peng Haitao.
37884 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37886         * manual/Makefile ($(objpfx)stamp-summary): Require
37887         check-safety.sh to pass.
37888         * manual/check-safety.sh: Wish for verification that every
37889         @deftypefn and @deftypefun is followed by a @safety remark.
37891 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37893         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37895         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37896         PTHREAD_CANCEL_ASYNCHRONOUS.
37897         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37898         send SIGCANCEL.
37900         * nptl/default-sched.h: New file.
37901         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37902         * nptl/pthread_create.c: Include it.
37903         (__pthread_create_2_1): Use collect_default_sched instead of making
37904         Linux syscalls here directly.
37906 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37908         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37909         __pthread_once): Use C11 atomics.
37911 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37913         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37915 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37917         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37918         atomic_thread_fence_acquire, atomic_thread_fence_release,
37919         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37920         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37921         atomic_compare_exchange_weak_relaxed,
37922         atomic_compare_exchange_weak_acquire,
37923         atomic_compare_exchange_weak_release,
37924         atomic_exchange_acquire, atomic_exchange_release,
37925         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37926         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37927         atomic_fetch_and_acquire,
37928         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37930 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37932         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37933         USE_ATOMIC_COMPILER_BUILTINS): Define.
37934         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37936         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37938         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37940         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37942         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37944         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37946         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37948         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37950         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37952         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37954         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37956         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37958         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37960         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37962         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37964         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37966         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37968         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37969         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37970         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37972         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37975 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37977         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37978         the sched_priority value here.  It was already checked when the user
37979         called pthread_attr_setschedparam.
37981         * nptl/tst-bad-schedattr.c: New file.
37982         * nptl/Makefile (tests): Add it.
37984 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37985             Florian Weimer  <fweimer@redhat.com>
37986             Joseph Myers  <joseph@codesourcery.com>
37987             Adam Conrad  <adconrad@0c3.net>
37988             Andreas Schwab  <schwab@suse.de>
37989             Brooks  <bmoses@google.com>
37991         [BZ #17625]
37992         * wordexp-test.c (__dso_handle): Add prototype.
37993         (__register_atfork): Likewise.
37994         (__app_register_atfork): New function.
37995         (registered_forks): New global.
37996         (register_fork): New function.
37997         (test_case): Add 3 new tests for WRDE_CMDSUB.
37998         (main): Call __app_register_atfork.
37999         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38000         fork count is non-zero fail the test.
38001         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38002         is set.
38003         (parse_dollars): Remove check for WRDE_NOCMD.
38004         (parse_dquote): Likewise.
38006 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38008         * Makeconfig (built-modules): List non-library modules to be
38009         built.
38010         (module-cppflags): Include libc-modules.h for
38011         everything except shlib-versions.v.i.
38012         (CPPFLAGS): Use it.
38013         (before-compile): Add libc-modules.h.
38014         ($(common-objpfx)libc-modules.h,
38015         $(common-objpfx)libc-modules.stmp): New targets.
38016         (common-generated): Add libc-modules.h and libc-modules.stmp.
38017         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38018         * include/libc-symbols.h: Don't include libc-modules.h.
38019         * include/libc-modules.h: Remove file.
38020         * scripts/gen-libc-modules.awk: New script to generate
38021         libc-modules.h.
38022         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38023         Depend on libc-modules.stmp.
38025         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38027         * Makeconfig (in-module): Get value of libof set for the
38028         translation unit.
38029         (CPPFLAGS): Use $(in-module).
38030         * Makerules: Don't suffix routine names for nonlib.
38031         * include/libc-modules.h: New file.
38032         * include/libc-symbols.h: Include libc-modules.h
38033         (IS_IN): New macro to replace IS_IN_* macros.
38034         * elf/Makefile: Set libof-* for each routine.
38035         * elf/rtld-Rules: Likewise.
38036         * extra-modules.mk: Likewise.
38037         * iconv/Makefile: Likewise.
38038         * iconvdata/Makefile: Likewise.
38039         * locale/Makefile: Likewise.
38040         * malloc/Makefile: Likewise.
38041         * nss/Makefile: Likewise.
38042         * sysdeps/gnu/Makefile: Likewise.
38043         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38044         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38045         * sysdeps/s390/s390-64/Makefile: Likewise.
38046         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38047         CPPFLAGS for nscd instead of nonlib.
38049 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38051         * nptl/createthread.c: New file.
38053         * nptl/createthread.c: Moved ...
38054         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38056         * nptl/createthread.c: Add proper top-line comment.
38057         (do_clone): Folded into ...
38058         (create_thread): ... here.  Take new arguments STOPPED_START and
38059         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38060         increment __nptl_threads, do event-reporting logic, do
38061         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38062         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38063         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38064         just send SIGCANCEL.
38065         * nptl/pthread_create.c: Forward-declare create_thread before
38066         including createthread.c.
38067         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38068         declaration, and new macro START_THREAD_SELF to replace argument.
38069         Remove return statement.
38070         (report_thread_creation): New function.
38071         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38072         synchronization logic, and __nptl_nthreads increment here, around
38073         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38074         PD->parent_cancelhandling here, before create_thread.  When
38075         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38076         __deallocate_stack, and ENOMEM translation here.
38078 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38080         [BZ #17616]
38081         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38082         (mptwo): Rename to __mptwo.
38083         (__inv): Use __mptwo instead of mptwo.
38084         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38085         (mptwo): Rename to __mptwo.
38086         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38087         of mpone and __mptwo instead of mptwo.
38088         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38089         instead of mpone.
38090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38091         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38092         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38093         of mpone and __mptwo instead of mptwo.
38094         (__mpranred): Use __mpone instead of mpone.
38095         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38096         variable.
38097         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38098         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38099         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38100         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38101         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38102         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38103         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38104         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38105         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38106         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38107         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38108         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38109         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38110         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38111         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38112         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38113         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38114         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38115         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38117 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38119         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38120         replace BSD Handler xref with BSD Signal Handling.
38122 2014-11-17  Richard Henderson  <rth@redhat.com>
38124         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38125         (_FP_PACK_RAW_2): Remove.
38126         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38127         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38128         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38129         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38130         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38131         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38132         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38133         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38134         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38135         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38136         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38137         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38138         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38139         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38140         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38141         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38143 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38145         * signal/signal.h [__USE_MISC]
38146         (struct sigvec): Remove type.
38147         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38148         (sigvec): Remove declaration.
38149         * sysdeps/posix/sigvec.c: Moved ...
38150         * signal/sigvec.c: ... here, replacing old file.
38151         (struct sigvec): New type, copied from old signal.h definition.
38152         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38153         (__sigvec): Convert definition to prototype.
38154         (sigvec): Replace weak_alias with compat_symbol.
38155         * signal/Versions (libc: GLIBC_2.21): New version set.
38156         * include/signal.h: Remove __sigvec declaration.
38157         * sysdeps/unix/bsd/sigvec.c: Remove file.
38158         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38159         * manual/signal.texi (BSD Handler): Remove subsection.
38160         Move siginterrupt up to ...
38161         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38162         (Blocking in BSD): Fold subsection into its parent.
38163         * NEWS: Mention sigvec removal.
38165 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38167         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38168         (DLA_FMS): Make definition conditional only on [__FMA4__].
38169         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38170         definition.
38172         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38173         Make definition conditional only on [PROF].
38174         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38175         definition.
38176         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38177         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38179         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38180         !__GNUC__].
38181         * include/signal.h (__sigpause): Move declaration above call to
38182         libc_hidden_proto.
38183         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38184         variable.
38185         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38186         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38188 2014-11-14  David S. Miller  <davem@davemloft.net>
38190         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38191         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38193 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38195         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38196         * configure: Regenerated.
38197         * manual/install.texi (Tools for Compilation): Document a
38198         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38199         compiler verified to work.
38200         * INSTALL: Regenerated.
38202         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38203         redeclare with asm name.
38204         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38205         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38206         including <string.h>.
38207         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38208         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38209         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38210         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38211         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38213         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38215 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38217         * stdlib/strtol.c (__strtol): Use prototype definition.
38219         [BZ #17594]
38220         * stdlib/strtol.c (SYM__): New macro.
38221         (SYM__1): Likewise.
38222         (__strtol): Likewise.
38223         (strtol): Rename to __strtol and define as weak alias of
38224         __strtol.  Use libc_hidden_weak.
38226 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38228         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38229         Use numbered labels in inline assembly.
38231 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38233         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38234         Add setjmp LIBC_PROBE.
38235         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38236         Likewise.
38237         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38238         Add longjmp, longjmp_target LIBC_PROBE.
38239         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38240         Likewise.
38242 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38244         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38245         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38246         to get rid of unused variable warning.
38248 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38250         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38251         Check for unwind_backtrace ==  NULL only in SHARED case.
38252         (__backchain_backtrace): Compile only in SHARED case.
38253         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38254         Likewise.
38255         (__backchain_backtrace): Declare as static.
38257 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38259         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38260         (__libc_multiple_threads_ptr): Variable moved ...
38261         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38263 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38265         * conform/GlibcConform.pm: New file.
38266         * conform/conformtest.pl: Use GlibcConform module.
38267         * conform/linknamespace.pl: New file.
38268         * conform/list-header-symbols.pl: Likewise.
38269         * conform/Makefile (linknamespace-symlists-base): New variable.
38270         (linknamespace-symlists-tests): Likewise.
38271         (linknamespace-header-base): Likewise.
38272         (linknamespace-header-tests): Likewise.
38273         (tests-special): Add new tests.
38274         ($(linknamespace-symlists-tests)): New rule.
38275         (linknamespace-libs): New variable.
38276         ($(objpfx)symlist-stdlibs): New rule.
38277         ($(linknamespace-header-tests)): Likewise.
38278         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38279         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38280         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38281         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38282         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38283         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38284         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38285         (test-xfail-ISO/math.h/linknamespace): Likewise.
38286         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38287         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38288         (test-xfail-ISO/time.h/linknamespace): Likewise.
38289         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38290         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38291         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38292         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38293         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38294         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38295         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38296         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38297         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38298         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38299         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38300         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38301         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38302         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38303         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38304         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38305         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38306         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38307         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38308         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38309         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38310         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38311         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38312         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38313         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38314         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38315         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38316         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38317         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38318         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38319         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38320         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38321         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38322         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38323         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38324         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38325         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38326         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38327         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38328         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38329         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38330         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38331         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38332         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38333         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38334         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38335         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38336         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38337         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38338         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38339         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38340         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38341         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38342         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38343         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38344         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38345         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38346         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38347         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38348         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38349         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38350         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38351         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38352         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38353         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38354         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38355         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38356         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38357         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38358         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38359         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38360         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38361         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38362         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38363         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38364         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38365         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38366         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38367         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38368         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38369         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38370         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38371         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38372         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38373         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38374         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38375         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38376         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38377         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38378         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38379         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38380         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38381         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38382         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38383         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38384         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38385         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38386         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38387         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38388         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38389         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38390         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38391         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38392         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38393         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38394         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38395         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38396         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38397         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38398         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38399         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38400         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38401         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38402         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38403         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38404         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38405         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38406         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38407         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38408         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38409         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38410         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38411         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38412         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38413         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38414         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38415         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38416         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38417         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38418         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38419         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38420         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38421         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38422         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38423         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38424         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38425         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38426         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38427         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38428         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38429         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38430         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38431         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38432         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38433         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38434         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38435         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38436         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38437         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38438         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38440         [BZ #17589]
38441         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38442         of fgets_unlocked.
38444         [BZ #17585]
38445         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38446         (memmem): Rename to __memmem and define as weak alias of
38447         __memmem.  Use libc_hidden_weak.
38448         (__memmem): Use libc_hidden_def.
38449         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38450         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38451         memmem.
38453         [BZ #17582]
38454         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38455         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38456         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38457         and define as weak alias of __fgets_unlocked.  Use
38458         libc_hidden_weak.
38459         (__fgets_unlocked): Use libc_hidden_def.
38460         * include/stdio.h (__fgets_unlocked): Declare.  Use
38461         libc_hidden_proto.
38462         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38463         __fgets_unlocked instead of fgets_unlocked.
38464         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38465         (GET_NPROCS_CONF_PARSER): Likewise.
38466         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38467         (GET_NPROCS_CONF_PARSER): Likewise.
38469         [BZ #17574]
38470         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38471         weak alias of __wmemset.  Use libc_hidden_weak.
38472         (__wmemset): Use libc_hidden_def.
38473         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38474         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38475         of wmemset.
38477         [BZ #17573]
38478         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38479         with asm name __mempcpy.
38480         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38482         [BZ #17572]
38483         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38484         and define as weak alias of __rawmemchr.
38485         (__rawmemchr): Do not define as strong alias of rawmemchr.
38487         [BZ #17571]
38488         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38489         alias of __qsort_r.
38490         (qsort): Call __qsort_r instead of qsort_r.
38491         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38492         (__qsort_r): Declare.  Call libc_hidden_proto.
38493         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38494         instead of qsort_r.
38495         * nscd/gai.c (__qsort_r): Define to qsort_r.
38496         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38497         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38498         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38500         [BZ #17570]
38501         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38502         define as weak alias of __malloc_info.
38504         [BZ #17584]
38505         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38506         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38507         (__rewinddir): Use libc_hidden_def.
38508         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38509         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38510         (__rewinddir): Use libc_hidden_def.
38511         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38512         weak alias of __rewinddir.  Don't use libc_hidden_def.
38513         (__rewinddir): Use libc_hidden_def.
38514         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38515         (__rewinddir): Use libc_hidden_proto.
38516         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38517         rewinddir.
38518         (__getcwd): Use __rewinddir instead of rewinddir.
38520         [BZ #17583]
38521         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38522         alias of __fileno.  Use libc_hidden_weak.
38523         (__fileno): Use libc_hidden_def.
38524         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38525         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38526         alias of __ftello.
38527         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38528         __ftello.
38529         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38530         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38531         libc_hidden_def.
38532         (fread_unlocked): Don't use libc_hidden_ver.
38533         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38534         and define as weak alias of __fread_unlocked.  Don't use
38535         libc_hidden_def.
38536         (__fread_unlocked): Use libc_hidden_def.
38537         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38538         (ftello): Don't use libc_hidden_proto.
38539         (__ftello): Declare.  Use libc_hidden_proto.
38540         (fread_unlocked): Don't use libc_hidden_proto.
38541         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38542         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38543         and __ftello instead of fileno, fread_unlocked and ftello.
38545 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38547         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38548         GOT12.
38549         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38550         Likewise.
38551         (_dl_start_user): Likewise.
38552         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38554 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38555             Siddhesh Poyarekar  <siddhesh@redhat.com>
38557         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38558         Move argv and envp down instead of moving argc up.
38559         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38561 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38563         [BZ #17506]
38564         * test-skeleton.c (main): Return successful if one of
38565         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38566         * string/tst-strcoll-overflow.c: Define expected status.
38568 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38570         [BZ #17475]
38571         * locale/iso-639.def: Define Bhili and Tulu language codes.
38573 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38575         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38577 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38579         [BZ #17555]
38580         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38582 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38584         * configure.ac: Updated check of minimal required version to
38585         2.22.
38586         * manual/install.texi (Tools for Compilation): Updated version
38587         number.
38588         * configure: Regenerated.
38589         * INSTALL: Likewise.
38591 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38593         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38594         __tls_get_addr.
38596 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38598         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38599         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38600         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38601         libc_hidden_weak.
38602         (waitpid): Define as alias of __waitpid.
38603         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38604         __waitpid.
38605         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38606         libc_hidden_weak.
38607         (waitpid): Define as alias of __waitpid.
38608         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38609         __libc_waitpid alias.
38610         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38611         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38612         Likewise.
38613         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38614         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38615         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38616         alias.
38617         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38618         __waitpid.
38619         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38620         libc_hidden_weak.
38621         (waitpid): Define as alias of __waitpid.
38623 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38625         * manual/llio.texi: Add comment that write safety has been
38626         fixed in Linux.
38628         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38629         (localplt-build-dso): Add elf/ld.so.
38630         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38631         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38632         and free for ld.so.
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38634         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38636         Likewise.
38637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38638         Likewise.
38639         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38640         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38641         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38642         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38643         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38644         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38645         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38646         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38647         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38648         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38649         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38651 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38653         [BZ #14132]
38654         * include/libc-symbols.h (INTUSE): Remove macro.
38655         (INTDEF): Likewise.
38656         (INTVARDEF): Likewise.
38657         (_INTVARDEF): Likewise.
38658         (INTDEF2): Likewise.
38659         (INTVARDEF2): Likewise.
38660         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38661         rtld_hidden_def instead of INTVARDEF.
38662         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38663         (_dl_starting_up_internal): Remove declaration.
38664         (_dl_starting_up): Use rtld_hidden_proto.
38665         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38666         declaration.
38667         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38668         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38669         _dl_starting_up.
38670         * elf/dl-writev.h (_dl_writev): Likewise.
38671         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38672         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38673         _dl_starting_up_internal.
38675 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38677         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38678         test-skeleton.c.
38680 2014-11-05  Will Newton  <will.newton@linaro.org>
38682         * benchtests/Makefile: (bench-malloc): Add malloc thread
38683         scalability benchmark.
38684         * benchtests/bench-malloc-threads.c: New file.
38686 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38688         * sysdeps/aarch64/strchrnul.S: New file.
38690 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38692         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38693         definition.
38694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38695         Likewise.
38696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38697         Likewise.
38698         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38699         Likewise.
38700         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38701         Likewise.
38702         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38703         Likewise.
38705 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38707         * catgets/test-gencat.c: Use test-skeleton.c.
38708         * catgets/tst-catgets.c: Likewise.
38709         * csu/tst-empty.c: Likewise.
38710         * elf/tst-audit2.c: Likewise.
38711         * elf/tst-global1.c: Likewise.
38712         * elf/tst-pathopt.c: Likewise.
38713         * elf/tst-piemod1.c: Likewise.
38714         * elf/tst-tls10.c: Likewise.
38715         * elf/tst-tls11.c: Likewise.
38716         * elf/tst-tls12.c: Likewise.
38717         * gnulib/tst-gcc.c: Likewise.
38718         * iconvdata/tst-e2big.c: Likewise.
38719         * iconvdata/tst-loading.c: Likewise.
38720         * iconv/tst-iconv1.c: Likewise.
38721         * iconv/tst-iconv2.c: Likewise.
38722         * inet/test-inet6_opt.c: Likewise.
38723         * inet/tst-gethnm.c: Likewise.
38724         * inet/tst-network.c: Likewise.
38725         * inet/tst-ntoa.c: Likewise.
38726         * intl/tst-codeset.c: Likewise.
38727         * intl/tst-gettext2.c: Likewise.
38728         * intl/tst-gettext3.c: Likewise.
38729         * intl/tst-ngettext.c: Likewise.
38730         * intl/tst-translit.c: Likewise.
38731         * io/test-stat.c: Likewise.
38732         * libio/test-fmemopen.c: Likewise.
38733         * libio/tst-freopen.c: Likewise.
38734         * libio/tst-sscanf.c: Likewise.
38735         * libio/tst-ungetwc1.c: Likewise.
38736         * libio/tst-ungetwc2.c: Likewise.
38737         * libio/tst-widetext.c: Likewise.
38738         * localedata/tst-ctype.c: Likewise.
38739         * localedata/tst-digits.c: Likewise.
38740         * localedata/tst-leaks.c: Likewise.
38741         * localedata/tst-mbswcs1.c: Likewise.
38742         * localedata/tst-mbswcs2.c: Likewise.
38743         * localedata/tst-mbswcs3.c: Likewise.
38744         * localedata/tst-mbswcs4.c: Likewise.
38745         * localedata/tst-mbswcs5.c: Likewise.
38746         * localedata/tst-setlocale.c: Likewise.
38747         * localedata/tst-trans.c: Likewise.
38748         * localedata/tst-wctype.c: Likewise.
38749         * localedata/tst-xlocale1.c: Likewise.
38750         * login/tst-grantpt.c: Likewise.
38751         * malloc/tst-calloc.c: Likewise.
38752         * malloc/tst-malloc.c: Likewise.
38753         * malloc/tst-mallocstate.c: Likewise.
38754         * malloc/tst-mcheck.c: Likewise.
38755         * malloc/tst-mtrace.c: Likewise.
38756         * malloc/tst-obstack.c: Likewise.
38757         * math/atest-exp2.c: Likewise.
38758         * math/atest-exp.c: Likewise.
38759         * math/atest-sincos.c: Likewise.
38760         * math/test-matherr.c: Likewise.
38761         * math/test-misc.c: Likewise.
38762         * math/test-powl.c: Likewise.
38763         * math/tst-definitions.c: Likewise.
38764         * misc/tst-dirname.c: Likewise.
38765         * misc/tst-efgcvt.c: Likewise.
38766         * misc/tst-fdset.c: Likewise.
38767         * misc/tst-hsearch.c: Likewise.
38768         * misc/tst-mntent2.c: Likewise.
38769         * nptl/tst-sem7.c: Likewise.
38770         * nptl/tst-sem8.c: Likewise.
38771         * nptl/tst-sem9.c: Likewise.
38772         * nss/test-netdb.c: Likewise.
38773         * posix/tst-fnmatch.c: Likewise.
38774         * posix/tst-getlogin.c: Likewise.
38775         * posix/tst-gnuglob.c: Likewise.
38776         * posix/tst-mmap.c: Likewise.
38777         * pwd/tst-getpw.c: Likewise.
38778         * resolv/tst-inet_ntop.c: Likewise.
38779         * rt/tst-timer.c: Likewise.
38780         * stdio-common/test-fseek.c: Likewise.
38781         * stdio-common/test-popen.c: Likewise.
38782         * stdio-common/test-vfprintf.c: Likewise.
38783         * stdio-common/tst-cookie.c: Likewise.
38784         * stdio-common/tst-fileno.c: Likewise.
38785         * stdio-common/tst-gets.c: Likewise.
38786         * stdio-common/tst-obprintf.c: Likewise.
38787         * stdio-common/tst-perror.c: Likewise.
38788         * stdio-common/tst-sprintf2.c: Likewise.
38789         * stdio-common/tst-sprintf3.c: Likewise.
38790         * stdio-common/tst-sprintf.c: Likewise.
38791         * stdio-common/tst-swprintf.c: Likewise.
38792         * stdio-common/tst-tmpnam.c: Likewise.
38793         * stdio-common/tst-unbputc.c: Likewise.
38794         * stdio-common/tst-wc-printf.c: Likewise.
38795         * stdlib/tst-environ.c: Likewise.
38796         * stdlib/tst-fmtmsg.c: Likewise.
38797         * stdlib/tst-limits.c: Likewise.
38798         * stdlib/tst-rand48-2.c: Likewise.
38799         * stdlib/tst-rand48.c: Likewise.
38800         * stdlib/tst-random2.c: Likewise.
38801         * stdlib/tst-random.c: Likewise.
38802         * stdlib/tst-strtol.c: Likewise.
38803         * stdlib/tst-strtoll.c: Likewise.
38804         * stdlib/tst-tls-atexit.c: Likewise.
38805         * stdlib/tst-xpg-basename.c: Likewise.
38806         * string/test-ffs.c: Likewise.
38807         * string/tst-bswap.c: Likewise.
38808         * string/tst-inlcall.c: Likewise.
38809         * string/tst-strtok.c: Likewise.
38810         * string/tst-strxfrm.c: Likewise.
38811         * sysdeps/x86_64/tst-audit10.c: Likewise.
38812         * sysdeps/x86_64/tst-audit3.c: Likewise.
38813         * sysdeps/x86_64/tst-audit4.c: Likewise.
38814         * sysdeps/x86_64/tst-audit5.c: Likewise.
38815         * time/tst-ftime_l.c: Likewise.
38816         * time/tst-getdate.c: Likewise.
38817         * time/tst-mktime3.c: Likewise.
38818         * time/tst-mktime.c: Likewise.
38819         * time/tst-posixtz.c: Likewise.
38820         * time/tst-strptime2.c: Likewise.
38821         * time/tst-strptime3.c: Likewise.
38822         * wcsmbs/tst-btowc.c: Likewise.
38823         * wcsmbs/tst-mbrtowc.c: Likewise.
38824         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38825         * wcsmbs/tst-wchar-h.c: Likewise.
38826         * wcsmbs/tst-wcpncpy.c: Likewise.
38827         * wcsmbs/tst-wcrtomb.c: Likewise.
38828         * wcsmbs/tst-wcsnlen.c: Likewise.
38829         * wcsmbs/tst-wcstof.c: Likewise.
38831 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38833         [BZ #14132]
38834         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38835         INTDEF.
38836         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38837         declaration.
38838         (_dl_mcount): Use rtld_hidden_proto.
38839         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38840         _dl_mcount.
38841         * elf/rtld.c (_rtld_global_ro): Likewise.
38843         [BZ #14132]
38844         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38845         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38846         of _dl_init_internal.
38847         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38848         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38849         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38850         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38851         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38852         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38853         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38854         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38855         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38856         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38857         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38858         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38859         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38860         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38861         * sysdeps/tile/dl-start.S (_start): Likewise.
38862         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38863         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38865         [BZ #14132]
38866         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38867         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38868         (rtld_progname): Make macro definition unconditional.
38869         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38870         INTDEF.
38871         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38872         (dl_main): Likewise.
38873         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38874         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38875         instead of _dl_argv_internal.
38876         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38877         __GI__dl_argv instead of INTUSE(_dl_argv).
38878         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38879         __GI__dl_argv instead of _dl_argv_internal.
38881         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38882         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38883         macro.
38884         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38885         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38886         New macro.
38887         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38888         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38889         macro.
38890         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38891         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38893 2014-11-04  Andreas Schwab  <schwab@suse.de>
38895         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38897 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38899         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38900         mtvsrd instruction in binary form.
38902 2014-11-03  Andreas Schwab  <schwab@suse.de>
38904         [BZ #17522]
38905         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38906         for less than MB_LEN_MAX use a local buffer of that size.
38907         * libio/tst-fputws.c: New file.
38908         * libio/Makefile (tests): Add tst-fputws.
38910 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38912         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38913         the size of the fpu_fr.fpu_dregs[] array.
38915 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38917         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38918         (__nanosleep): Do not define as alias.
38919         (nanosleep): Define as alias of __nanosleep.
38920         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38921         __libc_nanosleep name.
38923 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38925         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38926         install.texi in comment.
38928 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38930         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38931         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38932         ... add here and use lwsync or sync ...
38933         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38934         ... and add here using lwsync.
38936 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38938         * elf/dl-machine-reject-phdr.h: New file.
38939         * elf/dl-load.c: #include that.
38940         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38941         if that returned true.
38943 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38945         [BZ #17496]
38946         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38947         gen-as-const-headers chunk.  Add a big scare comment after the last
38948         safe place to touch before-compile.
38950 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38952         * manual/install.texi (Tools for Compilation): Update autoconf
38953         version requirements.
38954         * INSTALL: Regenerated.
38956         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38957         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38958         (__libc_pselect): Likewise.
38960         [BZ #14138]
38961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38966 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38968         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38969         correct barrier instruction.
38970         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38971         Likewise.
38972         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38973         Likewise.
38975 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38977         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38978         after defining inlines.  Instead, just use parens to defeat macro
38979         expansion of __isctype in its declaration.
38981 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38983         * include/sys/uio.h (__libc_readv): Remove declaration.
38984         (__libc_writev): Likewise.
38985         * misc/readv.c (__libc_readv): Rename to __readv.
38986         (__readv): Do not define as alias.
38987         (readv): Define as alias of __readv.
38988         * misc/writev.c (__libc_writev): Rename to __writev.
38989         (__writev): Do not define as alias.
38990         (writev): Define as alias of __writev.
38991         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38992         (__readv): Do not define as alias.
38993         (readv): Define unconditionally as alias of __readv.
38994         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38995         (__writev): Do not define as alias.
38996         (writev): Define unconditionally as alias of __writev.
38997         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38998         name.
38999         (writev): Do not define __libc_writev name.
39001 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39003         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39004         (convert_charseq): New function, broken out of ...
39005         (use_from_charmap): ... here.  Call it.
39006         (use_to_charmap): Use convert_charseq and free instead of duplicating
39007         its code with a variable-length stack struct.
39009 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39011         * include/fcntl.h (__libc_creat): Remove declaration.
39012         * io/creat.c (__libc_creat): Rename to creat.
39013         (creat): Do not define as alias.
39014         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39015         of creat instead of __libc_creat.
39016         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39017         to creat.
39018         (creat): Do not define as alias.
39019         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39020         __libc_creat.
39021         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39022         __libc_creat name.
39023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39024         Likewise.
39026 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39028         * manual/llio.texi: Add comments discussing why write() may be
39029         considered MT-unsafe on Linux.
39031 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39033         * dl-load.c (local_strdup): Remove.
39034         (expand_dynamic_string_token): Use __strdup.
39035         (decompose_rpath): Likewise.
39036         (_dl_map_object): Likewise.
39038 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39040         [BZ #14132]
39041         * sysdeps/generic/unwind-dw2-fde.c
39042         (__register_frame_info_bases_internal): Do not declare.
39043         (__register_frame_info_table_bases_internal): Likewise.
39044         (__deregister_frame_info_bases_internal): Likewise.
39045         (__register_frame_info_bases): Declare and use hidden_proto before
39046         definition.  Use hidden_def instead of INTDEF.
39047         (__register_frame_info_table_bases): Likewise.
39048         (__deregister_frame_info_bases): Likewise.
39049         (__register_frame_info): Do not use INTUSE.
39050         (__register_frame): Likewise.
39051         (__register_frame_info_table): Likewise.
39052         (__register_frame_table): Likewise.
39053         (__deregister_frame_info): Likewise.
39054         (__deregister_frame): Likewise.
39056 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39058         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39059         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39060         not undefine.
39061         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39062         Likewise.
39063         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39064         Likewise.
39066 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39068         [BZ #14138]
39069         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39070         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39071         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39072         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39073         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39074         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39075         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39076         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39077         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39078         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39079         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39080         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39081         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39082         syscall.
39083         (setfsuid): Likewise.
39084         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39085         (setfsuid): Likewise.
39086         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39087         (setfsuid): Likewise.
39088         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39089         Likewise.
39090         (setfsuid): Likewise.
39091         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39092         (setfsuid): Likewise.
39093         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39094         Likewise.
39095         (setfsuid): Likewise.
39097 2014-10-27  Andreas Schwab  <schwab@suse.de>
39099         [BZ #17501]
39100         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39101         check for Slow_SSE4_2 feature bit.
39102         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39103         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39104         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39105         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39107 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39109         * configure.ac: Validate compiler version with a empirical test of
39110         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39111         $CC -v output.
39112         * configure: Regenerated.
39114         * inet/htons.c (htons): Prototypify.
39115         * inet/htonl.c (htonl): Likewise.
39117 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39119         * string/strncat.c (strncat): Improve performance by using strlen.
39121 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39123         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39125 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39127         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39128         Call libc_fetestexcept_aarch64.
39130 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39132         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39133         Call libc_feholdexcept_aarch64.
39135 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39137         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39138         Call get_rounding_mode.
39140 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39142         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39143         Simplify logic.
39145 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39147         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39148         Simplify logic.
39150 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39152         [BZ #14138]
39153         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39154         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39155         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39156         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39157         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39158         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39159         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39160         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39161         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39162         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39163         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39164         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39165         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39166         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39167         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39168         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39169         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39170         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39171         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39172         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39173         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39174         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39175         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39176         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39177         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39178         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39179         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39180         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39181         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39182         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39183         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39184         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39185         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39186         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39187         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39188         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39189         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39190         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39191         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39192         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39193         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39194         syscall.
39195         (geteuid): Likewise.
39196         (getgid): Likewise.
39197         (getuid): Likewise.
39198         (getresgid): Likewise.
39199         (getresuid): Likewise.
39200         (getgroups): Likewise.
39201         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39202         (geteuid): Likewise.
39203         (getgid): Likewise.
39204         (getuid): Likewise.
39205         (getresgid): Likewise.
39206         (getresuid): Likewise.
39207         (getgroups): Likewise.
39208         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39209         (geteuid): Likewise.
39210         (getgid): Likewise.
39211         (getuid): Likewise.
39212         (getresgid): Likewise.
39213         (getresuid): Likewise.
39214         (getgroups): Likewise.
39215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39216         Likewise.
39217         (geteuid): Likewise.
39218         (getgid): Likewise.
39219         (getuid): Likewise.
39220         (getresgid): Likewise.
39221         (getresuid): Likewise.
39222         (getgroups): Likewise.
39223         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39224         (geteuid): Likewise.
39225         (getgid): Likewise.
39226         (getuid): Likewise.
39227         (getresgid): Likewise.
39228         (getresuid): Likewise.
39229         (getgroups): Likewise.
39230         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39231         Likewise.
39232         (geteuid): Likewise.
39233         (getgid): Likewise.
39234         (getuid): Likewise.
39235         (getgroups): Likewise.
39237         [BZ #14138]
39238         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39239         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39240         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39241         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39242         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39243         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39244         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39245         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39246         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39247         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39248         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39249         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39250         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39251         __chown.
39252         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39253         (lchown): Likewise.
39254         (fchown): Likewise.
39255         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39256         Likewise.
39257         (lchown): Likewise.
39258         (fchown): Likewise.
39259         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39260         (lchown): Likewise.
39261         (fchown): Likewise.
39262         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39263         Likewise.
39264         (lchown): Likewise.
39265         (fchown): Likewise.
39267 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39269         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39270         Simplify logic.
39272 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39274         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39275         Cleanup logic.
39277 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39279         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39280         Remove unused include.
39282 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39284         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39285         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39286         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39287         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39289 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39290             Helge Deller <deller@gmx.de>
39292         [BZ #17508]
39293         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39294         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39295         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39297 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39299         [BZ #14132]
39300         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39301         Remove macro definition.
39302         (__ashrdi3_v_glibc20): Likewise.
39303         (__lshrdi3_v_glibc20): Likewise.
39304         (__cmpdi2_v_glibc20): Likewise.
39305         (__ucmpdi2_v_glibc20): Likewise.
39306         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39307         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39308         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39309         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39310         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39311         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39313 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39315         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39316         old GNU extension [0] syntax.
39317         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39318         alloca rather than an array member with variable length.
39319         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39320         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39321         (parse_opt): ... here.  Likewise use alloca there.
39322         Validate the -i argument before checking for rootness.
39323         (send_shutdown): New function, broken out of ...
39324         (parse_opt): ... here.
39326 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39328         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39329         macro to get at the _rt_local_ro field.
39330         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39331         ([PIC] case) or _dl_hwcap ([!PIC] case).
39332         * sysdeps/arm/setjmp.S: Likewise.
39334         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39335         * sysdeps/arm/configure.ac: New check to define it.
39336         * sysdeps/arm/configure: Regenerated.
39337         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39338         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39339         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39340         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39341         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39342         Use move/movt pair instead of a load.
39343         (LDST_GLOBAL): Macro removed.
39344         (LDR_GLOBAL): New macro replaces it.
39345         (LDR_HIDDEN): New macro.
39346         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39347         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39349         * setjmp/tst-setjmp-static.c: New file.
39350         * setjmp/Makefile (tests): Add it.
39351         (tests-static): New variable.
39353 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39355         [BZ #17485]
39356         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39358 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39360         [BZ #14132]
39361         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39363 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39365         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39367 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39369         * io/fts.c (dirent_not_directory): New function.
39370         (fts_build): Call it.
39372 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39374         * nptl/version.c (__nptl_main): Use normal __write rather than
39375         INTERNAL_SYSCALL.
39376         (banner): Update copyright years.
39378         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39379         gettimeofday.
39380         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39381         * nptl/pthread_cond_timedwait.c: Likewise.
39382         * nptl/pthread_mutex_timedlock.c: Likewise.
39383         * nptl/sem_timedwait.c: Likewise.
39385         * sysdeps/nptl/bits/libc-lock.h
39386         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39387         (__libc_lock_init_recursive): Return void, not 0.
39388         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39389         (__libc_rwlock_init): Likewise.
39390         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39392 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39394         [BZ #15215]
39395         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39396         (__pthread_once_slow): ... here.
39397         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39398         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39400 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39402         [BZ #15215]
39403         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39404         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39405         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39406         * nptl/pthread_once.c (__pthread_once): Likewise.
39407         Update comments.
39409 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39411         [BZ #14138]
39412         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39413         name.
39414         (writev): Use __libc_writev as strong name.
39415         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39416         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39418 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39420         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39422         * sysdeps/i386/nptl/tls.h
39423         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39424         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39425         New macros.
39426         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39427         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39428         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39429         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39430         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39431         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39433         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39434         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39435         on [__NR_futex].
39436         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39437         broken out of ...
39438         (__pthread_mutex_init): ... here.  Call it.
39439         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39440         Conditionalize PI cases on [__NR_futex].
39441         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39442         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39443         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39445         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39446         conditional on [SIGSETXID].
39447         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39448         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39449         is defined.  Likewise for SIGSETXID.
39450         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39451         Conditionalize definitions on [SIGSETXID].
39452         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39453         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39454         unblocking on [SIGCANCEL].
39456         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39457         [__NR_set_robust_list].
39459 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39461         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39462         (do_compare): Likewise.
39464 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39466         [BZ #15884]
39467         * string/strcoll_l.c: Don't include stdio.h.
39468         (coll_seq): Remove members idxarr and rulearr.
39469         (get_next_seq_cached): Remove function.
39470         (get_next_seq): Likewise.
39471         (get_next_seq_nocache): Rename to get_next_seq.
39472         (do_compare): Remove function.
39473         (do_compare_nocache): Rename to do_compare.
39474         (STRCOLL): Remove weight and rules cache.
39476 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39478         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39479         * sysdeps/arm/sfp-machine.h: ... to here.
39480         * sysdeps/arm/Implies: Remove arm/soft-fp.
39482 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39484         * conform/data/sys/utsname.h-data (*_t): Allow.
39485         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39486         [POSIX] (WEXITED): Do not expect constant.
39487         [POSIX] (WSTOPPED): Likewise.
39488         [POSIX] (WNOHANG): Likewise.
39489         [POSIX] (WNOWAIT): Likewise.
39490         [POSIX] (siginfo_t): Do not expect type or elements.
39491         [POSIX] (pid_t): Do not expect type.
39492         [POSIX] (signal.h): Do not allow header.
39493         [POSIX] (sys/resource.h): Likewise.
39494         [POSIX] (si_*): Do not allow pattern.
39495         [POSIX] (W*): Likewise.
39496         [POSIX] (P_*): Likewise.
39497         [POSIX] (BUS_*): Likewise.
39498         [POSIX] (CLD_*): Likewise.
39499         [POSIX] (FPE_*): Likewise.
39500         [POSIX] (ILL_*): Likewise.
39501         [POSIX] (POLL_*): Likewise.
39502         [POSIX] (SEGV_*): Likewise.
39503         [POSIX] (SI_*): Likewise.
39504         [POSIX] (TRAP_*): Likewise.
39505         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39506         variable.
39508 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39510         [BZ #12926]
39511         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39512         infinite loop when __recvmsg returns 0.
39514 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39516         * CANCEL-FCT-WAIVE: Remove file.
39517         * CANCEL-FILE-WAIVE: Likewise.
39519         [BZ #14132]
39520         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39521         instead of INTVARDEF.
39522         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39523         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39524         rtld_hidden_data_def instead of INTVARDEF.
39525         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39526         * elf/dl-deps.c (expand_dst): Likewise.
39527         * elf/dl-load.c (_dl_dst_count): Likewise.
39528         (_dl_dst_substitute): Likewise.
39529         (decompose_rpath): Likewise.
39530         (_dl_init_paths): Likewise.
39531         (open_path): Likewise.
39532         (_dl_map_object): Likewise.
39533         * elf/rtld.c (dl_main): Likewise.
39534         (process_dl_audit): Likewise.
39535         (process_envvars): Likewise.
39536         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39537         Remove declaration.
39538         (__libc_enable_secure): Use rtld_hidden_proto.
39540 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39542         * elf/dl-load.c
39543         (add_path): New function broken out of _dl_rtld_di_serinfo.
39544         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39546 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39548         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39549         parentheses around macro arguments.
39550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39553         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39555         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39556         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39557         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39558         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39561         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39562         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39563         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39564         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39565         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39566         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39573         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39574         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39575         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39579         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39580         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39581         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39582         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39583         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39584         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39585         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39586         Likewise.
39587         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39594         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39595         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39596         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39597         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39598         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39599         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39604         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39608         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39609         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39612         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39613         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39614         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39615         (_FP_FRAC_SRS_1): Likewise.
39616         (_FP_FRAC_CLZ_1): Likewise.
39617         (_FP_MUL_MEAT_1_imm): Likewise.
39618         (_FP_MUL_MEAT_1_wide): Likewise.
39619         (_FP_MUL_MEAT_1_hard): Likewise.
39620         (_FP_SQRT_MEAT_1): Likewise.
39621         (_FP_FRAC_ASSEMBLE_1): Likewise.
39622         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39623         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39624         (__FP_CLZ_2): Likewise.
39625         (_FP_MUL_MEAT_2_wide): Likewise.
39626         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39627         (_FP_MUL_MEAT_2_gmp): Likewise.
39628         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39629         (_FP_SQRT_MEAT_2): Likewise.
39630         (_FP_FRAC_ASSEMBLE_2): Likewise.
39631         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39632         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39633         (_FP_FRAC_CLZ_4): Likewise.
39634         (_FP_MUL_MEAT_4_wide): Likewise.
39635         (_FP_MUL_MEAT_4_gmp): Likewise.
39636         (_FP_SQRT_MEAT_4): Likewise.
39637         (_FP_FRAC_ASSEMBLE_4): Likewise.
39638         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39639         * soft-fp/op-common.h (_FP_CMP): Likewise.
39640         (_FP_CMP_EQ): Likewise.
39641         (_FP_CMP_UNORD): Likewise.
39642         (_FP_TO_INT): Likewise.
39643         (_FP_FROM_INT): Likewise.
39644         [!__FP_CLZ] (__FP_CLZ): Likewise.
39645         (_FP_DIV_HELP_imm): Likewise.
39646         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39647         Likewise.
39648         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39651         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39655         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39659         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39660         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39663         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39664         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39672         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39677         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39678         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39680         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39681         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39682         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39683         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39684         (FP_UNPACK_RAW_SP): Likewise.
39685         (FP_PACK_RAW_S): Likewise.
39686         (FP_PACK_RAW_SP): Likewise.
39687         (FP_UNPACK_S): Likewise.
39688         (FP_UNPACK_SP): Likewise.
39689         (FP_UNPACK_SEMIRAW_S): Likewise.
39690         (FP_UNPACK_SEMIRAW_SP): Likewise.
39691         (FP_PACK_S): Likewise.
39692         (FP_PACK_SP): Likewise.
39693         (FP_PACK_SEMIRAW_S): Likewise.
39694         (FP_PACK_SEMIRAW_SP): Likewise.
39695         (_FP_SQRT_MEAT_S): Likewise.
39696         (FP_CMP_S): Likewise.
39697         (FP_CMP_EQ_S): Likewise.
39698         (FP_CMP_UNORD_S): Likewise.
39699         (FP_TO_INT_S): Likewise.
39700         (FP_FROM_INT_S): Likewise.
39702         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39704         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39705         (FP_EX_INVALID_IMZ): Likewise.
39706         (FP_EX_INVALID_IMZ_FMA): Likewise.
39707         (FP_EX_INVALID_ISI): Likewise.
39708         (FP_EX_INVALID_ZDZ): Likewise.
39709         (FP_EX_INVALID_IDI): Likewise.
39710         (FP_EX_INVALID_SQRT): Likewise.
39711         (FP_EX_INVALID_CVI): Likewise.
39712         (FP_EX_INVALID_VC): Likewise.
39713         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39714         "invalid" exceptions.
39715         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39716         (_FP_ADD_INTERNAL): Likewise.
39717         (_FP_MUL): Likewise.
39718         (_FP_FMA): Likewise.
39719         (_FP_DIV): Likewise.
39720         (_FP_CMP_CHECK_NAN): Likewise.
39721         (_FP_SQRT): Likewise.
39722         (_FP_TO_INT): Likewise.
39723         (FP_EXTEND): Likewise.
39725 2014-10-09  Allan McRae  <allan@archlinux.org>
39727         * po/fr.po: Update French translation from translation project.
39729 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39731         [BZ #14132]
39732         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39733         of INTDEF.
39734         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39735         (__cxa_atexit): Use libc_hidden_proto.
39736         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39738         [BZ #14132]
39739         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39740         declaration.
39741         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39742         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39743         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39744         [!_ISOMAC] (__iswctype_internal): Likewise.
39745         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39746         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39747         alias.
39748         (fcntl): Remove __fcntl_internal alias.
39749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39750         __connect_internal alias.
39751         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39752         Likewise.
39754         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39755         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39756         FP_DENORM_ZERO.
39757         (_FP_CHECK_FLUSH_ZERO): New macro.
39758         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39759         (_FP_CMP): Likewise.
39760         (_FP_CMP_EQ): Likewise.
39761         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39762         FP_DENORM_ZERO.
39763         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39764         (FP_TRUNC): Likewise.
39766         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39767         treated as invalid conversion, not as normal exponent.
39769         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39770         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39771         (_FP_CMP_EQ): Likewise.
39772         (_FP_CMP_UNORD): Likewise.
39773         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39774         (FP_CMP_EQ_D): Likewise.
39775         (FP_CMP_UNORD_D): Likewise.
39776         * soft-fp/extended.h (FP_CMP_E): Likewise.
39777         (FP_CMP_EQ_E): Likewise.
39778         (FP_CMP_UNORD_E): Likewise.
39779         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39780         (FP_CMP_EQ_Q): Likewise.
39781         (FP_CMP_UNORD_Q): Likewise.
39782         * soft-fp/single.h (FP_CMP_S): Likewise.
39783         (FP_CMP_EQ_S): Likewise.
39784         (FP_CMP_UNORD_S): Likewise.
39785         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39786         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39787         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39788         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39789         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39790         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39791         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39792         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39793         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39794         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39795         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39796         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39797         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39798         to FP_CMP_Q.
39799         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39800         FP_CMP_Q.
39801         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39802         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39803         FP_CMP_EQ_Q.
39804         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39805         FP_CMP_Q.
39806         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39807         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39808         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39809         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39810         FP_CMP_EQ_Q.
39811         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39812         FP_CMP_Q.
39813         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39814         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39815         FP_CMP_EQ_Q.
39816         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39817         FP_CMP_Q.
39818         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39819         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39820         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39821         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39822         FP_CMP_EQ_Q.
39824         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39825         a subnormal result, set the underflow exception if trapping on
39826         underflow is enabled.
39827         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39828         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39829         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39830         redefine to 0.
39831         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39832         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39833         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39834         * soft-fp/extendxftf2.c (__extendxftf2): Use
39835         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39837         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39838         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39839         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39840         FP_HANDLE_EXCEPTIONS.
39841         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39842         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39843         FP_HANDLE_EXCEPTIONS.
39844         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39845         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39846         FP_HANDLE_EXCEPTIONS.
39847         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39848         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39849         FP_HANDLE_EXCEPTIONS.
39851 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39853         [BZ #14132]
39854         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39855         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39856         use INTUSE.
39857         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39858         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39859         Remove alias.
39860         (__adjtimex): Define using libc_hidden_ver.
39861         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39862         Remove declaration.
39863         (ntp_gettime): Call __adjtimex directly.
39864         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39865         Remove declaration.
39866         (ntp_gettimex): Call __adjtimex directly.
39867         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39868         __adjtimex_internal alias.
39870 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39872         [BZ #17460]
39873         * nscd/nscd.c (more_help): Rewrite list of tables collection
39874         using xstrdup and asprintf.
39876         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39878 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39879             Roland McGrath  <roland@hack.frob.com>
39881         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39882         (do_lookup_unique): ... local function 'enter' here; update callers.
39884 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39886         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39887         compat_symbol calls on [SHARED].
39888         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39889         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39890         Remove.
39891         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39892         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39893         (oldsetrlimit): Remove.
39894         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39896         (lchown): New syscall entry.
39897         (oldsetrlimit): Remove.
39898         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39900         (oldsetrlimit): Remove.
39901         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39903         [BZ #14138]
39904         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39905         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39906         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39907         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39908         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39909         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39910         (fchown): Likewise.
39911         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39912         (fchown): Likewise.
39913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39914         Likewise.
39916 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39919         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39920         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39921         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39922         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39923         Likewise.
39924         (__old_sem_post): Likewise.
39926 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39928         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39929         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39930         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39931         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39932         Use INLINE_VSYSCALL macro.
39933         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39934         __vdso_clock_gettime.
39935         * sysdeps/unix/sysv/linux/tile/init-first.c
39936         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39937         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39938         __vdso_clock_gettime.
39940         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39941         to set up frame more cleanly.
39943         * sysdeps/tile/memcmp.c: New file.
39945         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39947         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39948         * sysdeps/tile/tilegx/strcasestr.c: New file.
39949         * sysdeps/tile/tilegx/strnlen.c: New file.
39950         * sysdeps/tile/tilegx/strstr.c: New file.
39952         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39954 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39956         * nptl/tst-setuid3.c: Write errors to stdout.
39958 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39960         * elf/dl-deps.c
39961         (preload): New functions broken out of _dl_map_object_deps.
39962         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39964 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39966         [BZ #14138]
39967         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39968         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39970 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39972         * sysdeps/mips/strcmp.S: New.
39974 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39976         [BZ #14138]
39977         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39978         (linkat): Likewise.
39979         (mkdirat): Likewise.
39980         (readlinkat): Likewise.
39981         (renameat): Likewise.
39982         (symlinkat): Likewise.
39983         (unlinkat): Likewise.
39984         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39985         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39986         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39987         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39988         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39989         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39990         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39992 2014-09-30  Will Newton  <will.newton@linaro.org>
39994         * math/math.h: Define long double math functions if
39995         _LIBC_TEST is defined.
39996         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39998         * localedata/Makefile: Move assignment to tests-special
39999         into an ifdef testing run-built-tests.
40000         * timezone/Makefile: Likewise.
40002 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40004         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40005         with $(BASH) not $(SHELL).
40007 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40008             Matthew LeGendre  <legendre1@llnl.gov>
40010         [BZ #17411]
40011         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40012         l_reloc_result.
40014 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40016         * stdio-common/printf_fp.c
40017         (hack_digit): New function, broken out of ...
40018         (__printf_fp): ... local function here.  Update call sites.
40019         hack_digit now takes an additional parameter that is a pointer
40020         to a struct of the referenced locals.  Those locals moved inside
40021         the struct and references updated.
40023 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40025         * aclocal.m4: Require autoconf 2.69.
40026         * configure: Regenerated.
40027         * sysdeps/aarch64/configure: Likewise.
40028         * sysdeps/alpha/configure: Likewise.
40029         * sysdeps/arm/armv7/configure: Likewise.
40030         * sysdeps/arm/configure: Likewise.
40031         * sysdeps/ia64/configure: Likewise.
40032         * sysdeps/mach/configure: Likewise.
40033         * sysdeps/mips/configure: Likewise.
40034         * sysdeps/s390/configure: Likewise.
40035         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40038         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40039         file.
40040         * sysdeps/ia64/configure.ac: Likewise.
40042 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40045         specify symbol version for ld.so.  Do not include entry for
40046         libpthread.
40047         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40048         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40049         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40051         [BZ #14171]
40052         * Makeconfig [$(build-shared) = yes]
40053         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40054         makefiles.
40055         [$(build-shared) = yes && $(soversions.mk-done) = t]
40056         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40057         [$(build-shared) = yes && $(soversions.mk-done) = t]
40058         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40059         to Makerules.
40060         [$(build-shared) = yes && $(soversions.mk-done) = t]
40061         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40062         here.
40063         [$(build-shared) = yes && $(soversions.mk-done) = t]
40064         (common-generated): Don't append gnu/lib-names.h and
40065         gnu/lib-names.stmp here.
40066         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40067         (lib-names-h-abi): New variable.
40068         [$(build-shared) = yes && $(soversions.mk-done) = t]
40069         (lib-names-stmp-abi): Likewise.
40070         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40071         abi-variants] (before-compile): Append
40072         $(common-objpfx)$(lib-names-h-abi).
40073         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40074         abi-variants] (common-generated): Append gnu/lib-names.h.
40075         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40076         abi-variants] (install-others-nosubdir): Depend on
40077         $(inst_includedir)/$(lib-names-h-abi).
40078         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40079         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40080         [$(build-shared) = yes && $(soversions.mk-done) = t]
40081         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40082         [$(build-shared) = yes && $(soversions.mk-done) = t]
40083         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40084         [$(build-shared) = yes && $(soversions.mk-done) = t]
40085         (common-generated): Append $(lib-names-h-abi) and
40086         $(lib-names-stmp-abi).
40087         * scripts/lib-names.awk: Do not handle multi being set.
40088         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40089         Remove variable.
40090         (abi-lp64_be-ld-soname): Likewise.
40091         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40092         Likewise.
40093         (abi-hard-ld-soname): Likewise.
40094         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40095         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40096         Remove variable.
40097         (abi-o32_hard-ld-soname): Likewise.
40098         (abi-o32_soft_2008-ld-soname): Likewise.
40099         (abi-o32_hard_2008-ld-soname): Likewise.
40100         (abi-n32_soft-ld-soname): Likewise.
40101         (abi-n32_hard-ld-soname): Likewise.
40102         (abi-n32_soft_2008-ld-soname): Likewise.
40103         (abi-n32_hard_2008-ld-soname): Likewise.
40104         (abi-n64_soft-ld-soname): Likewise.
40105         (abi-n64_hard-ld-soname): Likewise.
40106         (abi-n64_soft_2008-ld-soname): Likewise.
40107         (abi-n64_hard_2008-ld-soname): Likewise.
40108         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40109         Likewise.
40110         (abi-64-v2-ld-soname): Likewise.
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40112         ld.so entries.
40113         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40114         variable.
40115         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40116         entry.
40117         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40118         variable.
40119         (abi-64-ld-soname): Likewise.
40120         (abi-x32-ld-soname): Likewise.
40121         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40122         entry.
40123         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40125 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40127         [BZ #14138]
40128         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40129         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40130         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40131         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40132         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40133         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40134         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40135         syscall entry for GLIBC_2.2 symbol version.
40136         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40137         Likewise.
40138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40139         (setrlimit): Likewise.
40140         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40141         Likewise.
40143 2014-09-23  Will Newton  <will.newton@linaro.org>
40145         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40146         _LINUX_ARM_SYSDEP_H include guard too.
40147         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40148         define.
40150 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40152         * sysdeps/unix/sysv/linux/eventfd.c:
40153         Make first argument unsigned.
40154         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40155         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40157 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40159         [BZ #16852]
40160         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40161         * socket/sys/socket.h: Likewise.
40162         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40164 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40166         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40168 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40170         * time/tst-ftime.c: New test.
40171         * time/Makefile (tests): Add tst-ftime.
40173 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40175         * soft-fp/extended.h: Fix comment formatting.
40176         * soft-fp/op-1.h: Likewise.
40177         * soft-fp/op-2.h: Likewise.
40178         * soft-fp/op-4.h: Likewise.
40179         * soft-fp/op-8.h: Likewise.
40180         * soft-fp/op-common.h: Likewise.
40181         * soft-fp/soft-fp.h: Likewise.
40183         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40185 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40187         [BZ #6652]
40188         * Makeconfig (soversions-default-setname): Remove variable.
40189         ($(common-objpfx)soversions.i): Don't pass default_setname to
40190         soversions.awk.
40191         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40192         oldest_abi to abi-versions.awk.
40193         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40194         * config.make.in (oldest-abi): Remove variable.
40195         * configure.ac (--enable-oldest-abi): Remove configure option.
40196         * configure: Regenerated.
40197         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40198         text.
40199         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40200         * scripts/soversions.awk: Do not handle default_setname variable.
40201         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40202         variable.
40203         * sysdeps/mach/hurd/configure: Regenerated.
40204         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40205         variable.
40206         * sysdeps/unix/sysv/linux/configure: Regenerated.
40208 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40210         * elf/Makefile (CFLAGS-interp.c): Remove.
40211         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40212         path string.
40213         * elf/interp.c: Include generated runtime-linker.h
40215         * Makerules (lib%.so): Don't include $(+interp) in
40216         prerequisites.
40217         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40218         * dlfcn/eval.c: Remove file.
40220         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40221         macros.
40223         [BZ #17266]
40224         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40225         4.2 and newer.
40227         [BZ #17370]
40228         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40230 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40231             Jakub Jelinek  <jakub@redhat.com>
40233         [BZ #17266]
40234         * libio/stdio.h: Check definition of __fortify_function
40235         instead of __extern_always_inline to include bits/stdio2.h.
40236         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40237         check if __extern_always_inline is defined.
40238         [__USE_MISC || __USE_XOPEN]: Likewise.
40239         [__USE_ISOC99] Likewise.
40240         * misc/sys/cdefs.h (__fortify_function): Define only if
40241         __extern_always_inline is defined.
40242         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40243         __extern_always_inline and __extern_inline only for g++-4.3
40244         and newer or a compatible gcc.
40246 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40248         [BZ #17371]
40249         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40250         last change to handle zero prefix length.
40252 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40254         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40255         _SC_REGEX_VERSION.
40257         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40258         _POSIX_RAW_SOCKETS.
40260 2014-09-13  Allan McRae  <allan@archlinux.org>
40262         * po/ru.po: Update Russian translation from translation project.
40264 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40266         * locale/programs/locale.c (show_locale_vars): Inline local function
40267         into its sole call site.  Clean up some style nits.
40268         (print_item): New function, broken out of ...
40269         (show_info): ... local function here.  Clean up style nits.
40271         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40272         out of ...
40273         (set_class_defaults): ... local function set_default here.
40274         Define set_default as a macro locally to pass constant parameters.
40275         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40276         rather than a shared local.
40278         * stdlib/rpmatch.c (try): New function, broken out of ...
40279         (rpmatch): ... local function here.  Also, prototypify definition.
40281 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40283         * scripts/soversions.awk: Do not handle configuration names.
40284         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40285         vendor and os variables to soversions.awk.
40286         * configure.ac: Do not modify gnu-* host_os.
40287         * configure: Regenerated
40288         * shlib-versions: Remove first column with configuration names.
40289         * nptl/shlib-versions: Likewise.
40290         * nptl_db/shlib-versions: Likewise.
40291         * sysdeps/hppa/shlib-versions: Likewise.
40292         * sysdeps/m68k/shlib-versions: Likewise.
40293         * sysdeps/mach/hurd/shlib-versions: Likewise.
40294         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40295         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40296         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40297         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40298         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40299         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40300         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40301         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40303         Likewise.
40304         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40305         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40306         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40307         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40308         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40309         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40310         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40314         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40316         Regenerated.
40317         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40319         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40321         * shlib-versions: Remove OS-specific entries.  Moved to files in
40322         sysdeps.
40323         * sysdeps/mach/hurd/shlib-versions: New file.
40324         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40326         * nptl/shlib-versions: Remove architecture-specific entries.
40327         Moved to files in sysdeps.
40328         * shlib-versions: Likewise.
40329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40330         file.
40331         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40332         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40333         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40334         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40336         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40337         (UDP_NO_CHECK6_RX): Likewise.
40339 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40341         * sysdeps/posix/sysconf.c (__sysconf): Spell
40342         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40344 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40346         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40347         loading.
40348         * iconv/Versions (__gconv_transliterate): Export for use from
40349         gconv modules.
40350         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40351         (struct __gconv_trans_data, __gconv_trans_fct,
40352         __gconv_trans_context_fct, __gconv_trans_query_fct,
40353         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40354         definitions.
40355         (struct __gconv_step_data): Remove __trans member.
40356         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40357         longer hidden.  Remove unused trans_data argument.
40358         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40359         (__gconv_translit_find): Remove declaration.
40360         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40361         prototype.
40362         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40363         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40364         trans_data argument.  Add hidden definition.
40365         (__gconv_translit_find): Remove.
40366         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40367         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40368         * iconv/skeleton.c: Remove transliteration initialization.
40369         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40370         __gconv_step_data initialization.
40371         * libio/iofwide.c (__libio_translit_): Remove.
40372         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40373         * wcsmbs/btowc.c (__btowc): Likewise.
40374         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40375         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40376         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40377         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40378         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40379         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40380         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40381         * wcsmbs/wctob.c (wctob): Likewise.
40383 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40385         [BZ #16194]
40386         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40387         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40388         register usage.
40389         * sysdeps/x86/Makefile: Adjust.
40391 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40392             Roland McGrath  <roland@hack.frob.com>
40394         * locale/weight.h: Add include guard.
40395         (findidx): Make static rather than auto; take new parameters
40396         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40397         * locale/weightwc.h: Likewise.
40398         * posix/fnmatch_loop.c
40399         (FCT): Change type of EXTRA from int32_t to wint_t.
40400         Don't include either header inside the function.
40401         Call FINDIDX rather than findidx, and pass new arguments.
40402         #undef FINDIDX at the end of the file.
40403         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40404         FINDIDX before including fnmatch_loop.c for the non-wide version.
40405         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40406         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40407         for the wide version.
40408         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40409         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40410         Pass new arguments to findidx.
40411         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40412         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40413         Don't #include it inside the function.  Pass new arguments to findidx.
40414         * posix/regex_internal.h
40415         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40416         (re_string_elem_size_at): Don't #include it inside the function.
40417         Pass new arguments to findidx.
40418         * string/strcoll_l.c: #include WEIGHT_H at top level.
40419         (get_next_seq): Don't #include it inside the function.
40420         Pass new arguments to findidx.
40421         (get_next_seq_nocache): Likewise.
40422         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40423         (STRXFRM): Don't #include it inside the function.
40424         Pass new arguments to findidx.
40426 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40428         [BZ #17344]
40429         * malloc/malloc.c (unlink): Turn asserts into a call to
40430         malloc_printerr.
40432 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40434         [BZ #17370]
40435         * libio/wfileops (do_ftell_wide): Free OUT.
40437 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40439         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40441 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40443         [BZ #17363]
40444         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40445         group if the current group is empty.
40447 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40449         * benchtests/bench-memset.c (test_main): Add more test from size
40450         from 32 to 512 bytes.
40451         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40452         Add POWER8 memset object.
40453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40454         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40455         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40456         implementation.
40457         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40458         Likewise.
40459         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40460         multiarch POWER8 memset optimization.
40461         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40462         POWER8 memset optimization.
40464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40465         Remove bzero multiarch objects.
40466         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40469         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40470         Remove define.
40471         [__bzero]: Redefine to specific name.
40472         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40473         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40474         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40475         define.
40476         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40477         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40479 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40481         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40482         warnings into errors.
40484         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40485         __cxa_thread_atexit_impl prototype.
40487 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40489         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40490         Fix capitalization of error message.
40492 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40494         * sysdeps/mips/preconfigure: Modify ABI tests.
40496 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40498         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40500 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40501             Carlos O'Donell  <carlos@systemhalted.org>
40503         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40504         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40505         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40506         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40507         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40508         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40509         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40510         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40511         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40512         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40514         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40515         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40516         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40517         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40518         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40519         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40520         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40524         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40525         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40526         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40527         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40528         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40529         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40530         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40531         Deconditionalize the code that was previously under [RESET_PID].
40532         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40533         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40534         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40535         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40536         include sysdep.h.
40538 2014-09-08  Allan McRae  <allan@archlinux.org>
40540         * version.h (RELEASE): Set to "development".
40541         (VERSION): Set to "2.20.90"
40543 2014-09-07  Allan McRae  <allan@archlinux.org
40545         * version.h (RELEASE): Set to "stable".
40546         (VERSION): Set to "2.20"
40547         * include/features.h (__GLIBC_MINOR__): Set to 20.
40549         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40550         Liebler.
40552         * po/ko.po: Update Korean translation from translation project.
40554 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40556         [BZ #17354]
40557         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40558         macro for handling signed relocations.
40560 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40562         [BZ #17325]
40563         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40564         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40565         assert.
40566         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40567         * iconvdata/ibm935.c (BODY): Likewise.
40568         * iconvdata/ibm937.c (BODY): Likewise.
40569         * iconvdata/ibm939.c (BODY): Likewise.
40570         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40571         assert.
40572         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40573         script.
40574         * iconvdata/run-iconv-test.sh: New test loop for checking for
40575         decoder crashers.
40577 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40579         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40580         libm_hidden_ver.
40582 2014-09-01  Allan McRae  <allan@archlinux.org>
40584         * po/eo.po: Update Esperanto translation from translation project.
40586         * po/ca.po: Update Catalan translation from translation project.
40588 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40590         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40591         __proc_dostop call.
40593 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40595         [BZ #17319]
40596         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40597         to call set_thread_area instead of hand written asm.
40598         (__NR_set_thread_area): Removed define.
40599         (TLS_FLAG_WRITABLE): Likewise.
40600         (__ASSUME_SET_THREAD_AREA): Remove check.
40601         (TLS_EBX_ARG): Remove define.
40602         (TLS_LOAD_EBX): Likewise.
40604 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40606         Simplify atomicity of socket creation in bind.
40608         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40609         looking up the name after linking the file.
40611 2014-08-27  Allan McRae  <allan@archlinux.org>
40613         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40615 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40617         [BZ #17187]
40618         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40619         trans_compare, open_translit, __gconv_translit_find):
40620         Remove module loading code.
40622 2014-08-26  Allan McRae  <allan@archlinux.org>
40624         * po/vi.po: Update Vietnamese translation from translation project.
40626         * po/uk.po: Update Ukrainian translation from translation project.
40628         * po/fr.po: Update French translation from translation project.
40630         * po/ru.po: Update Russian translation from translation project.
40632         * po/pl.po: Update Polish translation from translation project.
40634         * po/cs.po: Update Czech translation from translation project.
40636         * po/de.po: Update German translation from translation project.
40638         * po/bg.po: Update Bulgarian translation from translation project.
40640         * po/sv.po: Update Sweedish translation from translation project.
40642         * po/nl.po: Update Dutch translation from translation project.
40644         * po/es.po: Update Spanish translation from translation project.
40646 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40648         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40650         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40651         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40652         (CPPFLAGS-iconvconfig): Likewise.
40653         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40655         * include/libc-symbols.h: Remove unnecessary check for
40656         NOT_IN_libc.
40657         * nptl/pthreadP.h: Likewise.
40658         * sysdeps/aarch64/setjmp.S: Likewise.
40659         * sysdeps/alpha/setjmp.S: Likewise.
40660         * sysdeps/arm/sysdep.h: Likewise.
40661         * sysdeps/i386/setjmp.S: Likewise.
40662         * sysdeps/m68k/setjmp.c: Likewise.
40663         * sysdeps/posix/getcwd.c: Likewise.
40664         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40666         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40667         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40668         * sysdeps/sh/sh3/setjmp.S: Likewise.
40669         * sysdeps/sh/sh4/setjmp.S: Likewise.
40670         * sysdeps/unix/alpha/sysdep.h: Likewise.
40671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40673         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40674         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40679         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40682         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40684         * sysdeps/x86_64/setjmp.S: Likewise.
40686 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40688         [BZ #17263]
40689         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40690         <stdint.h>.
40691         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40692         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40694 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40696         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40698         [BZ #17262]
40699         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40700         and __x86_64__ when disabling x87 inline functions.
40702 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40704         [BZ #17259]
40705         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40706         asm statement with __cpuid_count.
40708 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40710         * configure.ac: Change __ehdr_start code to dereference the struct.
40711         Run readelf on the output to look for relocations.
40712         * configure: Regenerated.
40714 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40716         [BZ #17261]
40717         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40718         value to 0.
40719         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40721 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40723         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40725 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40727         [BZ #16892]
40728         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40729         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40731 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40733         * malloc/malloc.c: Fix typo in comment.
40735 2014-08-09  Allan McRae  <allan@archlinux.org>
40737         * Regenerate libc.po.
40739 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40741         * intl/tst-gettext2.sh: Check every lang file for creation.
40743 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40745         * sysdeps/aarch64/fpu/math_private.h
40746         (libc_feholdsetround_noex_aarch64_ctx): New function.
40748 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40750         * sysdeps/arm/armv6/strcpy.S (strcpy):
40751         Fix performance issue in misaligned cases.
40753 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40755         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40756         Move definition from termios.h.
40757         (struct termio): Likewise.
40758         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40759         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40760         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40761         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40762         Likewise.
40763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40764         Move definition to ioctl-types.h
40765         (struct termio): Likewise.
40766         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40767         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40768         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40769         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40770         Likewise.
40772 2014-08-05  Richard Henderson  <rth@redhat.com>
40774         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40775         exceptions.
40776         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40777         Add fraiseexcpt.
40778         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40779         Use __feraiseexcept.
40780         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40781         Protect libm symbols with IS_IN_libm.
40783         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40785 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40787         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40789 2014-08-04  Will Newton  <will.newton@linaro.org>
40791         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40792         file.
40794 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40796         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40797         variants for each function.
40799 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40801         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40802         appended ...
40803         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40804         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40805         appended ...
40806         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40807         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40808         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40809         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40810         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40811         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40812         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40813         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40814         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40815         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40816         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40818         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40819         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40820         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40826         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40827         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40828         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40830         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40831         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40832         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40833         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40834         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40836         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40837         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40838         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40839         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40840         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40841         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40842         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40843         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40844         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40845         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40846         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40847         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40848         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40849         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40850         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40851         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40852         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40853         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40854         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40855         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40856         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40857         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40858         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40859         Update #include.
40860         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40861         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40863 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40865         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40866         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40867         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40868         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40869         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40870         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40872 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40874         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40875         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40876         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40877         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40879 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40881         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40882         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40883         (__libc_vfork): Define function under this name.
40884         (__vfork): Define as an alias.
40885         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40886         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40890         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40891         that was previously under [RESET_PID].
40892         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40894 2014-08-04  Andreas Schwab  <schwab@suse.de>
40896         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40898 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40900         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40901         (main): Likewise.
40903 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40905         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40907 2014-08-01  Richard Henderon  <rth@redhat.com>
40909         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40910         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40911         typo in exact zero test.
40912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40913         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40914         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40916 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40918         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40919         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40920         * sysdeps/arm/sysdep.h: ... here.
40921         [!__ASSEMBLER__]: Include <stdint.h>.
40923 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40925         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40926         (HAVE_WCTYPE_H): Likewise.
40927         (HAVE_ISWCTYPE): Likewise.
40928         (ENABLE_NLS): Likewise.
40929         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40930         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40932         * posix/regex_internal.c: Check if DEBUG is defined and is
40933         set.
40935         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40936         (HAVE_MBSRTOWCS): Likewise.
40937         * posix/fnmatch.c: Include string.h unconditionally.
40939 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40941         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40942         reversal.
40944 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40946         * sysdeps/generic/safe-fatal.h: New file.
40947         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40948         * nptl/forward.c: Include it.
40949         (__pthread_unwind): Use __safe_fatal as default action, rather
40950         than a bogus use of INTERNAL_SYSCALL that could never work.
40952         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40953         * configure.ac (libc_cv_builtin_trap): New test.
40954         * configure: Regenerated.
40955         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40956         (ABORT_INSTRUCTION): Define using __builtin_trap.
40958         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40959         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40960         * sysdeps/nptl/nptl-signals.h: New file.
40961         * nptl/pthreadP.h: Include <nptl-signals.h>.
40963 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40965         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40966         (ONE_DIRECTION): Define.
40967         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40968         (ONE_DIRECTION): Define.
40969         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40970         (ONE_DIRECTION): Define.
40972 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40974         * sysdeps/s390/Makefile: Delete file.
40975         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40976         * sysdeps/s390/__longjmp.c: Delete file.
40977         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40978         Remove fields __flags and __reserved.
40979         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40980         and add versioning.
40981         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40982         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40983         * sysdeps/s390/rtld-setjmp.S: Likewise.
40984         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40985         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40986         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40987         * sysdeps/s390/s390-32/setjmp.S: ... here.
40988         Add versioning.
40989         (__sigsetjmp): Remove setting __flags field.
40990         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40991         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40992         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40993         * sysdeps/s390/s390-64/setjmp.S: ... here.
40994         Add versioning.
40995         (__sigsetjmp): Remove setting __flags field.
40996         * sysdeps/s390/setjmp.S: Delete file.
40997         * sysdeps/s390/sigjmp.c: Likewise.
40998         * sysdeps/s390/v1-longjmp.c: Likewise.
40999         * sysdeps/s390/v1-setjmp.h: Likewise.
41000         * sysdeps/s390/v1-sigjmp.c: Likewise.
41001         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41002         Remove v1-longjmp_chk.
41003         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41004         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41005         Include debug/longjmp_chk.c and add versioning.
41006         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41007         Include nptl/pt-longjmp.c and add versioning.
41008         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41009         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41010         Include __longjmp.c.
41011         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41012         Move to ...
41013         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41014         (__getcontext): Remove setting __flags field.
41015         Add versioning.
41016         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41017         Don't restore upper high grps.
41018         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41019         Likewise.
41020         (__swapcontext): Remove setting uc_flags field.
41021         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41022         Delete file.
41023         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41024         Include __longjmp.c.
41025         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41026         Move to ...
41027         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41028         (__getcontext): Remove setting __flags field.
41029         Add versioning.
41030         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41031         (__swapcontext): Remove setting uc_flags field.
41032         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41033         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41034         Remove fields uc_high_gprs and __reserved.
41035         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41036         New file with reverted content.
41037         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41039         Regenerated.
41040         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41041         Regenerated.
41043 2014-07-31  Andreas Schwab  <schwab@suse.de>
41045         * config.h.in (HAVE_IFUNC): Define to 0.
41046         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41047         definedness.
41049 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41052         memmove-avx-unaligned, memcpy-avx-unaligned and
41053         mempcpy-avx-unaligned.
41054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41055         Add tests for AVX memcpy functions.
41056         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41057         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41058         memcpy_chk.
41059         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41060         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41061         memmove_chk.
41062         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41063         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41064         mempcpy_chk.
41065         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41066         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41067         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41069 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41071         [BZ #17213]
41072         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41073         powerpc64le.
41075 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41077         [BZ #16839]
41078         * manual/llio.texi: Add section about open file description locks.
41079         * manual/examples/ofdlocks.c: Example of open file description
41080         lock usage.
41081         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41082         F_OFD_SETLK, and F_OFD_SETLKW.
41084 2014-07-23  Allan McRae  <allan@archlinux.org>
41086         * po/es.po: Update Spanish translation from translation project.
41088 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41090         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41092 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41094         [BZ #17078]
41095         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41096         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41097         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41099 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41101         [BZ #17088]
41102         * math/fesetenv.c (__fesetenv)
41103         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41104         * math/feupdateenv.c (__feupdateenv)
41105         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41107         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41108         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41109         (__ASSUME_SOCKETCALL): Do not define.
41111         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41112         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41113         (__ASSUME_SOCKETCALL): Do not define.
41114         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41115         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41116         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41117         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41119         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41120         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41121         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41124         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41125         (__ASSUME_SOCKETCALL): Do not define.
41126         (__ASSUME_IPC64): Define unconditionally.
41127         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41128         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41129         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41130         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41131         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41133         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41134         Likewise.
41136         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41137         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41138         (__ASSUME_SOCKETCALL): Do not define.
41139         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41140         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41141         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41142         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41143         (__ASSUME_REQUEUE_PI): Define unconditionally.
41144         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41145         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41146         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41147         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41149         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41151         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41152         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41153         (__ASSUME_SOCKETCALL): Do not define.
41154         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41156         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41157         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41159         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41161         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41162         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41163         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41164         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41166         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41168         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41169         (__ASSUME_GETCPU_SYSCALL): Likewise.
41171         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41172         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41173         cases for individual architectures.
41174         * sysdeps/gnu/configure: Regenerated.
41175         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41176         LIBC_SLIBDIR_RTLDDIR.
41177         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41178         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41179         LIBC_SLIBDIR_RTLDDIR.
41180         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41182         LIBC_SLIBDIR_RTLDDIR.
41183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41184         Regenerated.
41185         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41186         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41187         file.
41188         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41189         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41190         file.
41191         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41192         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41193         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41194         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41196         * sysdeps/aarch64/shlib-versions: Move to ...
41197         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41198         * sysdeps/alpha/shlib-versions: Move to ...
41199         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41200         * sysdeps/arm/shlib-versions: Move to ...
41201         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41202         * sysdeps/hppa/shlib-versions: Move all contents except for
41203         libgcc_s entry to ...
41204         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41205         entry from ...
41206         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41207         * sysdeps/ia64/shlib-versions: Move to ...
41208         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41209         entry from ...
41210         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41211         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41212         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41213         * sysdeps/microblaze/shlib-versions: Move to ...
41214         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41215         * sysdeps/mips/shlib-versions: Move to ...
41216         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41217         entry from ...
41218         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41219         * sysdeps/tile/shlib-versions: Move to ...
41220         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41221         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41222         from ...
41223         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41224         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41225         entry from ...
41226         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41228 2014-07-17  Will Newton  <will.newton@linaro.org>
41230         * sysdeps/arm/bits/atomic.h
41231         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41232         (__arch_compare_and_exchange_bool_16_int): Likewise.
41233         (__arch_compare_and_exchange_bool_64_int): Likewise.
41235         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41236         into an #else block.
41238 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41240         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41241         just Linux configurations.  Test empirically that the compiler sets
41242         __ARM_EABI__, rather than using the tuple to decide.
41243         * sysdeps/arm/preconfigure: Regenerated.
41244         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41245         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41246         contents appended ...
41247         * sysdeps/arm/configure.ac: ... here.
41248         * sysdeps/arm/configure: Regenerated.
41250 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41252         * nptl/pthread_kill.c: New file.
41253         * nptl/pthread_sigmask.c: New file.
41254         * nptl/pthread_sigqueue.c: New file.
41256         * sysdeps/nptl/lowlevellock.h: New file.
41257         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41258         * sysdeps/nptl/lowlevellock-futex.h: New file.
41260         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41261         Remove dead declarations.
41263 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41265         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41266         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41267         config-cflags-avx2.
41268         * sysdeps/x86_64/configure.ac: Likewise.
41269         * sysdeps/i386/configure: Regenerated.
41270         * sysdeps/x86_64/configure: Likewise.
41271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41272         memset-avx2 only if config-cflags-avx2 is yes.
41273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41274         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41275         defined.
41276         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41277         only if HAVE_AVX2_SUPPORT is defined.
41278         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41280 2014-07-14  Alan Modra  <amodra@gmail.com>
41282         [BZ #17153]
41283         * elf/elf.h (DT_PPC64_NUM): Correct value.
41284         * NEWS: Add to fixed bug list.
41286 2014-07-13  Jim Meyering  <meyering@fb.com>
41288         [BZ 17150]
41289         regex: don't deref NULL upon heap allocation failure
41290         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41291         failure in one more place.
41292         To trigger the segfault, configure grep -with-included-regex,
41293         build it, and run these commands:
41294         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41296 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41298         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41300 2014-07-11  Richard Henderson  <rth@redhat.com>
41302         * sysdeps/aarch64/libm-test-ulps: Update.
41304 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41306         [BZ #17135]
41307         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41308         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41309         (__nptl_setxid): Initialize error member.  Call
41310         __nptl_setxid_error.
41311         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41312         * nptl/descr.h (struct xid_command): Add error member.
41313         * nptl/tst-setuid3.c: New file.
41314         * nptl/Makefile (tests): Add it.
41316 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41318         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41319         New define.
41320         (__lll_trylock): Use __lll_base_trylock.
41321         (__lll_cond_trylock): Likewise.
41323 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41325         * nptl/pthread_create.c (start_thread): Use atomic_or and
41326         lll_futex_wake directly rather than lll_robust_dead.
41327         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41328         (lll_robust_dead): Macro removed.
41329         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41330         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41331         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41332         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41334         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41335         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41336         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41337         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41338         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41339         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41340         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41342         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41343         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41345         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41346         Use atomic_compare_and_exchange_val_acq directly rather than
41347         lll_robust_trylock.
41348         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41349         (__lll_robust_trylock, lll_robust_trylock): Removed.
41350         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41351         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41352         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41353         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41354         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41355         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41356         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41357         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41359         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41360         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41361         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41362         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41365 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41367         * manual/locale.texi (Locale Names): New section documenting
41368         locale name syntax.  Adjust menu and node chaining accordingly.
41369         (Choosing Locale): Reference Locale Names, Locale Categories.
41370         Mention setting LC_ALL=C.  Reflect that name syntax is now
41371         documented.
41372         (Locale Categories): New section title.  Reference Locale Names.
41373         LC_ALL is an environment variable, but not a category.
41374         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41375         description, now in Locale Name.  Reference that section.  Locale
41376         name syntax is now documented.
41378 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41380         [BZ #17137]
41381         * locale/findlocale.c (name_present, valid_locale_name): New
41382         functions.
41383         (_nl_find_locale): Use the loc_name variable to store name
41384         candidates.  Call name_present and valid_locale_name to check and
41385         validate locale names.  Return an error if the locale is invalid.
41387 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41389         * locale/setlocale.c (setlocale): Use strdup for allocating
41390         composite name copy.
41392 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41394         Sync up with gnulib.
41395         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41396         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41397         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41398         and _GL_ARG_NONNULL.
41399         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41400         [!_LIBC]: Include code for Windows and Cygwin.
41401         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41402         Include prototype for int strerror_r.
41403         [!_LIBC] (is_open): New function.
41404         (flush_stdout): New function.
41405         (print_errno_message): Use it.
41406         (error): Likewise.
41407         (error_at_line): Likewise.
41408         (error_tail) Add function attribute macros.  Use
41409         __builtin_expect.
41411         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41413         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41415         * io/ftw.c: Include sys/param.h unconditionally.
41417         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41419         [BZ #17125]
41420         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41421         libc_freeres_ptr.
41422         (freecache): New function to free CACHE on exit.
41424         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41425         initialization.
41427 2014-07-09  David S. Miller  <davem@davemloft.net>
41429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41431         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41432         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41433         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41434         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41435         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41436         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41437         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41438         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41439         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41440         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41441         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41442         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41443         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41445 2014-07-09  Andreas Schwab  <schwab@suse.de>
41447         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41448         output.
41449         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41450         (do_test): Likewise.
41452         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41454 2014-07-09  Will Newton  <will.newton@linaro.org>
41456         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41457         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41458         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41459         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41460         * sysdeps/hppa/start.S (_start): Likewise.
41462 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41464         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41466         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41467         defined.
41469 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41471         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41472         after checking that it is non-NULL.
41474         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41476 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41478         * sysdeps/powerpc/memmove.c: Remove file.
41479         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41480         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41481         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41482         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41483         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41484         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41485         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41486         string memmove instead of removed powerpc one.
41488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41489         [weak_alias]: Fix compiler warning due trailing data.
41490         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41491         [weak_alias]: Likewise.
41492         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41493         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41496         (__libc_ifunc_impl_list): Add memmove functions.
41498 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41500         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41501         Remove code.
41502         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41503         Likewise.
41504         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41505         Likewise.
41506         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41507         Likewise.
41508         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41509         Likewise.
41510         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41511         Likewise.
41512         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41513         Likewise.
41514         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41515         Likewise.
41516         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41517         Likewise.
41518         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41519         Likewise.
41520         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41521         Likewise.
41522         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41523         Likewise.
41524         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41525         Likewise.
41526         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41527         Likewise.
41528         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41529         Likewise.
41530         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41531         Likewise.
41532         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41533         Likewise.
41535 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41537         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41538         to avoid alignment traps in non-cacheable memory.
41539         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41542         multiarch objects.
41543         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41544         file: multiarch power7 memmove.
41545         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41546         multiarch default memmove.
41547         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41548         multiarch memove for powerpc32/power4.
41550         * string/bcopy.c: Use full path to include memmove.c.
41551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41552         multiarch objects.
41553         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41554         bcopy for powerpc64.
41555         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41556         bcopy for powerpc64.
41557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41558         and memmove implementations.
41559         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41560         optimized multiarch memmove for POWER7/powerpc64.
41561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41562         default multiarch memmove for powerpc64.
41563         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41564         multiarch for powerpc64.
41565         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41566         for POWER7/powerpc64.
41567         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41568         memmove for POWER7/powerpc64.
41570         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41571         glibc default one.
41573         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41574         __ELF_NATIVE_CLASS equal to 64.
41576 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41578         * sysdeps/nptl/lowlevellock.h: File removed.
41580         * NEWS: NPTL is no longer an add-on!
41581         * nptl/internaltypes.h: Moved ...
41582         * sysdeps/nptl/internaltypes.h: ... here.
41583         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41584         * sysdeps/nptl/fork.c: Likewise.
41585         * sysdeps/nptl/gai_misc.h: Likewise.
41586         * sysdeps/nptl/librt-cancellation.c: Likewise.
41587         * sysdeps/nptl/jmp-unwind.c: Likewise.
41588         * sysdeps/nptl/setxid.h: Likewise.
41589         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41590         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41591         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41592         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41593         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41594         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41595         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41596         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41597         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41598         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41599         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41600         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41601         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41602         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41603         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41604         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41605         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41606         * nptl/Makeconfig: Moved ...
41607         * sysdeps/nptl/Makeconfig: ... here.
41608         * nptl/configure: File removed.
41609         * nptl/ANNOUNCE: File removed.
41610         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41611         * sysdeps/unix/sysv/linux/configure: Regenerated.
41613         * nptl/Makefile (routines): Add libc_pthread_init,
41614         libc_multiple_threads, register-atfork and unregister-atfork.
41615         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41616         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41617         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41618         pthread-pi-defines.sym, structsem.sym.
41619         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41620         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41621         [$(subdir) = nptl] (tests): Add tst-setgetname.
41622         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41623         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41624         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41625         [!LIBC_SIGACTION]: Remove aliases.
41626         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41627         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41628         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41629         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41630         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41631         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41632         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41633         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41634         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41635         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41636         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41637         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41638         __libc_allocate_rtsig_private.
41639         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41640         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41641         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41642         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41643         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41644         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41645         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41646         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41647         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41648         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41649         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41650         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41651         * nptl/internaltypes.h: ... here.
41652         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41653         * sysdeps/nptl/jmp-unwind.c: ... here.
41654         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41655         * nptl/libc-lowlevellock.c: ... here.
41656         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41657         * nptl/libc_multiple_threads.c: ... here.
41658         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41659         * nptl/libc_pthread_init.c: ... here.
41660         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41661         * nptl/lowlevelbarrier.sym: ... here.
41662         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41663         * nptl/lowlevelcond.sym: ... here.
41664         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41665         * nptl/lowlevellock.c: ... here.
41666         * nptl/lowlevellock.h: Moved ...
41667         * sysdeps/nptl/lowlevellock.h: ... here.
41668         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41669         * nptl/lowlevelrobustlock.c: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41671         * nptl/lowlevelrobustlock.sym: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41673         * nptl/lowlevelrwlock.sym: ... here.
41674         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41675         * nptl/pt-fork.c: ... here.
41676         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41677         * nptl/pthread-pi-defines.sym: ... here.
41678         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41679         * nptl/pthread_attr_getaffinity.c: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41681         * nptl/pthread_attr_setaffinity.c: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41683         * nptl/pthread_mutex_cond_lock.c: ... here.
41684         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41685         Update #include.
41686         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41687         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41688         * nptl/pthread_once.c: ... here, replacing old file.
41689         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41690         * nptl/pthread_yield.c: ... here.
41691         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41692         * nptl/register-atfork.c: ... here.
41693         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41694         * nptl/sem_post.c: ... here.
41695         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41696         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41697         * nptl/sem_timedwait.c: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41699         * nptl/sem_trywait.c: ... here.
41700         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41701         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41702         * nptl/sem_wait.c: ... here.
41703         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41704         * nptl/structsem.sym: ... here.
41705         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41706         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41707         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41708         * nptl/unregister-atfork.c: ... here.
41709         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41710         * nptl/unwindbuf.sym: ... here.
41711         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41712         * sysdeps/nptl/fork.c: ... here.
41713         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41714         * sysdeps/nptl/fork.h: ... here.
41715         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41716         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41717         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41718         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41719         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41720         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41721         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41722         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41723         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41724         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41725         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41726         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41727         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41728         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41729         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41730         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41731         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41732         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41733         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41734         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41735         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41736         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41737         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41738         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41739         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41740         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41741         * sysdeps/unix/sysv/linux/raise.c: ... here.
41742         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41743         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41744         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41745         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41746         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41747         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41748         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41749         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41750         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41751         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41752         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41753         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41754         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41755         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41756         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41758 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41760         * sysdeps/generic/memcopy.h: Add comment for
41761         MEMCPY_OK_FOR_FWD_MEMMOVE.
41763 2014-07-04  Will Newton  <will.newton@linaro.org>
41765         * string/memchr.c: Merge from gnulib.
41766         [_LIBC]: Remove conditionals.
41767         (__ptr_t): Remove define.
41768         (LONG_MAX_32_BITS): Likewise.
41769         (LONG_MAX): Likewise.
41770         (MEMCHR): Use ANSI prototype and optimize algorithm.
41772         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41774 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41777         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41779         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41780         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41781         in a bare environment with no <stdlib.h> installed.
41782         * sysdeps/nptl/configure: Regenerated.
41784         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41786         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41787         AC_EGREP_CPP for kernel header checks, so they only succeed if
41788         including <linux/version.h> actually works right.
41789         * sysdeps/unix/sysv/linux/configure: Regenerated.
41791         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41792         value so it's not diagnosed as unused.
41794         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41795         thing) with "ifeq ($(subdir),rt)".
41797 2014-07-03  Richard Henderson  <rth@redhat.com>
41799         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41800         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41801         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41803         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41804         (math_force_eval): New.
41806         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41807         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41809         * sysdeps/alpha/fpu/s_round.c: Remove file.
41810         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41812         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41813         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41814         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41815         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41816         (_dl_start, print_statistics): Likewise.
41817         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41818         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41820         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41821         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41822         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41823         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41824         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41825         (HP_SMALL_TIMING_AVAIL): Define.
41826         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41827         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41828         (HP_SMALL_TIMING_AVAIL): Define.
41829         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41830         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41832         * sysdeps/aarch64/hp-timing.h: New file.
41834         * sysdeps/generic/hp-timing.h: Remove dead comment.
41835         * sysdeps/generic/hp-timing-common.h: New file.
41836         * sysdeps/alpha/hp-timing.h: Include it.
41837         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41838         * sysdeps/i386/i686/hp-timing.h: Likewise.
41839         * sysdeps/ia64/hp-timing.h: Likewise.
41840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41841         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41842         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41843         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41844         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41845         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41846         (hp_timing_t): New.
41848         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41849         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41850         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41851         * elf/rtld.c (_dl_start_final): Likewise.
41852         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41853         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41854         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41855         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41856         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41857         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41858         (HP_TIMING_DIFF_INIT): Remove.
41859         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41860         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41861         (HP_TIMING_DIFF_INIT): Remove.
41862         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41863         * sysdeps/i386/i686/hp-timing.c: Remove file.
41864         * sysdeps/x86_64/hp-timing.c: Remove file.
41865         * sysdeps/ia64/hp-timing.c: Remove file.
41866         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41867         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41868         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41869         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41871         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41872         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41873         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41874         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41875         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41876         (HP_TIMING_ACCUM): Remove.
41877         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41878         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41879         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41881         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41882         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41883         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41884         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41886         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41887         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41888         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41890         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41892 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41894         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41896 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41898         Sync up with gettext.
41899         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41900         [_MSC_VER]: Include malloc.h
41901         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41902         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41903         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41904         TEMP_FAILURE_RETRY.  Cast return of alloca.
41905         [!_LIBC] Call gl_rwlock_init.
41906         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41908 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41910         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41911         before checking its value.
41913 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41915         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41917         * debug/memcpy_chk.c: Don't include pagecopy.h.
41918         * debug/mempcpy_chk.c: Likewise.
41919         * string/memcpy.c: Likewise.
41920         * string/memmove.c: Likewise.
41921         * sysdeps/powerpc/memmove.c: Likewise.
41922         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41923         definition of PAGE_COPY_FWD_MAYBE here...
41924         * sysdeps/generic/pagecopy.h: ... from here.
41925         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41927 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41928             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41930         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41932         optimizations.
41933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41934         (__libc_ifunc_impl_list): Likewise.
41935         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41936         multiarch strcat for PPC64.
41937         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41938         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41940 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41942         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41944 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41946         * intl/loadmsgcat.c: Remove declaration of
41947         get_sysdep_segment_value.
41948         (get_sysdep_segment_value): Use ISO C style.
41949         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41950         semicolon.  Fix typo and formatting in comment.
41951         (_nl_unload_domain): Use ISO C style.
41953         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41955 2014-07-02  Will Newton  <will.newton@linaro.org>
41957         * malloc/obstack.c: Merge from gnulib master.
41958         [HAVE_CONFIG_H]: Remove conditional code.
41959         [!_LIBC]: Include config.h.
41960         [!ELIDE_CODE]: Don't include inttypes.h, include
41961         stdint.h unconditionally.
41962         (print_and_abort): Mark as _Noreturn.
41963         (_obstack_allocated_p): Mark as __attribute_pure__.
41964         (obstack_free): Rename to __obstack_free.
41965         [!__attribute__]: Remove conditional code.
41966         * malloc/obstack.h: Merge from gnulib master.
41967         [__cplusplus]: Move conditional down.
41968         [!__attribute_pure__]: Define __attribute_pure__ here
41969         if it is not already defined.
41970         (_obstack_memory_used): Mark as __attribute_pure__.
41971         [!__obstack_free]: Define as obstack_free.
41972         [__GNUC__]: Remove check for ancient NeXT gcc.
41974 2014-07-02  Will Newton  <will.newton@linaro.org>
41975             Paul Eggert  <eggert@cs.ucla.edu>
41977         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41979 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41981         * resolv/gethnamaddr.c: Add comment warning that the file is
41982         not maintained.
41984 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41986         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41987         entries.
41989         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41990         entry for aio_cancel and aio_cancel64.
41991         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41992         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41993         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41994         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41995         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41996         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41997         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41998         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41999         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42000         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42001         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42002         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42003         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42005 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42007         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42008         * nptl/pthread_mutex_lock.c: Likewise.
42009         * nptl/pthread_mutex_timedlock.c: Likewise.
42010         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42012 2014-07-01  Richard henderson  <rth@redhat.com>
42014         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42015         (__isnan, __isnanl): Remove.
42016         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42018         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42020 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42022         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42024 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42026         * resolv/nss_dns/dns-host.c (getanswer_r)
42027         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42029 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42032         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42033         undefine.
42034         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42035         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42037 2014-07-01  Roland McGrath <roland@hack.frob.com>
42039         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42040         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42042         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42043         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42045         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42046         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42047         ... here.
42048         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42049         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42051         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42052         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42053         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42054         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42056         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42057         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42058         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42059         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42060         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42061         Moved ...
42062         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42063         ... here.
42064         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42065         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42066         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42067         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42068         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42069         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42070         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42071         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42072         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42073         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42074         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42075         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42076         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42077         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42078         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42079         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42081         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42082         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42083         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42084         ... here.
42085         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42086         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42087         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42088         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42089         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42090         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42091         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42092         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42094 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42096         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42097         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42098         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42099         Add sysdep.
42101 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42105 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42107         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42108         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42110         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42112         * sysdeps/arm/libm-test-ulps: Regenerated.
42114 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42115             Roland McGrath <roland@hack.frob.com>
42117         * test-skeleton.c (signal_handler): Kill the whole process group
42118         before killing the child individually.
42119         (main): Report any failure on `setpgid'.
42121 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42123         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42124         from _TLS_H to _ARM_NPTL_TLS_H.
42125         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42126         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42128 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42130         [BZ #16539]
42131         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42132         (__expm1l): Return argument unchanged when small but not
42133         subnormal.
42135         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42136         include macro name.
42137         (_FP_UNPACK_RAW_1_P): Likewise.
42138         (_FP_PACK_RAW_1): Likewise.
42139         (_FP_PACK_RAW_1_P): Likewise.
42140         (_FP_MUL_MEAT_1_wide): Likewise.
42141         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42142         (_FP_MUL_MEAT_1_hard): Likewise.
42143         (_FP_DIV_MEAT_1_imm): Likewise.
42144         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42145         (_FP_DIV_MEAT_1_udiv): Likewise.
42146         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42147         (_FP_UNPACK_RAW_2): Likewise.
42148         (_FP_UNPACK_RAW_2_P): Likewise.
42149         (_FP_PACK_RAW_2): Likewise.
42150         (_FP_PACK_RAW_2_P): Likewise.
42151         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42152         (_FP_MUL_MEAT_2_wide): Likewise.
42153         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42154         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42155         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42156         (_FP_MUL_MEAT_2_gmp): Likewise.
42157         (_FP_DIV_MEAT_2_udiv): Likewise.
42158         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42159         (_FP_FRAC_SRL_4): Likewise.
42160         (_FP_FRAC_SRST_4): Likewise.
42161         (_FP_FRAC_SRS_4): Likewise.
42162         (_FP_UNPACK_RAW_4): Likewise.
42163         (_FP_UNPACK_RAW_4_P): Likewise.
42164         (_FP_PACK_RAW_4): Likewise.
42165         (_FP_PACK_RAW_4_P): Likewise.
42166         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42167         (_FP_MUL_MEAT_4_wide): Likewise.
42168         (_FP_MUL_MEAT_4_gmp): Likewise.
42169         (umul_ppppmnnn): Likewise.
42170         (_FP_DIV_MEAT_4_udiv): Likewise.
42171         (__FP_FRAC_ADD_4): Likewise.
42172         (__FP_FRAC_SUB_3): Likewise.
42173         (__FP_FRAC_SUB_4): Likewise.
42174         (__FP_FRAC_DEC_3): Likewise.
42175         (__FP_FRAC_DEC_4): Likewise.
42176         (__FP_FRAC_ADDI_4): Likewise.
42177         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42178         (_FP_FRAC_SRL_8): Likewise.
42179         (_FP_FRAC_SRS_8): Likewise.
42181         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42182         include macro name.
42183         (FP_UNPACK_RAW_EP): Likewise.
42184         (FP_PACK_RAW_E): Likewise.
42185         (FP_PACK_RAW_EP): Likewise.
42186         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42187         (_FP_ISSIGNAN): Likewise.
42188         (_FP_ADD_INTERNAL): Likewise.
42189         (_FP_FMA): Likewise.
42190         (_FP_CMP): Likewise.
42191         (_FP_SQRT): Likewise.
42192         (_FP_TO_INT): Likewise.
42193         (_FP_FROM_INT): Likewise.
42194         (FP_EXTEND): Likewise.
42195         (_FP_DIV_MEAT_N_loop): Likewise.
42197 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42199         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42200         throughout.
42202 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42204         [BZ #17097]
42205         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42206         result with correct sign in case of exponents that produce
42207         overflow except for X very close to 1.
42209 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42211         mktime: merge #if/#ifdef usage from glibc
42212         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42213         as that works with both Glibc's and Gnulib's style.
42214         See thread starting at Siddhesh Poyarekar's bug report at:
42215         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42217 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42219         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42220         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42221         * sysdeps/tile/tilegx/memmove.c: Remove file.
42223 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42225         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42226         abi-name definition.
42227         * scripts/soversions.awk: Do not handle or generate ABI lines.
42228         * shlib-versions: Remove ABI entries.
42229         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42230         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42232 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42235         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42236         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42239         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42241         Moved ...
42242         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42243         ... here.
42244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42245         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42247         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42249         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42251         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42253         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42255         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42257         Moved ...
42258         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42262         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42264         Moved ...
42265         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42267         Moved ...
42268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42272         Moved ...
42273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42275         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42277         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42279         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42281         Moved ...
42282         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42284         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42285         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42286         Moved ...
42287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42289         Moved ...
42290         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42292         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42294         Moved ...
42295         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42296         ... here.
42297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42298         Identical file removed.
42299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42300         Moved ...
42301         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42303         Identical file removed.
42304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42305         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42306         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42307         Moved ...
42308         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42310         Identical file removed.
42311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42312         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42314         Identical file removed.
42315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42316         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42318         Identical file removed.
42319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42320         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42322         Identical file removed.
42323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42324         Moved ...
42325         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42327         Identical file removed.
42328         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42329         Moved ...
42330         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42332         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42334         Identical file removed.
42335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42336         Moved ...
42337         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42338         ... here.
42339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42340         Identical file removed.
42341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42342         Moved ...
42343         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42345         Identical file removed.
42346         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42347         Moved ...
42348         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42350         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42352         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42354         Moved ...
42355         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42356         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42357         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42359         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42360         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42361         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42362         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42363         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42365 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42367         [BZ #17092]
42368         * nscd/nscd.c (monitor_child): Return exit status of child
42369         instead of return value from wait syscall.
42371 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42373         * configure.ac (libc_commonpagesize): Remove variable.
42374         (libc_relro_required): Likewise.
42375         (libc_cv_z_relro): Remove configure test.
42376         * configure: Regenerated.
42377         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42378         variable.
42379         (libc_relro_required): Likewise.
42380         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42381         (libc_relro_required): Likewise.
42382         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42383         (libc_relro_required): Likewise.
42384         * sysdeps/arm/preconfigure: Regenerated.
42385         * sysdeps/ia64/preconfigure: Remove file.
42386         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42387         variable.
42388         (libc_relro_required): Likewise.
42390         [BZ #16561]
42391         [BZ #16562]
42392         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42393         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42394         recompute overflowing results in original rounding mode.
42395         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42396         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42397         recompute overflowing results in original rounding mode.
42398         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42399         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42400         recompute overflowing results in original rounding mode.
42401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42402         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42403         recompute overflowing results in original rounding mode.
42404         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42405         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42406         recompute overflowing results in original rounding mode.
42407         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42408         (libc_feholdsetround_ctx): New macro.
42409         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42410         * sysdeps/i386/fpu/libm-test-ulps: Update.
42411         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42413 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42415         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42416         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42417         corresponding .cpsetup call.
42419 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42421         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42422         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42423         * sysdeps/arm/Makefile [$(subdir) = csu]
42424         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42425         (static-only-routines): Add aeabi_read_tp here.
42426         (shared-only-routines): Add libc-aeabi_read_tp here.
42427         (CFLAGS-libc-start.c): Add -fexceptions here.
42428         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42429         (sysdep_routines, static-only-routines, shared-only-routines):
42430         Don't add to these here.
42431         (CFLAGS-libc-start.c): Likewise.
42433         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42434         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42435         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42436         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42437         * sysdeps/arm/Makefile [$(subdir) = rt]
42438         (librt-sysdep_routines, librt-shared-only-routines):
42439         Append rt-aeabi_unwind_cpp_pr1 here.
42440         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42441         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42442         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42443         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42444         Append nptl-aeabi_unwind_cpp_pr1 here.
42445         (tests): Filter out tst-cleanupx4 here.
42446         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42447         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42448         Don't do those here.
42450 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42452         * scripts/list-sources.sh: Do not handle ports specially.
42454 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42456         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42457         * sysdeps/arm/feupdateenv.c: Likewise.
42459         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42461 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42463         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42464         trailing whitespace removed.
42465         * scripts/config.guess: Update to version 2014-03-23.
42466         * scripts/config.sub: Update to version 2014-05-01
42467         * scripts/install-sh: Update to version 2013-12-25.23.
42468         * scripts/move-if-change: Update from gnulib.
42470 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42472         * debug/memmove_chk.c: Remove pagecopy.h include.
42474 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42476         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42477         identical to gnulib mktime.
42479 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42481         * configure.ac: Do not test for machine being rs6000.  Do not test
42482         for powerpc*-*soft.
42483         * configure: Regenerated.
42485         [BZ #11505]
42486         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42487         test.
42488         * configure: Regenerated.
42489         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42490         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42491         Remove configure test.
42492         * sysdeps/arm/configure: Regenerated.
42493         * sysdeps/nptl/configure.ac: Do not check
42494         libc_cv_asm_cfi_directives.
42495         * sysdeps/nptl/configure: Regenerated.
42496         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42497         * sysdeps/x86_64/nptl/configure: Remove generated file.
42498         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42499         unconditional.
42500         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42502 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42504         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42505         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42506         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42507         it is defined.
42509         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42510         instead of whether it is defined.
42511         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42512         * sysdeps/hppa/dl-machine.h: Likewise.
42513         * sysdeps/ia64/dl-machine.h: Likewise.
42514         * sysdeps/m68k/dl-machine.h: Likewise.
42515         * sysdeps/microblaze/dl-machine.h: Likewise.
42516         * sysdeps/mips/dl-machine.: Likewise.
42517         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42518         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42519         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42520         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42521         * sysdeps/sh/dl-machine.h: Likewise.
42522         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42523         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42524         * sysdeps/tile/dl-machine.h: Likewise.
42525         * sysdeps/x86_64/dl-machine.h: Likewise.
42527         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42528         code.
42529         (verify_persistent_db): Likewise.
42531 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42534         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42536         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42538         Moved ...
42539         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42540         ... here.
42541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42542         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42544         Identical file removed.
42545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42546         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42548         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42550         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42554         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42556         Moved ...
42557         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42559         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42561         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42563         Moved ...
42564         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42566         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42568         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42570         Identical file removed.
42571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42572         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42574         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42576         Moved ...
42577         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42578         ... here.
42579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42580         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42582         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42584         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42586         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42588         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42590         Moved ...
42591         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42593         Moved ...
42594         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42596         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42598         Moved ...
42599         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42601         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42603         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42604         folded into ...
42605         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42606         * sysdeps/unix/sysv/linux/s390/Versions
42607         (libpthread: GLIBC_2.19): New version set.
42608         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42609         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42610         (librt: GLIBC_2.3.3): New version set.
42611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42612         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42613         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42614         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42615         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42616         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42617         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42618         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42619         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42620         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42621         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42622         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42623         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42624         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42625         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42626         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42627         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42628         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42629         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42630         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42631         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42633         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42634         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42635         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42636         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42637         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42638         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42639         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42641         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42642         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42647         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42649         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42651         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42653         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42655         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42657         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42658         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42659         (__libc_vfork): Define the function under this name.
42660         [!NOT_IN_libc] (__vfork): Make this an alias.
42661         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42663         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42664         (__libc_vfork): Define the function under this name.
42665         [!NOT_IN_libc] (__vfork): Make this an alias.
42666         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42667         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42668         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42670         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42671         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42673         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42674         code that was previously under [RESET_PID].
42675         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42679         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42680         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42681         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42682         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42683         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42684         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42685         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42686         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42687         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42688         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42689         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42690         Moved ...
42691         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42692         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42693         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42694         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42695         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42696         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42697         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42698         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42699         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42703         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42704         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42705         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42706         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42707         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42708         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42709         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42710         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42711         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42712         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42713         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42714         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42715         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42716         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42717         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42719         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42721 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42723         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42724         that was previously under [RESET_PID].
42725         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42727 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42729         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42730         not undefine and redefine.
42731         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42732         [O_CLOEXEC]: Make code unconditional.
42733         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42734         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42735         <kernel-features.h>.
42736         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42737         conditional variable definition.
42738         (shm_open) [O_CLOEXEC]: Make code unconditional.
42739         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42740         code.
42742         * configure.ac (USE_REGPARMS): Don't define here.
42743         * configure: Regenerated.
42744         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42745         * sysdeps/i386/configure: Regenerated.
42747         * nptl/createthread.c: Don't include kernel-features.h.
42748         * nptl/pthread_cancel.c: Likewise.
42749         * nptl/pthread_condattr_setclock.c: Likewise.
42750         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42751         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42752         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42753         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42754         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42755         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42756         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42759         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42760         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42761         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42762         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42763         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42764         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42765         * nscd/gai.c: Likewise.
42766         * nss/nss_db/db-open.c: Likewise.
42767         * sysdeps/generic/ldsodefs.h: Likewise.
42768         * sysdeps/sh/nptl/tls.h: Likewise.
42769         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42770         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42771         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42772         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42773         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42774         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42775         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42776         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42778         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42779         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42780         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42781         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42782         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42783         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42784         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42785         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42786         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42787         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42788         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42791         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42792         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42794         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42795         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42797         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42798         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42799         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42800         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42801         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42802         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42803         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42804         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42805         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42806         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42807         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42808         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42809         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42810         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42811         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42812         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42813         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42814         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42815         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42816         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42817         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42818         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42819         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42820         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42821         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42822         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42823         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42824         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42825         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42826         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42849         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42850         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42851         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42852         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42853         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42854         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42855         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42856         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42857         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42858         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42859         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42860         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42861         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42862         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42863         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42864         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42865         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42866         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42867         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42868         * sysdeps/unix/sysv/linux/system.c: Likewise.
42869         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42870         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42871         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42872         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42873         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42874         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42875         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42877         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42878         * configure: Regenerated.
42879         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42881         * configure.ac (base_machine): Do not set specially for particular
42882         machines here.
42883         * configure: Regenerated.
42884         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42885         settings from configure.ac.
42886         * sysdeps/i386/preconfigure: New file.
42887         * sysdeps/s390/preconfigure: Likewise.
42888         * sysdeps/sh/preconfigure: Likewise.
42889         * sysdeps/sparc/preconfigure: Likewise.
42891 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42893         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42894         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42895         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42896         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42897         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42898         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42899         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42900         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42901         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42902         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42903         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42904         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42905         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42906         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42907         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42908         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42910         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42911         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42913         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42914         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42915         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42916         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42917         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42918         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42919         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42920         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42921         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42922         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42923         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42924         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42925         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42926         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42927         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42928         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42929         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42930         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42931         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42932         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42934         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42935         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42936         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42937         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42938         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42940         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42941         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42942         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42943         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42944         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42945         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42946         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42947         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42948         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42949         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42950         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42953         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42955         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42957         Moved ...
42958         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42959         ... here.
42960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42961         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42963         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42965         Moved ...
42966         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42968         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42970         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42972         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42974         Moved ...
42975         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42977         Moved ...
42978         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42980         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42982         Moved ...
42983         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42985         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42987         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42989         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42991         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42993         Moved ...
42994         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42995         ... here.
42996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42997         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42999         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43001         Moved ...
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43004         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43006         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43008         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43010         Moved ...
43011         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43013         Moved ...
43014         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43016         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43018         Moved ...
43019         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43021         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43023         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43025 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43027         * timezone/checktab.awk: Update from tzcode 2014e.
43028         * timezone/private.h: Likewise.
43029         * timezone/tzfile.h: Likewise.
43030         * timezone/zdump.c: Likewise.
43031         * timezone/zic.c: Likewise.
43033         * sysdeps/unix/sysv/linux/kernel-features.h
43034         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43036         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43037         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43038         Remove conditional code.
43040 2014-06-25  Will Newton  <will.newton@linaro.org>
43042         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43043         (_dl_arm_cap_flags): Add HWCAP2 values.
43044         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43045         (_DL_HWCAP_COUNT): Increase to 37.
43046         (_DL_HWCAP_LAST): New define.
43047         (_DL_HWCAP2_LAST): New define.
43048         (_dl_procinfo): Add support for printing
43049         AT_HWCAP2 entries.
43050         (_dl_string_hwcap): Use _dl_hwcap_string.
43052 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43056 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43058         * README: Do not mention ports directory.
43060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43061         Remove macro.
43062         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43063         <kernel-features.h>.
43064         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43065         conditional variable definition.
43066         (__futimes): Update comment.
43067         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43068         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43070         [BZ #16560]
43071         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43072         arguments close to 0.
43073         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43074         Likewise.
43075         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43076         Likewise.
43077         * math/auto-libm-test-in: Add more tests of exp10.
43078         * math/auto-libm-test-out: Regenerated.
43079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43081         * sysdeps/unix/sysv/linux/kernel-features.h
43082         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43083         * sysdeps/unix/sysv/linux/readv.c: Do not include
43084         <kernel-features.h>.
43085         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43086         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43087         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43088         unconditional.
43089         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43090         conditional code.
43091         * sysdeps/unix/sysv/linux/writev.c: Do not include
43092         <kernel-features.h>.
43093         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43094         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43095         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43096         unconditional.
43097         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43098         conditional code.
43100 2014-06-25  Will Newton  <will.newton@linaro.org>
43102         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43103         comment changes throughout the file.  Remove checks
43104         for HAVE_*_H definitions that are not required.
43105         (__gen_tempname): Call abort if an unknown kind value is
43106         passed.
43108 2014-06-25  Andreas Schwab  <schwab@suse.de>
43110         [BZ #17086]
43111         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43112         scalbln, scalblnf, scalblnl in libc.
43114 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43116         [BZ #17086]
43117         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43118         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43119         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43121 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43123         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43124         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43125         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43126         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43127         Update #include.
43128         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43129         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43130         Update #include.
43131         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43132         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43133         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43134         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43135         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43136         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43137         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43138         * sysdeps/x86/bits/semaphore.h: ... here.
43139         * sysdeps/x86/nptl/elide.h: Moved ...
43140         * sysdeps/x86/elide.h: ... here.
43141         * sysdeps/x86_64/nptl/Implies: File removed.
43142         * sysdeps/i386/nptl/Implies: File removed.
43144 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43146         [BZ #16539]
43147         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43148         return the argument for normal arguments with exponent below -64.
43149         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43150         Likewise.
43151         * math/auto-libm-test-in: Add another test of expm1.
43152         * math/auto-libm-test-out: Regenerated.
43154         [BZ #16287]
43155         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43156         calling __erfcl for arguments at least 16.
43157         * math/auto-libm-test-in: Add more tests of erf.
43158         * math/auto-libm-test-out: Regenerated.
43160         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43161         individual architectures.
43162         * sysdeps/unix/sysv/linux/configure: Regenerated.
43163         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43164         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43165         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43166         (ldd_rewrite_script): Define variable.
43167         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43169         file.
43170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43171         generated file.
43172         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43173         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43174         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43175         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43176         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43177         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43178         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43179         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43181 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43183         [BZ #17084]
43184         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43185         Rename member __data.d to __data.__elision_data.
43187 2014-06-24  Wilco  <wdijkstr@arm.com>
43189         * NEWS: Add 16918 to fixed bug list.
43191 2014-06-24  Wilco  <wdijkstr@arm.com>
43193         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43195 2014-06-24  Wilco  <wdijkstr@arm.com>
43197         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43198         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43199         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43200         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43201         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43202         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43203         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43204         Use _FPU_MASK_RM.
43206 2014-06-24  Wilco  <wdijkstr@arm.com>
43208         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43210 2014-06-24  Wilco  <wdijkstr@arm.com>
43212         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43213         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43214         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43215         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43217 2014-06-24  Wilco  <wdijkstr@arm.com>
43219         [BZ #16918]
43220         * sysdeps/arm/feupdateenv.c (feupdateenv):
43221         Rewrite to reduce FPSCR accesses and fix return value.
43223 2014-06-24  Wilco  <wdijkstr@arm.com>
43225         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43226         Optimize to avoid unnecessary FPSCR writes.
43227         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43228         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43229         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43230         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43232 2014-06-24  Wilco  <wdijkstr@arm.com>
43234         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43235         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43236         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43237         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43238         Call libc_fetestexcept_vfp.
43239         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43240         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43241         __SOFTFP__ ifdef so that they can be built for softfp.
43243 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43245         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43246         argument type signed char.
43248         * Makerules (check-abi): Dump diff of symlist if the test
43249         fails.
43251 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43253         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43254         using abort.
43256         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43257         Remove unused variable ST.
43259 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43261         [BZ #16354]
43262         [BZ #17061]
43263         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43264         small arguments before calling __expm1.
43265         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43266         small arguments before calling __expm1f.
43267         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43268         small arguments before calling __expm1l.
43269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43270         Likewise.
43271         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43272         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43273         spurious underflow for some cosh tests.
43274         * math/auto-libm-test-out: Regenerated.
43275         * sysdeps/i386/fpu/libm-test-ulps: Update.
43277         [BZ #17050]
43278         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43279         (__ieee754_y1): Set errno if return value overflows.
43280         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43281         (__ieee754_y1f): Set errno if return value overflows.
43282         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43283         (__ieee754_y1l): Set errno if return value overflows.
43284         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43285         (__ieee754_y1l): Set errno if return value overflows.
43286         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43287         * math/auto-libm-test-out: Regenerated.
43289         * math/gen-auto-libm-tests.c: Document use of
43290         ignore-zero-inf-sign.
43291         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43292         (input_flags): Add ignore-zero-inf-sign.
43293         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43294         * math/gen-libm-test.pl (generate_testfile): Handle
43295         ignore-zero-inf-sign.
43296         * math/auto-libm-test-in: Mark some cpow tests with
43297         ignore-zero-inf-sign and some with xfail-rounding.
43298         * math/auto-libm-test-out: Regenerated.
43299         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43300         * sysdeps/i386/fpu/libm-test-ulps: Update.
43301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43303         [BZ #16315]
43304         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43305         overflowing or underflowing operations take place with sign of
43306         result.
43307         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43308         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43309         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43310         (__ieee754_pow): Recompute overflowing and underflowing results in
43311         original rounding mode.
43312         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43313         (__powl_helper): Allow negative argument X and scale negated value
43314         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43315         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43316         overflowing or underflowing operations take place with sign of
43317         result.
43318         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43319         Include <math.h>.
43320         * math/auto-libm-test-in: Add more tests of pow.
43321         * math/auto-libm-test-out: Regenerated.
43322         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43323         (pow_tonearest_test_data): Remove.
43324         (pow_test_tonearest): Likewise.
43325         (pow_towardzero_test_data): Likewise.
43326         (pow_test_towardzero): Likewise.
43327         (pow_downward_test_data): Likewise.
43328         (pow_test_downward): Likewise.
43329         (pow_upward_test_data): Likewise.
43330         (pow_test_upward): Likewise.
43331         (main): Don't call removed functions.
43332         * sysdeps/i386/fpu/libm-test-ulps: Update.
43333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43335 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43338         Moved ...
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43341         Moved ...
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43344         Moved ...
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43347         Moved ...
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43350         File removed.
43351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43352         File removed.
43353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43354         File removed.
43355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43356         File removed.
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43358         File removed.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43360         File removed.
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43362         File removed.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43364         File removed.
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43366         File removed.
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43368         File removed.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43370         File removed.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43372         File removed.
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43374         Moved ...
43375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43377         Moved ...
43378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43379         ... here.
43380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43381         Moved ...
43382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43384         Moved ...
43385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43390         Moved ...
43391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43393         Moved ...
43394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43399         Moved ...
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43403         ... here.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43405         Moved ...
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43408         Moved ...
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43410         ... here.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43412         Moved ...
43413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43414         ... here.
43415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43416         Moved ...
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43418         ... here.
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43420         Moved ...
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43423         Moved ...
43424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43428         Moved ...
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43430         ... here.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43432         Moved ...
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43434         ... here.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43436         Moved ...
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43439         Moved ...
43440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43442         Moved ...
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43445         Moved ...
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43448         Moved ...
43449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43450         ... here.
43451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43452         Moved ...
43453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43455         Moved ...
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43458         Moved ...
43459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43461         Moved ...
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43466         Moved ...
43467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43469         Moved ...
43470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43472         Moved ...
43473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43474         ... here.
43475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43476         Moved ...
43477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43478         ... here.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43480         Moved ...
43481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43482         ... here.
43483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43484         Moved ...
43485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43487         Moved ...
43488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43490         Moved ...
43491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43493         Moved ...
43494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43495         ... here.
43496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43497         Moved ...
43498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43499         ... here.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43501         Moved ...
43502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43503         ... here.
43504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43505         Moved ...
43506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43508         Moved ...
43509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43511 2014-06-23  Will Newton  <will.newton@linaro.org>
43512             Wilco  <wdijkstr@arm.com>
43514         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43515         implementation.  Include get-rounding-mode.h.
43516         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43517         [!libc_feholdsetround_noex_ctx]: Define
43518         libc_feholdsetround_noex_ctx.
43519         [!libc_feholdsetround_noexf_ctx]: Define
43520         libc_feholdsetround_noexf_ctx.
43521         [!libc_feholdsetround_noexl_ctx]: Define
43522         libc_feholdsetround_noexl_ctx.
43523         (libc_feholdsetround_ctx): New function.
43524         (libc_feresetround_ctx): New function.
43525         (libc_feholdsetround_noex_ctx): New function.
43526         (libc_feresetround_noex_ctx): New function.
43528 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43530         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43531         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43532         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43533         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43534         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43535         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43537         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43538         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43539         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43540         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43541         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43542         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43544         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43546         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43548         Moved ...
43549         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43550         ... here.
43551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43552         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43554         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43556         Moved ...
43557         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43559         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43561         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43563         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43565         Moved ...
43566         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43568         Moved ...
43569         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43571         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43573         Moved ...
43574         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43576         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43577         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43578         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43579         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43580         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43582         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43584         Moved ...
43585         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43586         ... here.
43587         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43588         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43590         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43592         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43593         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43594         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43596         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43598         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43600         Moved ...
43601         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43603         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43604         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43605         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43607         Moved ...
43608         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43610         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43611         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43612         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43614         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43615         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43616         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43617         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43618         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43619         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43620         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43621         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43623         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43624         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43625         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43626         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43627         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43628         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43629         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43630         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43631         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43632         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43633         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43634         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43635         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43637         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43638         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43639         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43640         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43641         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43643 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43646         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43647         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43648         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43649         (IPV6_PMTUDISC_INTERFACE): Likewise.
43650         (IPV6_PMTUDISC_OMIT): Likewise.
43652 2014-06-23  Andreas Schwab  <schwab@suse.de>
43654         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43655         Remove unused errout label.
43657 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43659         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43660         macro: hardware supports Vector Crypto instructions.
43662 2014-06-23  Will Newton  <will.newton@linaro.org>
43664         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43665         rather than __builtin_expect.
43667         * elf/dl-lookup.c (undefined_msg): Remove variable.
43668         (_dl_lookup_symbol_x): Replace undefined_msg with string
43669         literal.
43671         * elf/dl-lookup.c (do_lookup_unique): New function.
43672         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43673         to a separate function.
43675 2014-06-23  Andreas Schwab  <schwab@suse.de>
43677         [BZ #17079]
43678         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43679         before reading the next line.
43681 2014-06-23  Will Newton  <will.newton@linaro.org>
43683         * test-skeleton.c (signal_handler): Use printf and %m
43684         rather than perror.  Use printf rather than fprintf to
43685         stderr.  Use puts rather than fputs to stderr.
43686         (main): Likewise.
43688 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43690         * nscd/nscd.c (thread_info_t): Remove typedef.
43691         (thread_info): Remove variable.
43693 2014-06-21  Allan McRae  <allan@archlinux.org>
43695         * NEWS: Mention CVE-2014-4043.
43697 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43699         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43700         * nptl/smp.h: ... here.
43702         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43704         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43705         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43706         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43707         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43709         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43710         * nptl/stack-aliasing.h: New file.
43711         * sysdeps/i386/i686/stack-aliasing.h: New file.
43712         * sysdeps/i386/i686/nptl/Makefile: File removed.
43713         * sysdeps/x86_64/stack-aliasing.h: New file.
43714         * sysdeps/x86_64/nptl/Makefile
43715         (CFLAGS-pthread_create.c): Variable removed.
43717         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43718         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43719         old file.
43720         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43721         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43722         old file.
43724 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43727         (__ASSUME_SIGFRAME_V2): Remove macro.
43728         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43729         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43730         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43731         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43732         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43733         Declare as function.  Remove conditional macro definitions.
43734         (__default_rt_sa_restorer): Likewise.
43735         (__default_sa_restorer_v1): Remove declaration.
43736         (__default_sa_restorer_v2): Likewise.
43737         (__default_rt_sa_restorer_v1): Likewise.
43738         (__default_rt_sa_restorer_v2): Likewise.
43739         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43740         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43741         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43743 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43745         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43746         (libpthread-routines): Add sysdep.
43747         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43748         * sysdeps/unix/sysv/linux/sparc/Versions
43749         (libpthread: GLIBC_2.3.3): New version set.
43750         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43751         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43752         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43753         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43754         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43755         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43756         Moved ...
43757         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43758         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43759         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43760         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43761         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43762         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43763         * sysdeps/sparc/nptl/sem_init.c: ... here.
43764         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43765         * sysdeps/sparc/nptl/sem_post.c: ... here.
43766         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43767         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43769         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43771         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43772         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43773         (libpthread-routines): Add cpu_relax.
43774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43775         File removed.
43776         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43777         (librt: GLIBC_2.3.3): New version set.
43778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43779         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43780         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43781         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43784         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43786         Moved ...
43787         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43789         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43791         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43793         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43795         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43797         Moved ...
43798         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43799         Update #include.
43800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43801         Moved ...
43802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43803         Update #include.
43804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43805         Moved ...
43806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43807         Update #include.
43808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43809         Moved ...
43810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43811         Update #include.
43812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43813         Moved ...
43814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43815         Update #include.
43816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43817         Moved ...
43818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43819         Update #include.
43820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43821         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43825         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43827         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43829         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43831         Moved ...
43832         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43834         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43836         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43838 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43840         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43841         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43842         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43843         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43844         * nscd/nscd.c: Likewise.
43845         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43846         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43847         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43848         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43850         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43851         <kernel-features.h>.
43852         (init_mq_netlink): Remove conditional have_sock_cloexec
43853         definitions.  Remove code conditional on have_sock_cloexec < 0.
43854         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43855         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43856         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43857         <kernel-features.h>.
43858         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43859         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43861 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43864         Add tests for memset_chk and memset.
43866         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43867         with AVX2_Usable.
43869 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43871         [BZ #16046]
43872         * elf/tst-dl-iter-static.c: New file.
43873         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43875         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43876         error.
43878 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43880         * sysdeps/unix/sysv/linux/kernel-features.h
43881         (__ASSUME_F_GETOWN_EX): Remove macro.
43882         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43883         <kernel-features.h>.
43884         (miss_F_GETOWN_EX): Remove variable or macro.
43885         (do_fcntl): Do not check miss_F_GETOWN_EX.
43886         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43889         Remove macro.
43890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43891         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43892         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43894         * sysdeps/unix/sysv/linux/kernel-features.h
43895         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43896         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43897         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43898         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43900 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43902         [BZ #17075]
43903         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43904         Fix calculation of the symbol's value.
43905         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43906         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43907         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43908         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43909         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43910         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43911         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43912         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43913         (modules-names): Add `tst-armtlsdescmod',
43914         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43915         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43916         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43917         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43918         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43919         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43920         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43921         ($(objpfx)tst-armtlsdescloc): New dependency.
43922         ($(objpfx)tst-armtlsdescextnow): Likewise.
43923         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43924         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43925         TLS scheme support.
43926         * sysdeps/arm/configure: Regenerate.
43928 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43930         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43931         (__atfct_seterrno_2): Likewise.
43932         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43933         <kernel-features.h>.
43934         (__ASSUME_ATFCTS): Do not undefine and redefine.
43935         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43936         (__have_atfcts): Remove conditional definition.
43937         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43938         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43939         unreachable if [__ASSUME_ATFCTS].
43940         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43941         not undefine and redefine.
43942         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43943         <kernel-features.h>.
43944         (faccessat) [__NR_faccessat]: Make code unconditional.
43945         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43946         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43947         <kernel-features.h>.
43948         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43949         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43950         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43951         <kernel-features.h>.
43952         (fchownat) [__NR_fchownat]: Make code unconditional.
43953         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43954         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43955         <kernel-features.h>.
43956         (futimesat) [__NR_futimesat]: Make code unconditional.
43957         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43958         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43959         <kernel-features.h>.
43960         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43961         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43962         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43963         <kernel-features.h>.
43964         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43965         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43966         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43967         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43968         <kernel-features.h>.
43969         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43970         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43971         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43972         <kernel-features.h>.
43973         (linkat) [__NR_linkat]: Make code unconditional.
43974         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43975         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43976         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43977         <kernel-features.h>.
43978         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43979         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43980         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43981         <kernel-features.h>.
43982         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43983         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43984         * sysdeps/unix/sysv/linux/openat.c: Do not include
43985         <kernel-features.h>.
43986         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43987         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43988         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43989         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43990         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43991         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43992         <kernel-features.h>.
43993         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43994         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43995         result of INLINE_SYSCALL directly, not via int variable.
43996         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43997         <kernel-features.h>.
43998         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43999         (renameat) [__NR_renameat]: Make code unconditional.
44000         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44001         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44002         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44003         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44004         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44005         (__ASSUME_ATFCTS): Do not undefine and redefine.
44006         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44007         <kernel-features.h>.
44008         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44009         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44010         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44011         <kernel-features.h>.
44012         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44013         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44014         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44015         (__ASSUME_ATFCTS): Do not undefine and redefine.
44016         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44017         <kernel-features.h>.
44018         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44019         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44020         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44021         <kernel-features.h>.
44022         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44023         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44025 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44027         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44029 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44031         [BZ #17069]
44032         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44033         constructed tree before returning error.
44034         * posix/bug-regexp36.c: Expand test case.
44036 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44038         [BZ #6803]
44039         * math/libm-test.inc (scalbln_test_date):
44040         Add errno expectations.
44041         * math/w_scalblnf.c: New File.
44042         Add wrapper which checks for setting errno to ERANGE.
44043         Add weak_alias for corresponding scalbln function.
44044         * math/w_scalbln.c: Likewise.
44045         * math/w_scalblnl.c: Likewise.
44046         * math/Makefile (libm-calls): Add w_scalbln.
44047         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44048         Remove weak_alias for corresponding scalbln function.
44049         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44051         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44052         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44053         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44054         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44055         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44056         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44057         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44058         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44059         Remove long_double_symbol for scalblnl function in libm, libc.
44060         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44061         Add wrapper which checks for setting errno to ERANGE.
44062         Add long_double_symbol for scalblnl function in libm, libc.
44063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44064         Remove long_double_symbol for scalblnl in libm.
44065         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44066         Add wrapper which checks for setting errno to ERANGE.
44067         Add long_double_symbol for scalblnl function in libm.
44068         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44069         Do not use wrapper because of own implementation.
44071 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44073         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44074         3 bytes for __pad1 for x32.
44075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44077 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44078             H.J. Lu  <hongjiu.lu@intel.com>
44080         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44081         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44084         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44086 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44088         [BZ #17069]
44089         * posix/regcomp.c (parse_expression): Deallocate partially
44090         constructed tree before returning error.
44091         * posix/Makefile.c (tests): Add bug-regex36.
44092         (generated): Add bug-regex36.mtrace.
44093         (tests-special): Add $(objpfx)bug-regex36-mem.out
44094         (bug-regex36-ENV): New variable.
44095         ($(objpfx)bug-regex36-mem.out): New rule.
44096         * posix/bug-regex36.c: New file.
44098 2014-06-19  Will Newton  <will.newton@linaro.org>
44100         * malloc/malloc.c (systrim): If extra is zero then return
44101         early.
44103 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44105         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44107 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44109         * sysdeps/aarch64/strchr.S: New file.
44111 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44113         [BZ #17022]
44114         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44115         from arguments -2 or below.
44116         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44117         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44119 2014-06-18  Andreas Schwab  <schwab@suse.de>
44121         [BZ #17062]
44122         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44123         of a bracket expr not to run off the end of the string.
44124         * posix/Makefile (tests): Add tst-fnmatch3.
44125         * posix/tst-fnmatch3.c: New file.
44127 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44129         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44130         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44131         [$(cross-compiling) = no]: Likewise.
44132         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44133         [$(cross-compiling) = no]: Likewise.
44135 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44137         [BZ #17031]
44138         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44139         double, adjusted for any remainder from the high double.
44140         * math/libm-test.inc (nearbyint): Add tests.
44141         (rint): Likewise.
44143 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44145         * nptl/sysdeps/powerpc/Makefile: Moved ...
44146         * sysdeps/powerpc/nptl/Makefile: ... here.
44147         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44148         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44149         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44150         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44151         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44152         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44153         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44154         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44155         * nptl/sysdeps/powerpc/tls.h: Moved ...
44156         * sysdeps/powerpc/nptl/tls.h: ... here.
44158 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44160         [BZ #16681]
44161         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44162         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44163         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44164         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44165         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44166         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44167         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44168         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44169         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44171 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44173         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44175 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44177         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44178         defined operator.
44180         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44181         $TIMEOUTFACTOR.
44183 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44185         [BZ #17058]
44186         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44187         non-executed part of the test.
44189 2014-06-16  Andreas Schwab  <schwab@suse.de>
44191         * string/bits/string2.h (strdup, strndup): Update feature guard.
44193 2014-06-14  David S. Miller  <davem@davemloft.net>
44195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44197 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44199         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44200         that was previously under [RESET_PID].
44201         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44203         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44204         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44205         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44206         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44207         (__libc_vfork): New strong alias.
44208         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44210 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44212         * sysdeps/generic/elide.h: New file.
44214 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44216         * Makefile (installed-headers): Adjust path of pthread.h header.
44218 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44220         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44221         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44222         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44223         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44225         * nptl/sysdeps/s390/Makefile: Moved ...
44226         * sysdeps/s390/nptl/Makefile: ... here.
44227         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44228         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44229         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44230         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44231         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44232         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44233         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44234         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44235         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44236         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44237         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44238         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44239         * nptl/sysdeps/s390/tls.h: Moved ...
44240         * sysdeps/s390/nptl/tls.h: ... here.
44242         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44243         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44245 2014-06-13  David S. Miller  <davem@davemloft.net>
44247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44250         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44254         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44255         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44256         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44257         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44258         Remove RESET_PID cpp guards.
44259         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44260         Remove RESET_PID cpp guards.
44261         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44263 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44265         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44266         __sp to uintptr_t.
44268 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44270         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44272         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44275         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44276         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44277         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44279         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44280         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44281         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44282         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44283         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44285         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44287         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44291         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44292         (pthread_rwlock_rdlock): Add elision.
44293         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44294         (pthread_rwlock_wrlock): Add elision.
44295         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44296         (pthread_rwlock_trywrlock): Add elision.
44297         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44298         (pthread_rwlock_tryrdlock): Add elision.
44299         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44300         (pthread_rwlock_tryrdlock): Add elision unlock.
44301         * nptl/sysdeps/pthread/pthread.h:
44302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44303         (PTHREAD_RWLOCK_INITIALIZER,
44304         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44305         Handle new elision field.
44306         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44307         * sysdeps/arm/nptl/bits/pthreadtypes.h
44308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44309         * sysdeps/sh/nptl/bits/pthreadtypes.h
44310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44311         * sysdeps/tile/nptl/bits/pthreadtypes.h
44312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44313         * sysdeps/a/nptl/bits/pthreadtypes.h
44314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44315         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44317         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44319         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44321         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44323         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44325         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44327         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44329         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44331         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44332         (elision_init): Set try_xbegin to zero when no RTM.
44333         * sysdeps/x86/nptl/bits/pthreadtypes.h
44334         (pthread_rwlock_t): Change __pad1 to __rwelision.
44335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44337 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44339         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44340         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44341         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44342         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44344 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44346         [BZ #16996]
44347         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44348         that the cached result has been set before returning it.
44350 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44352         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44353         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44355         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44357         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44359         * nptl/sysdeps/sparc/Makefile: Moved ...
44360         * sysdeps/sparc/nptl/Makefile: ... here.
44361         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44362         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44363         * nptl/sysdeps/sparc/tls.h: Moved ...
44364         * sysdeps/sparc/nptl/tls.h: ... here.
44365         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44366         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44367         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44368         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44369         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44370         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44371         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44372         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44373         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44374         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44375         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44376         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44377         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44378         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44379         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44380         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44381         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44382         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44383         Update #include.
44384         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44385         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44386         Update #include.
44387         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44389         Update #include.
44390         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44391         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44392         Update #include.
44394         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44396         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44397         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44399         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44400         (struct list_links): Type removed.
44401         (struct thread_node, struct timer_node): Replace struct list_links
44402         with struct list_head.
44403         (list_unlink_ip): Likewise.
44404         * sysdeps/pthread/timer_routines.c
44405         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44406         (list_append, list_insbefore): Likewise.
44407         (list_init): Function removed.
44408         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44409         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44410         * sysdeps/pthread/Makefile: ... here, new file.
44412         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44413         * sysdeps/nptl/Implies: ... here.
44414         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44415         * nptl/sysdeps/pthread/list.h: Moved ...
44416         * include/list.h: ... here.
44417         * nptl/sysdeps/pthread/createthread.c: Moved ...
44418         * nptl/createthread.c: ... here.
44419         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44420         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44421         * nptl/pt-longjmp.c: ... here.
44422         * nptl/sysdeps/pthread/Makefile: Moved ...
44423         * sysdeps/nptl/Makefile: ... here.
44424         * nptl/sysdeps/pthread/Subdirs: Moved ...
44425         * sysdeps/nptl/Subdirs: ... here.
44426         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44427         * sysdeps/nptl/aio_misc.h: ... here.
44428         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44429         * sysdeps/nptl/bits/libc-lock.h: ... here.
44430         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44431         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44432         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44433         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44434         * nptl/sysdeps/pthread/configure: Moved ...
44435         * sysdeps/nptl/configure: ... here.
44436         * nptl/sysdeps/pthread/configure.ac: Moved ...
44437         * sysdeps/nptl/configure.ac: ... here.
44438         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44439         * sysdeps/nptl/gai_misc.h: ... here.
44440         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44441         * sysdeps/nptl/librt-cancellation.c: ... here.
44442         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44443         * sysdeps/nptl/malloc-machine.h: ... here.
44444         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44445         * sysdeps/nptl/pthread-functions.h: ... here.
44446         * nptl/sysdeps/pthread/pthread.h: Moved ...
44447         * sysdeps/nptl/pthread.h: ... here.
44448         * nptl/sysdeps/pthread/setxid.h: Moved ...
44449         * sysdeps/nptl/setxid.h: ... here.
44450         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44451         * sysdeps/nptl/sigfillset.c: ... here.
44452         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44453         * sysdeps/nptl/tcb-offsets.h: ... here.
44454         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44455         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44456         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44457         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44458         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44459         * sysdeps/pthread/allocalim.h: ... here.
44460         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44461         * sysdeps/pthread/bits/sigthread.h: ... here.
44462         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44463         * sysdeps/pthread/flockfile.c: ... here.
44464         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44465         * sysdeps/pthread/ftrylockfile.c: ... here.
44466         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44467         * sysdeps/pthread/funlockfile.c: ... here.
44468         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44469         * sysdeps/pthread/posix-timer.h: ... here.
44470         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44471         * sysdeps/pthread/timer_create.c: ... here.
44472         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44473         * sysdeps/pthread/timer_delete.c: ... here.
44474         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44475         * sysdeps/pthread/timer_getoverr.c: ... here.
44476         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44477         * sysdeps/pthread/timer_gettime.c: ... here.
44478         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44479         * sysdeps/pthread/timer_routines.c: ... here.
44480         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44481         * sysdeps/pthread/timer_settime.c: ... here.
44482         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44483         * sysdeps/pthread/tst-timer.c: ... here.
44484         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44485         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44487         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44488         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44490         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44491         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44492         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44493         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44494         Update #include target.
44495         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44496         * sysdeps/i386/i686/nptl/Makefile: ... here.
44497         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44498         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44499         Update #include target.
44500         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44501         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44502         * nptl/sysdeps/i386/Makefile: Moved ...
44503         * sysdeps/i386/nptl/Makefile: ... here.
44504         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44505         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44506         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44507         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44508         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44509         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44510         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44511         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44512         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44513         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44514         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44515         * nptl/sysdeps/i386/tls.h: Moved ...
44516         * sysdeps/i386/nptl/tls.h: ... here.
44518         * sysdeps/sh/Makefile [$(subdir) = csu]
44519         (gen-as-const-headers): Add tcb-offsets.sym.
44520         * nptl/sysdeps/sh/Makefile: File removed.
44521         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44522         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44523         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44524         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44525         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44526         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44527         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44528         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44529         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44530         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44531         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44532         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44533         * nptl/sysdeps/sh/tls.h: Moved ...
44534         * sysdeps/sh/nptl/tls.h: ... here.
44535         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44536         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44537         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44538         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44539         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44540         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44541         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44542         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44543         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44544         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44546         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44548         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44549         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44550         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44552         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44554         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44556         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44558         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44560         Moved ...
44561         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44563         Moved ...
44564         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44568         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44569         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44570         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44571         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44572         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44573         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44574         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44575         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44576         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44577         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44578         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44579         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44580         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44581         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44582         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44584 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44586         * posix/spawn_faction_addopen.c: Include string.h.
44588 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44590         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44591         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44592         * nptl/sysdeps/x86_64/Makefile: Moved ...
44593         * sysdeps/x86_64/nptl/Makefile: ... here.
44594         * nptl/sysdeps/x86_64/configure: Moved ...
44595         * sysdeps/x86_64/nptl/configure: ... here.
44596         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44597         * sysdeps/x86_64/nptl/configure.ac: ... here.
44598         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44599         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44600         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44601         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44602         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44603         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44604         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44605         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44606         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44607         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44608         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44609         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44610         * nptl/sysdeps/x86_64/tls.h: Moved ...
44611         * sysdeps/x86_64/nptl/tls.h: ... here.
44612         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44613         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44614         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44615         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44617         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44619 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44623 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44625         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44626         type.
44627         [POSIX] (off_t): Likewise.
44628         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44629         [POSIX] (S_ISBLK): Require macro.
44630         [POSIX] (S_ISCHR): Likewise.
44631         [POSIX] (S_ISDIR): Likewise.
44632         [POSIX] (S_ISFIFO): Likewise.
44633         [POSIX] (S_ISREG): Likewise.
44634         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44635         optional-macro.
44636         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44637         type.
44638         [POSIX] (time_t): Likewise.
44639         [POSIX] (timer_t): Likewise.
44641 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44643         [BZ #17048]
44644         * posix/spawn_int.h (struct __spawn_action): Make the path string
44645         non-const to support deallocation.
44646         * posix/spawn_faction_addopen.c
44647         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44648         * posix/spawn_faction_destroy.c
44649         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44650         path in all spawn_do_open actions.
44651         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44652         posix_spawn_file_actions_addopen.
44654 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44656         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44657         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44658         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44659         conditional code always true.
44660         (__libc_vfork): New alias.
44662 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44664         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44665         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44667         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44669         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44670         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44672         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44673         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44675         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44676         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44678 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44680         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44681         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44682         multiarch strcmp for PPC64.
44683         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44684         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44686         multiarch optimizations.
44687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44688         (__libc_ifunc_impl_list): Likewise.
44690 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44692         * benchtests/scripts/validate_benchout.py: New script.
44693         * benchtests/Makefile (bench-func): Call it.
44694         * benchtests/scripts/benchout.schema.json: New file.
44696 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44698         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44699         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44700         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44701         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44702         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44703         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44704         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44705         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44706         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44707         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44708         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44709         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44710         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44711         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44712         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44713         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44715         Moved ...
44716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44717         ... here.
44718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44719         Moved ...
44720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44722         Moved ...
44723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44724         ... here.
44725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44728         ... here.
44729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44730         Moved ...
44731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44733         Moved ...
44734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44735         ... here.
44736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44737         Moved ...
44738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44739         ... here.
44740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44741         Moved ...
44742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44746         ... here.
44747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44748         Moved ...
44749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44750         ... here.
44751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44754         ... here.
44755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44756         Moved ...
44757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44759         Moved ...
44760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44761         ... here.
44762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44763         Moved ...
44764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44765         ... here.
44766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44767         Moved ...
44768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44769         ... here.
44770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44771         Moved ...
44772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44774         Moved ...
44775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44776         ... here.
44777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44778         Moved ...
44779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44780         ... here.
44781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44782         Moved ...
44783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44787         ... here.
44788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44792         Moved ...
44793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44795         Moved ...
44796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44797         ... here.
44798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44799         Moved ...
44800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44801         ... here.
44802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44803         Moved ...
44804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44805         ... here.
44806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44807         Moved ...
44808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44810         Moved ...
44811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44812         ... here.
44813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44814         Moved ...
44815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44816         ... here.
44817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44818         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44820         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44822         Moved ...
44823         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44824         ... here.
44825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44826         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44828         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44830         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44832         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44834         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44836         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44838         Moved ...
44839         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44841         Moved ...
44842         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44844         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44846         Moved ...
44847         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44849         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44850         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44851         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44852         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44853         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44855 2014-06-10  Wilco  <wdijkstr@arm.com>
44857         * math/test-fenv-return.c: New file.
44858         * math/Makefile: Add new test test-fenv-return.
44860 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44862         [BZ #17042]
44863         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44864         when x - 1 is zero.
44865         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44866         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44867         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44868         0.0L for an argument of 1.0L.
44869         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44870         Likewise.
44871         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44872         value when x - 1 is zero.
44873         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44874         * sysdeps/i386/fpu/libm-test-ulps: Update.
44875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44877 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44879         [BZ #15119]
44880         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44882 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44884         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44885         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44887 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44889         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44890         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44892         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44893         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44895         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44896         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44898         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44899         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44901         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44902         if not already defined.
44903         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44904         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44905         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44906         (TLS_INIT_TP): Use it.
44907         (TLS_DEFINE_INIT_TP): New macro.
44908         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44910 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44912         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44913         constant.
44914         [POSIX] (IXANY): Likewise.
44915         [POSIX] (OLCUC): Likewise.
44916         [POSIX || POSIX2008] (CBAUD): Do not allow.
44917         [POSIX || POSIX2008] (DEFECHO): Likewise.
44918         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44919         [POSIX || POSIX2008] (ECHOKE): Likewise.
44920         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44921         [POSIX || POSIX2008] (EXTA): Likewise.
44922         [POSIX || POSIX2008] (EXTB): Likewise.
44923         [POSIX || POSIX2008] (FLUSHO): Likewise.
44924         [POSIX || POSIX2008] (LOBLK): Likewise.
44925         [POSIX || POSIX2008] (PENDIN): Likewise.
44926         [POSIX || POSIX2008] (SWTCH): Likewise.
44927         [POSIX || POSIX2008] (VDISCARD): Likewise.
44928         [POSIX || POSIX2008] (VDSUSP): Likewise.
44929         [POSIX || POSIX2008] (VLNEXT): Likewise.
44930         [POSIX || POSIX2008] (VREPRINT): Likewise.
44931         [POSIX || POSIX2008] (VSTATUS): Likewise.
44932         [POSIX || POSIX2008] (VWERASE): Likewise.
44933         (B*): Change to B[0123456789]*.
44934         * conform/data/time.h-data [POSIX || UNIX98]
44935         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44936         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44937         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44938         [POSIX] (tm_*): Do not allow.
44940 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44942         * Makefile (install): Don't set LANGUAGE.
44943         * Makefile.in (install): Likewise.
44944         * assert/Makefile (test-assert-ENV): Remove variable.
44945         (test-assert-perr-ENV): Likewise.
44946         * elf/Makefile (neededtest4-ENV): Likewise.
44947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44948         [$(cross-compiling) = no]: Don't set LANGUAGE.
44949         * io/ftwtest-sh (LANG): Remove variable.
44950         * libio/Makefile (tst-widetext-ENV): Likewise.
44951         * manual/install.texi (Running make install): Don't refer to
44952         environment settings for make install.
44953         * INSTALL: Regenerated.
44954         * nptl/tst-tls6.sh: Don't set LANG.
44955         * posix/globtest.sh (LANG): Remove variable.
44956         * string/Makefile (tester-ENV): Likewise.
44957         (inl-tester-ENV): Likewise.
44958         (noinl-tester-ENV): Likewise.
44959         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44960         [$(cross-compiling) = no]: Don't set LANGUAGE.
44961         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44962         without explicit environment settings.
44964 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44966         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44967         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44968         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44969         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44971 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44973         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44974         other files in the crypt directory.
44975         * crypt/crypt.c: Remove duplicate includes.
44976         * crypt/crypt-entry.c: Likewise.
44977         * crypt/crypt_util.c: Likewise.
44979 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44981         * Makeconfig (run-program-env): New variable.
44982         (run-program-prefix-before-env): Likewise.
44983         (run-program-prefix-after-env): Likewise.
44984         (run-program-prefix): Define in terms of new variables.
44985         (built-program-cmd-before-env): New variable.
44986         (built-program-cmd-after-env): Likewise.
44987         (built-program-cmd): Define in terms of new variables.
44988         (test-program-prefix-before-env): New variable.
44989         (test-program-prefix-after-env): Likewise.
44990         (test-program-prefix): Define in terms of new variables.
44991         (test-program-cmd-before-env): New variable.
44992         (test-program-cmd-after-env): Likewise.
44993         (test-program-cmd): Define in terms of new variables.
44994         * Rules (make-test-out): Use $(run-program-env).
44995         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44996         (help): Do not mention environment variables.  Mention
44997         --timeoutfactor option.
44998         (timeoutfactor): New variable.
44999         (blacklist_exports): Remove function.
45000         (exports): Remove variable.
45001         (command): Do not include ${exports}.
45002         * manual/install.texi (Configuring and compiling): Do not mention
45003         test wrappers preserving environment variables.  Mention that last
45004         assignment to a variable must take precedence.
45005         * INSTALL: Regenerated.
45006         * benchtests/Makefile (run-bench): Use $(run-program-env).
45007         * catgets/Makefile ($(objpfx)test1.cat): Use
45008         $(built-program-cmd-before-env), $(run-program-env) and
45009         $(built-program-cmd-after-env).
45010         ($(objpfx)test2.cat): Do not specify environment variables
45011         explicitly.
45012         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45013         $(run-program-env) and $(built-program-cmd-after-env).
45014         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45015         $(run-program-env) and $(test-program-cmd-after-env).
45016         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45017         explicitly.
45018         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45019         run_program_env and test_program_cmd_after_env arguments.
45020         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45021         * elf/tst-pathopt.sh: Use run_program_env argument.
45022         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45023         $(test-wrapper-env) and $(run-program-env).
45024         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45025         run_program_env arguments.
45026         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45027         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45028         $(test-program-prefix-before-env), $(run-program-env) and
45029         $(test-program-prefix-after-env).
45030         ($(objpfx)tst-gettext2.out): Likewise.
45031         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45032         run_program_env and test_program_prefix_after_env arguments.
45033         * intl/tst-gettext2.sh: Likewise.
45034         * intl/tst-gettext4.sh: Do not set environment variables
45035         explicitly.
45036         * intl/tst-gettext6.sh: Likewise.
45037         * intl/tst-translit.sh: Likewise.
45038         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45039         $(test-program-prefix-before-env), $(run-program-env) and
45040         $(test-program-prefix-after-env).
45041         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45042         run_program_env and test_program_prefix_after_env arguments.
45043         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45044         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45045         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45046         explicitly with each use of ${test_wrapper_env}.
45047         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45048         $(test-program-prefix-before-env), $(run-program-env) and
45049         $(test-program-prefix-after-env).
45050         * posix/tst-getconf.sh: Do not set environment variables
45051         explicitly.
45052         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45053         run_program_env and test_program_prefix_after_env arguments.
45054         * stdio-common/tst-printf.sh: Do not set environment variables
45055         explicitly.
45056         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45057         $(test-program-prefix-before-env), $(run-program-env) and
45058         $(test-program-prefix-after-env).
45059         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45060         run_program_env and test_program_prefix_after_env arguments.
45061         Split $test calls into $test_pre and $test.
45062         * timezone/Makefile (build-testdata): Use
45063         $(built-program-cmd-before-env), $(run-program-env) and
45064         $(built-program-cmd-after-env).
45066 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45068         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45069         strlen for non SHARED builds.
45071 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45073         * nptl/allocatestack.c (check_list): Inlined function...
45074         (__reclaim_stacks): ... here.
45076 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45078         [BZ #15698]
45079         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45080         memory overrun.
45082 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45084         * Rules (make-test-out): Include
45085         LOCPATH=$(common-objpfx)localedata in default environment.
45086         * debug/Makefile (tst-chk1-ENV): Remove variable.
45087         (tst-chk2-ENV): Likewise.
45088         (tst-chk3-ENV): Likewise.
45089         (tst-chk4-ENV): Likewise.
45090         (tst-chk5-ENV): Likewise.
45091         (tst-chk6-ENV): Likewise.
45092         (tst-lfschk1-ENV): Likewise.
45093         (tst-lfschk2-ENV): Likewise.
45094         (tst-lfschk3-ENV): Likewise.
45095         (tst-lfschk4-ENV): Likewise.
45096         (tst-lfschk5-ENV): Likewise.
45097         (tst-lfschk6-ENV): Likewise.
45098         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45099         (tst-iconv7-ENV): Likewise.
45100         * intl/Makefile (LOCPATH-ENV): Likewise.
45101         (tst-codeset-ENV): Likewise.
45102         (tst-gettext3-ENV): Likewise.
45103         (tst-gettext5-ENV): Likewise.
45104         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45105         (tst-fopenloc-ENV): Likewise.
45106         (tst-fgetws-ENV): Remove variable.
45107         (tst-ungetwc1-ENV): Likewise.
45108         (tst-ungetwc2-ENV): Likewise.
45109         (bug-ungetwc2-ENV): Likewise.
45110         (tst-swscanf-ENV): Likewise.
45111         (bug-ftell-ENV): Likewise.
45112         (tst-fgetwc-ENV): Likewise.
45113         (tst-fseek-ENV): Likewise.
45114         (tst-ftell-partial-wide-ENV): Likewise.
45115         (tst-ftell-active-handler-ENV): Likewise.
45116         (tst-ftell-append-ENV): Likewise.
45117         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45118         (tst-regexloc-ENV): Likewise.
45119         (bug-regex1-ENV): Likewise.
45120         (tst-regex-ENV): Likewise.
45121         (tst-regex2-ENV): Likewise.
45122         (bug-regex5-ENV): Likewise.
45123         (bug-regex6-ENV): Likewise.
45124         (bug-regex17-ENV): Likewise.
45125         (bug-regex18-ENV): Likewise.
45126         (bug-regex19-ENV): Likewise.
45127         (bug-regex20-ENV): Likewise.
45128         (bug-regex22-ENV): Likewise.
45129         (bug-regex23-ENV): Likewise.
45130         (bug-regex25-ENV): Likewise.
45131         (bug-regex26-ENV): Likewise.
45132         (bug-regex30-ENV): Likewise.
45133         (bug-regex32-ENV): Likewise.
45134         (bug-regex33-ENV): Likewise.
45135         (bug-regex34-ENV): Likewise.
45136         (bug-regex35-ENV): Likewise.
45137         (tst-rxspencer-ENV): Likewise.
45138         (tst-rxspencer-no-utf8-ENV): Likewise.
45139         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45140         (tst-sscanf-ENV): Likewise.
45141         (tst-swprintf-ENV): Likewise.
45142         (tst-swscanf-ENV): Likewise.
45143         (test-vfprintf-ENV): Likewise.
45144         (scanf13-ENV): Likewise.
45145         (bug14-ENV): Likewise.
45146         (tst-grouping-ENV): Likewise.
45147         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45148         (tst-strtod3-ENV): Likewise.
45149         (tst-strtod4-ENV): Likewise.
45150         (tst-strtod5-ENV): Likewise.
45151         (testmb2-ENV): Likewise./
45152         * string/Makefile (tst-strxfrm-ENV): Likewise.
45153         (tst-strxfrm2-ENV): Likewise.
45154         (bug-strcoll1-ENV): Likewise.
45155         (test-strcasecmp-ENV): Likewise.
45156         (test-strncasecmp-ENV): Likewise.
45157         * time/Makefile (tst-strptime-ENV): Likewise.
45158         (tst-ftime_l-ENV): Likewise.
45159         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45160         (tst-mbrtowc-ENV): Likewise.
45161         (tst-wcrtomb-ENV): Likewise.
45162         (tst-mbrtowc2-ENV): Likewise.
45163         (tst-c16c32-1-ENV): Likewise.
45164         (tst-mbsnrtowcs-ENV): Likewise.
45166 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45168         * manual/resource.texi (How to get information about the memory
45169         subsystem?): Fix typo.
45170         Reported by Peon de la Parra Ivan <peon@keba.com>
45172 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45174         [BZ #16882]
45175         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45176         (pthread_spin_lock): Branch out of spin loop to proper location.
45177         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45178         (pthread_spin_lock): Likewise.
45180         * nptl/tst-spin4.c: New test.
45181         * nptl/Makefile (tests): Add tst-spin4.
45183 2014-06-03  Andreas Schwab  <schwab@suse.de>
45185         [BZ #15946]
45186         * resolv/res_send.c (send_dg): Reload file descriptor after
45187         calling reopen.
45189 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45193 2014-06-03  Richard Henderson  <rth@redhat.com>
45195         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45196         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45197         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45198         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45199         in the SAVE_PID block.
45200         (__libc_vfork): New alias.
45201         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45203         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45204         child in registers, not on the stack.  Remove RESET_PID conditionals.
45205         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45207 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45209         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45211 2014-06-03  Wilco  <wdijkstr@arm.com>
45213         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45214         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45215         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45216         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45217         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45218         Likewise.
45220 2014-06-03  Wilco  <wdijkstr@arm.com>
45222         * sysdeps/aarch64/fpu/math_private.h
45223         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45224         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45225         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45226         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45227         Fix declarations.
45229 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45231         * crypt/crypt-private.h: Include ufc-crypt.h.
45232         (__b64_from_24bit): Declare extern.
45233         * crypt/crypt_util.c(__b64_from_24bit): New function.
45234         (b64t): New static const variable.
45235         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45236         (b64t): Remove variable.
45237         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45238         * crypt/sha256-crypt.c: Include crypt-private.h.
45239         (b64t): Remove variable.
45240         (__sha256_crypt_r): Remove b64_from_24bit and replace
45241         with __b64_from_24bit.
45242         * crypt/sha512-crypt.c: Likewise.
45244 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45246         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45247         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45248         Label the code __libc_vfork rather than __vfork.
45249         [!NOT_IN_libc] (vfork): Define as weak alias.
45250         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45251         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45252         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45254 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45256         * malloc/malloc.c (malloc_info): Fix format specifier for
45257         n_mmaps.
45259 2014-06-02  Wilco  <wdijkstr@arm.com>
45261         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45262         FPCR write.
45264 2014-06-02  Wilco  <wdijkstr@arm.com>
45266         [BZ #17009]
45267         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45268         Rewrite to reduce FPCR/FPSR accesses.
45270 2014-06-01  David S. Miller  <davem@davemloft.net>
45272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45274 2014-05-31  David S. Miller  <davem@davemloft.net>
45276         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45277         to occur in round to nearest mode when |x| >= 2.0
45279 2014-05-30  Richard Henderson  <rth@twiddle.net>
45281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45282         (PSEUDO_RET_NOERRNO): Remove.
45283         (ret): Don't redefine.
45284         (ret_NOERRNO): Define in terms of ret.
45285         (ret_ERRVAL): Likewise.
45287         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45288         use of PSEUDO_RET; perform the error check directly.
45290 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45292         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45293         with __int128_t.
45295 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45297         * malloc/malloc (malloc_info): Fix formatting.
45299 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300             Roland McGrath  <roland@hack.frob.com>
45302         * malloc/malloc (malloc_info): Also print mmapped statistics.
45304 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45306         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45307         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45309 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45311         * malloc/malloc.c (malloc_info): Inline mi_arena.
45313 2014-05-29  Richard Henderson  <rth@twiddle.net>
45315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45316         Remove comma before expanding ASM_ARGS_##nr.
45317         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45318         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45319         of ASM_ARGS_##nr.
45320         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45321         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45322         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45323         (ASM_ARGS_1): Add leading comma.
45325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45326         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45327         to __errno_location.
45328         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45329         Remove the expected plt for __errno_location.
45331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45332         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45333         call to __read_tp.
45335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45336         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45337         it and break it down.
45338         (DOCARGS_0, DOCARGS_1): Do nothing.
45339         (DOCARGS_2): Update to store into the new stack frame.
45340         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45341         (UNDOCARGS_1): Update to restore from the new stack frame.
45342         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45343         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45346         (SINGLE_THREAD_P): New parameter for result regno.
45347         (PSEUDO): Update to match; use cbz instead of beq.
45349         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45350         Use ENTRY to define the _nocancel entry point.  Share the syscall
45351         and syscall error check paths with the cancel path.
45352         (PSEUDO_END): New.
45354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45355         whitespace; tabs before and after asm mnemonics.
45357 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45359         [BZ #15132]
45360         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45361         Call fstat64 or stat64 internally, depending on arguments passed.
45362         Replace stat buffer argument with file descriptor argument.
45363         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45365         Pass fd to __internal_statvfs instead of calling fstat64.
45366         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45367         Pass fd to __internal_statvfs64 instead of calling fstat64.
45368         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45369         Pass -1 to __internal_statvfs instead of calling stat64.
45370         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45371         Pass -1 to __internal_statvfs64 instead of calling stat64.
45373 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45375         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45376         that was previously under [RESET_PID].
45377         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45379         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45380         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45382 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45384         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45386         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45387         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45389 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45391         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45393 2014-05-27  Andreas Schwab  <schwab@suse.de>
45395         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45396         TLS_INIT_TP macro.
45397         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45398         * elf/rtld.c (init_tls, dl_main): Likewise.
45399         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45400         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45401         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45402         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45403         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45404         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45405         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45406         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45407         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45408         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45409         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45410         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45411         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45412         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45413         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45414         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45415         * sysdeps/generic/tls.h: Update description.
45417 2014-05-27  Will Newton  <will.newton@linaro.org>
45419         [BZ #16990]
45420         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45421         and restore r2 rather than just restoring.
45423 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45425         [BZ #16724]
45426         * libio/tst-ftell-append.c: New test case.
45427         * libio/Makefile (tests): Add test case.
45428         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45429         append mode.
45430         * libio/wfileops.c (do_ftell_wide): Likewise.
45432 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45436         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45437         ...
45438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45440         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45441         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45442         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45443         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45444         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45445         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45446         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45447         Moved ...
45448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45450         Moved ...
45451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45452         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45453         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45454         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45455         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45456         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45457         ...
45458         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45459         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45460         Moved ...
45461         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45462         here.
45463         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45464         ...
45465         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45466         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45467         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45469         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45470         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45471         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45472         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45475         merge into ...
45476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45478         ...
45479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45481         ...
45482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45484         Moved ...
45485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45486         here.
45487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45488         Moved ...
45489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45491         Moved ...
45492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45495         conditional [RESET_PID].
45496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45498         removed.
45499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45500         removed.
45502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45503         <tcb-offsets.h>.
45504         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45505         (__libc_vfork): New strong alias.
45506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45507         removed.
45508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45509         Removed.
45511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45512         <tcb-offsets.h>.
45513         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45514         (__libc_vfork): New strong alias.
45515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45516         removed.
45517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45518         removed.
45520 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45522         * malloc/malloc.c (mi_arena): New function.
45523         (malloc_info): Remove nested function mi_arena. Call non-nosted
45524         function mi_arena.
45526 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45528         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45529         by insrwi.
45530         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45531         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45532         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45533         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45534         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45535         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45536         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45538 2014-05-26  Andreas Schwab  <schwab@suse.de>
45540         [BZ #16984]
45541         * locale/programs/repertoire.c (repertoire_read): Add slash
45542         between I18NPATH element and file name.
45543         * locale/programs/locfile.c (locfile_read): Likewise.
45545 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45547         * nptl/pthread_mutexattr_settype.c
45548         (__pthread_mutexattr_settype):
45549         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45551 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45553         * nptl/tst-mutex5 (do_test):
45554         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45556 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45558         * benchtests/README: Document 'init' directive.
45559         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45560         BENCH_INIT.
45561         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45562         (parse_file): Recognize 'init' directive.
45564 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45566         [BZ #16796]
45567         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45568         alignment of struct pthread.
45570 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45572         [BZ #16878]
45573         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45574         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45575         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45576         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45578 2014-05-25  Richard Henderson  <rth@twiddle.net>
45580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45581         (SINGLE_THREAD_P_PIC): Remove.
45582         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45583         (SINGLE_THREAD_P_PIC): Remove.
45585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45586         branch to syscall error ...
45587         (PSEUDO): ... here.
45588         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45589         from __local_syscall_error to .Lsyscall_error.
45590         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45591         (SYSCALL_ERROR): Update label name.
45593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45594         Do not use DOARGS/UNDOARGS.
45595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45596         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45597         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45598         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45599         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45601         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45602         block comment.
45604         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45605         define if !NOT_IN_libc.
45606         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45607         define with non-default symbol versions.
45609 2014-05-23  Richard Henderson  <rth@twiddle.net>
45611         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45612         (vfork, __vfork): Define via compat_symbol.
45614         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45615         [!HAVE_IFUNC] (vfork_compat): Remove.
45616         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45618 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45620         [BZ #16978]
45621         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45622         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45623         variable.
45625 2014-05-23  Richard Henderson  <rth@twiddle.net>
45627         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45628         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45629         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45630         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45632         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45633         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45634         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45635         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45636         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45637         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45638         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45639         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45640         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45641         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45642         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45643         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45644         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45645         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45646         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45647         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45648         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45649         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45650         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45651         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45652         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45653         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45654         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45655         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45656         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45657         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45658         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45659         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45660         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45661         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45662         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45663         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45664         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45665         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45666         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45667         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45668         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45669         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45670         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45671         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45672         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45673         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45674         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45675         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45676         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45677         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45679         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45680         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45681         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45682         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45683         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45684         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45685         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45687         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45689         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45690         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45691         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45692         before exiting on error.
45693         (__libc_vfork): New strong alias.
45694         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45695         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45697         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45698         that was previously under [RESET_PID].
45699         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45701         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45703 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45705         [BZ #16977]
45706         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45707         value when x - 1 is zero.
45708         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45709         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45710         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45711         0.0L for an argument of 1.0L.
45712         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45713         Likewise.
45714         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45715         value when x - 1 is zero.
45716         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45717         * sysdeps/i386/fpu/libm-test-ulps: Update.
45718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45720 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45722         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45723         alphasort and versionsort.
45725 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45727         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45728         macro.
45729         [copysignf]: Likewise.
45731 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45733         * crypt/md5-crypt.c: Fix formatting.
45735 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45737         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45738         (b64_from_24bit): New function.
45740 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45742         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45743         libc_hidden_builtin_def to ifunc.
45744         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45745         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45747 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45749         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45750         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45752 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45754         * nscd/Depend (linuxthreads): Remove.
45755         (nptl): Add.
45756         * resolv/Depend (linuxthreads): Remove.
45757         * rt/Depend (linuxthreads): Remove.
45759         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45760         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45761         $(common-objpfx)elf/.
45762         (link-libc-before-gnulib): Likewise.
45763         (elfobjdir): Remove variable.
45764         * Makefile (install): Use $(elf-objpfx) instead of
45765         $(common-objpfx)elf/.
45766         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45767         $(elfobjdir)/.
45768         (link-libc-deps): Likewise.
45769         ($(common-objpfx)libc.so): Likewise.
45770         ($(common-objpfx)linkobj/libc.so): Likewise.
45771         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45772         instead of $(common-objpfx)elf/.
45773         (symbolic-link-list): Likewise.
45774         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45775         [$(cross-compiling) = no]: Likewise.
45776         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45777         $(elfobjdir)/.
45778         (static-gnulib-arch): Likewise.
45779         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45780         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45781         $(common-objpfx)elf/.
45783 2014-05-21  Richard Henderson  <rth@redhat.com>
45785         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45786         (SINGLE_THREAD_P): Use the correct width load.  Fold
45787         into the ldr offset.
45789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45790         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45792 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45794         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45795         (libgcc_s_resume): Use __attribute_used__.
45796         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45797         Likewise.
45799 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45801         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45802         optimization when used with float constants.
45804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45806 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45808         [BZ #16915]
45809         * locale/nl_langinfo_l.c: Make direct reference to every
45810         _nl_current_CATEGORY symbol.
45811         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45812         (tests-static): Add tst-langinfo-static.
45813         (tests-special): Add tst-langinfo-static.out.
45814         ($(objpfx)tst-langinfo.out): Redirect output.
45815         ($(objpfx)tst-langinfo-static.out): New.
45816         * localedata/tst-langinfo.sh: Send output to stdout.
45817         * localedata/tst-langinfo-static.c: New file.
45819         [BZ #16965]
45820         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45821         when the shift amount is modulo the limb size.
45823 2014-05-20  Richard Henderson  <rth@redhat.com>
45825         [BZ #16967]
45826         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45827         Change type of sa_flags from unsigned int to int.
45829         [BZ #16966]
45830         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45832         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45834 2014-05-20  Will Newton  <will.newton@linaro.org>
45836         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45837         Test the return value of the system call in the nocancel case.
45839 2014-05-20  Will Newton  <will.newton@linaro.org>
45840             Yvan Roux  <yvan.roux@linaro.org>
45842         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45843         #include of asm/ptrace.h.
45844         (PTRACE_GET_THREAD_AREA): Remove #undef.
45845         (PTRACE_GETHBPREGS): Likewise.
45846         (PTRACE_SETHBPREGS): Likewise.
45847         (struct user_regs_struct): New structure.
45848         (struct user_fpsimd_struct): New structure.
45849         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45850         #include of asm/ptrace.h and second #include of sys/user.h.
45851         (PTRACE_GET_THREAD_AREA): Remove #undef.
45852         (PTRACE_GETHBPREGS): Likewise.
45853         (PTRACE_SETHBPREGS): Likewise.
45854         (ELF_NGREG): Use new struct user_regs_struct.
45855         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45857 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45859         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45860         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45862 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45864         [BZ #16958]
45865         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45866         membar to avoid block loads/stores to overlap previous stores.
45868 2014-05-17  Richard Henderson  <rth@redhat.com>
45870         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45871         Create the __##syscall_name##_nocancel entry point.
45872         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45873         Remove; let the sysdep-cancel.h code create it.
45875 2014-05-17  David S. Miller  <davem@davemloft.net>
45877         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45878         Protect with __USE_GNU.
45879         (TIOCSET_TEMPT): Likewise.
45880         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45881         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45882         these are already provided in bits/ioctl-types.h
45884 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45886         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45887         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45889         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45890         Use wait4 regardless of [__NR_waitpid].
45892 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45894         PR libgcc/60166
45895         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45896         (_FP_NANSIGN_Q): Set the quiet bit.
45898 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45900         * benchtests/Makefile
45901         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45902         not $(common-objpfx)math/libm.so.
45903         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45904         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45905         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45906         $(common-objpfx)dlfcn/libdl.so.
45907         ($(objpfx)tst-audit8): Depend on $(libm), not
45908         $(common-objpfx)math/libm.so.
45909         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45910         not $(common-objpfx)dlfcn/libdl.so.
45911         * math/Makefile
45912         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45913         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45914         [$(build-shared) = yes].
45915         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45916         $(common-objpfx)nptl/libpthread.so.
45917         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45918         $(common-objpfx)math/libm.so$(libm.so-version) or
45919         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45920         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45921         $(common-objpfx)dlfcn/libdl.so.
45922         * setjmp/Makefile (link-libm): Remove variable.
45923         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45924         * stdio-common/Makefile (link-libm): Remove variable.
45925         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45926         * stdlib/Makefile (link-libm): Remove variable.
45927         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45928         ($(objpfx)tst-strtod-round): Likewise.
45929         ($(objpfx)tst-tininess): Likewise.
45930         ($(objpfx)tst-strtod-underflow): Likewise.
45931         ($(objpfx)tst-strtod6): Likewise.
45932         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45933         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45934         $(common-objpfx)dlfcn/libdl.so.
45936 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45938         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45939         BSD terminal modes definitions.
45941 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45943         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45944         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45946         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45947         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45948         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45949         Don't do #include_next.
45950         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45951         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45952         Don't do #include_next.
45953         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45954         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45955         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45956         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45958 2014-05-16  Allan McRae  <allan@archlinux.org>
45960         * po/sv.po: Update Swedish translation from translation project.
45962         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45963         in sed expression.
45965 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45967         [BZ #16917]
45968         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45969         errno if the TIOCGPTN ioctl fails with an error different than
45970         EINVAL.
45971         * login/tst-ptsname.c: New file.
45972         * login/Makefile (tests): Add tst-ptsname.
45974         [BZ #16943]
45975         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45976         and prlimit64.
45978 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45980         [BZ #16849]
45981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45982         herrno to return EAI_AGAIN.
45984 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45986         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45987         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45988         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45989         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45991         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45992         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45993         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45995         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45996         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45997         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45999         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46000         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46001         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46002         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46003         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46005         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46006         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46007         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46008         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46011         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46012         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46013         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46014         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46015         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46017         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46019         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46021         Moved ...
46022         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46024         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46026         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46030         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46032         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46034         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46036         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46038         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46040         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46042         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46044         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46046         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46048         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46050         Moved ...
46051         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46053         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46055         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46057         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46059         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46061         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46063         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46065         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46067         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46069         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46071         Moved ...
46072         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46074         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46076         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46077         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46078         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46079         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46080         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46081         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46082         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46083         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46084         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46085         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46086         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46087         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46088         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46090         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46091         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46092         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46093         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46094         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46095         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46096         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46097         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46098         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46099         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46100         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46101         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46102         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46103         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46104         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46105         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46106         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46108         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46109         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46111         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46112         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46113         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46114         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46115         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46116         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46117         Moved ...
46118         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46123         Moved ...
46124         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46126         Moved ...
46127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46129         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46131         Moved ...
46132         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46133         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46134         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46136         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46138         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46140         Moved ...
46141         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46143         Moved ...
46144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46145         ... here.
46146         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46147         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46148         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46149         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46151         Moved ...
46152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46153         ... here.
46154         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46157         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46158         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46159         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46160         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46161         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46162         Moved ...
46163         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46165         Moved ...
46166         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46168         Moved ...
46169         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46171         Moved ...
46172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46173         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46174         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46176         Moved ...
46177         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46178         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46179         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46181         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46183         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46184         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46185         Moved ...
46186         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46188         Moved ...
46189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46190         ... here.
46191         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46192         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46193         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46194         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46196         Moved ...
46197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46198         ... here.
46199         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46200         Moved ...
46201         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46202         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46203         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46204         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46205         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46206         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46207         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46208         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46209         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46210         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46211         Moved ...
46212         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46214         Moved ...
46215         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46217         Moved ...
46218         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46220         Moved ...
46221         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46222         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46223         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46224         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46225         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46227         Moved ...
46228         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46229         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46230         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46231         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46232         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46233         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46234         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46235         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46236         Moved ...
46237         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46239         Moved ...
46240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46241         ... here.
46242         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46243         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46244         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46245         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46247         Moved ...
46248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46249         ... here.
46250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46251         Moved ...
46252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46253         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46254         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46255         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46256         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46257         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46258         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46260         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46261         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46262         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46264         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46265         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46267         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46268         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46270         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46271         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46272         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46273         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46274         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46275         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46276         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46277         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46278         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46279         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46281         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46282         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46283         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46284         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46286         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46288         Moved ...
46289         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46291         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46293         Moved ...
46294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46298         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46301         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46302         Moved ...
46303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46305         Moved ...
46306         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46312         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46313         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46314         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46315         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46316         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46317         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46318         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46319         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46320         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46321         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46322         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46324         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46325         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46326         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46327         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46328         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46330         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46331         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46332         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46333         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46334         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46335         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46336         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46337         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46338         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46339         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46344         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46345         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46346         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46347         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46348         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46349         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46350         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46351         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46352         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46353         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46354         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46355         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46356         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46357         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46359         Update #include.
46360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46361         Likewise.
46362         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46363         Likewise.
46364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46365         Likewise.
46366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46367         Likewise.
46368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46369         Likewise.
46370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46371         Likewise.
46372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46373         Likewise.
46374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46375         Likewise.
46376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46377         Likewise.
46378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46383         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46388         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46389         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46391         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46394         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46395         that was previously under [RESET_PID].
46396         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46397         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46398         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46400         * sysdeps/i386/nptl/Implies: New file.
46401         * sysdeps/x86_64/nptl/Implies: New file.
46402         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46403         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46404         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46405         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46407         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46408         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46409         (__libc_vfork): New strong alias.
46410         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46411         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46413         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46414         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46415         (__libc_vfork): New strong alias.
46416         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46417         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46419         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46420         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46421         (__libc_vfork): New strong alias.
46422         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46423         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46424         * nptl/pt-vfork.c: New file.
46425         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46426         (libpthread: GLIBC_2.20): New version set (empty).
46428 2014-05-14  Will Newton  <will.newton@linaro.org>
46430         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46431         rather than #if.
46433 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46435         [BZ #16564]
46436         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46437         arguments with exponent 65 or above.
46438         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46439         arguments 0x1p113L or above.
46440         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46441         to arguments 0x1p107L or above.
46442         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46443         positive arguments with exponent 65 or above.
46444         * math/auto-libm-test-in: Add more tests of log1p.
46445         * math/auto-libm-test-out: Regenerated.
46447         [BZ #16928]
46448         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46449         non-finite arguments is +0.
46450         * math/s_cacosf.c (__cacosf): Likewise.
46451         * math/s_cacosl.c (__cacosl): Likewise.
46452         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46453         * sysdeps/i386/fpu/libm-test-ulps: Update.
46454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46456         [BZ #16927]
46457         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46458         value.
46459         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46460         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46461         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46462         for explicit high bit of mantissa when testing for argument equal
46463         to 1.
46464         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46465         * sysdeps/i386/fpu/libm-test-ulps: Update.
46466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46468         [BZ #16516]
46469         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46470         (__erf): Scale by 16 instead of 8 in potentially underflowing
46471         case.  Ensure exception if result actually underflows.
46472         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46473         (__erff): Scale by 16 instead of 8 in potentially underflowing
46474         case.  Ensure exception if result actually underflows.
46475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46476         (efx8): Remove variable.
46477         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46478         case.  Ensure exception if result actually underflows.
46479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46480         (efx8): Remove variable.
46481         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46482         case.  Ensure exception if result actually underflows.
46483         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46484         (efx8): Remove variable.
46485         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46486         case.  Ensure exception if result actually underflows.
46487         * math/auto-libm-test-in: Add more tests of erf.
46488         * math/auto-libm-test-out: Regenerated.
46490 2014-05-14  Andreas Schwab  <schwab@suse.de>
46492         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46493         Remove code conditionalized on USE___THREAD.
46495         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46496         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46497         not definedness.
46499 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46501         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46502         Define unconditionally.
46503         (__ASSUME_O_CLOEXEC): Likewise.
46504         (__ASSUME_SOCK_CLOEXEC): Likewise.
46505         (__ASSUME_IN_NONBLOCK): Likewise.
46506         (__ASSUME_PIPE2): Likewise.
46507         (__ASSUME_EVENTFD2): Likewise.
46508         (__ASSUME_SIGNALFD4): Likewise.
46509         (__ASSUME_DUP3): Likewise.
46510         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46511         (__ASSUME_DUP3): Do not define.
46512         (__ASSUME_EVENTFD2): Likewise.
46513         (__ASSUME_IN_NONBLOCK): Likewise.
46514         (__ASSUME_O_CLOEXEC): Likewise.
46515         (__ASSUME_PIPE2): Likewise.
46516         (__ASSUME_SIGNALFD4): Likewise.
46517         (__ASSUME_SOCK_CLOEXEC): Likewise.
46518         (__ASSUME_UTIMES): Undefine.
46519         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46520         (__ASSUME_UTIMES): Do not define.
46521         (__ASSUME_O_CLOEXEC): Likewise.
46522         (__ASSUME_SOCK_CLOEXEC): Likewise.
46523         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46524         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46525         0x020621].
46526         (__ASSUME_PIPE2): Likewise.
46527         (__ASSUME_EVENTFD2): Likewise.
46528         (__ASSUME_SIGNALFD4): Likewise.
46529         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46530         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46531         Do not define.
46532         (__ASSUME_EVENTFD2): Likewise.
46533         (__ASSUME_SIGNALFD4): Likewise.
46534         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46535         (__ASSUME_32BITUIDS): Likewise.
46536         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46537         (__ASSUME_IPC64): Likewise.
46538         (__ASSUME_ST_INO_64_BIT): Likewise.
46539         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46540         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46541         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46542         (__ASSUME_UTIMES): Do not define.
46543         (__ASSUME_PSELECT): Likewise.
46544         (__ASSUME_PPOLL): Likewise.
46545         (__ASSUME_O_CLOEXEC): Likewise.
46546         (__ASSUME_SOCK_CLOEXEC): Likewise.
46547         (__ASSUME_IN_NONBLOCK): Likewise.
46548         (__ASSUME_PIPE2): Likewise.
46549         (__ASSUME_EVENTFD2): Likewise.
46550         (__ASSUME_SIGNALFD4): Likewise.
46551         (__ASSUME_DUP3): Likewise.
46552         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46553         (__ASSUME_UTIMES): Likewise.
46554         (__ASSUME_O_CLOEXEC): Likewise.
46555         (__ASSUME_SOCK_CLOEXEC): Likewise.
46556         (__ASSUME_IN_NONBLOCK): Likewise.
46557         (__ASSUME_PIPE2): Likewise.
46558         (__ASSUME_EVENTFD2): Likewise.
46559         (__ASSUME_SIGNALFD4): Likewise.
46560         (__ASSUME_DUP3): Likewise.
46561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46562         (__ASSUME_UTIMES): Likewise.
46563         (__ASSUME_O_CLOEXEC): Likewise.
46564         (__ASSUME_SOCK_CLOEXEC): Likewise.
46565         (__ASSUME_IN_NONBLOCK): Likewise.
46566         (__ASSUME_PIPE2): Likewise.
46567         (__ASSUME_EVENTFD2): Likewise.
46568         (__ASSUME_SIGNALFD4): Likewise.
46569         (__ASSUME_DUP3): Likewise.
46570         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46571         Likewise.
46572         (__ASSUME_UTIMES): Likewise.
46573         (__ASSUME_EVENTFD2): Likewise.
46574         (__ASSUME_SIGNALFD4): Likewise.
46575         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46576         (__ASSUME_O_CLOEXEC): Likewise.
46577         (__ASSUME_SOCK_CLOEXEC): Likewise.
46578         (__ASSUME_IN_NONBLOCK): Likewise.
46579         (__ASSUME_PIPE2): Likewise.
46580         (__ASSUME_EVENTFD2): Likewise.
46581         (__ASSUME_SIGNALFD4): Likewise.
46582         (__ASSUME_DUP3): Likewise.
46583         (__ASSUME_UTIMES): Undefine.
46585         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46586         feclearexcept.  Remove symbol versioning code.
46587         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46588         symbol versioning code.
46589         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46590         symbol versioning code.
46591         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46592         feupdateenv.  Remove symbol versioning code.
46593         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46594         fegetexceptflag.  Remove symbol versioning code.
46595         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46596         fesetexceptflag.  Remove symbol versioning code.
46597         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46598         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46599         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46600         (__posix_fadvise64_l32): Remove prototype.
46601         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46602         code.
46604 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46606         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46607         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46608         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46609         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46611 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46613         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46614         current working directory
46616 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46618         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46619         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46620         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46621         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46622         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46623         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46624         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46625         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46626         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46627         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46628         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46629         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46630         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46631         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46632         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46633         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46634         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46635         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46636         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46637         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46638         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46639         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46640         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46641         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46642         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46643         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46644         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46645         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46646         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46647         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46648         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46649         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46650         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46651         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46652         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46653         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46654         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46655         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46656         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46657         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46658         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46659         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46661         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46662         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46664         * sysdeps/unix/sysv/linux/arm/Makefile
46665         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46666         Add rt-aeabi_unwind_cpp_pr1.
46667         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46668         Add nptl-aeabi_unwind_cpp_pr1.
46669         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46670         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46671         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46672         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46673         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46674         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46676         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46677         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46678         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46679         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46681         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46682         Deconditionalize the code that was previously under [RESET_PID].
46683         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46685         * sysdeps/generic/exit-thread.h: New file.
46686         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46687         * include/unistd.h (__exit_thread): Remove declaration.
46688         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46689         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46690         * csu/libc-start.c: Include <exit-thread.h>.
46691         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46692         * nptl/pthread_create.c: Include <exit-thread.h>.
46693         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46694         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46695         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46696         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46697         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46698         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46699         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46700         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46701         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46702         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46703         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46704         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46705         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46706         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46707         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46708         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46709         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46711 2014-05-13  Andreas Schwab  <schwab@suse.de>
46713         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46715 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46717         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46718         (__ASSUME_UTIMES): Do not condition on kernel version.
46719         (__ASSUME_PSELECT): Define unconditionally.
46720         (__ASSUME_PPOLL): Likewise.
46721         (__ASSUME_ATFCTS): Likewise.
46722         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46723         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46724         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46725         (__ASSUME_UTIMENSAT): Define unconditionally.
46726         (__ASSUME_PRIVATE_FUTEX): Likewise.
46727         (__ASSUME_FALLOCATE): Likewise.
46728         (__ASSUME_O_CLOEXEC): Likewise.
46729         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46730         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46731         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46732         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46733         (__ASSUME_IN_NONBLOCK): Likewise.
46734         (__ASSUME_PIPE2): Likewise.
46735         (__ASSUME_EVENTFD2): Likewise.
46736         (__ASSUME_SIGNALFD4): Likewise.
46737         (__ASSUME_DUP3): Likewise.
46738         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46739         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46740         (__ASSUME_AT_RANDOM): Likewise.
46741         (__ASSUME_PREADV): Likewise.
46742         (__ASSUME_PWRITEV): Likewise.
46743         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46744         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46745         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46746         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46747         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46748         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46749         (__ASSUME_O_CLOEXEC): Define unconditionally.
46750         (__ASSUME_PSELECT): Do not undefine conditionally.
46751         (__ASSUME_PPOLL): Likewise.
46752         (__ASSUME_ATFCTS): Likewise.
46753         (__ASSUME_SET_ROBUST_LIST): Likewise.
46754         (__ASSUME_UTIMENSAT): Likewise.
46755         (__ASSUME_FDATASYNC): Define unconditionally.
46756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46757         (__ASSUME_SIGFRAME_V2): Likewise.
46758         )__ASSUME_EVENTFD2): Likewise.
46759         (__ASSUME_SIGNALFD4): Likewise.
46760         (__ASSUME_PSELECT): Do not undefine conditionally.
46761         (__ASSUME_PPOLL): Likewise.
46762         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46763         (__ASSUME_PSELECT): Define unconditionally.
46764         (__ASSUME_PPOLL): Likewise.
46765         (__ASSUME_O_CLOEXEC): Likewise.
46766         (__ASSUME_SOCK_CLOEXEC): Likewise.
46767         (__ASSUME_IN_NONBLOCK): Likewise.
46768         (__ASSUME_PIPE2): Likewise.
46769         (__ASSUME_EVENTFD2): Likewise.
46770         (__ASSUME_SIGNALFD4): Likewise.
46771         (__ASSUME_DUP3): Likewise.
46772         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46773         (__ASSUME_O_CLOEXEC): Likewise.
46774         (__ASSUME_SOCK_CLOEXEC): Likewise.
46775         (__ASSUME_IN_NONBLOCK): Likewise.
46776         (__ASSUME_PIPE2): Likewise.
46777         (__ASSUME_EVENTFD2): Likewise.
46778         (__ASSUME_SIGNALFD4): Likewise.
46779         (__ASSUME_DUP3): Likewise.
46780         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46781         (__ASSUME_EVENTFD2): Likewise.
46782         (__ASSUME_SIGNALFD4): Likewise.
46783         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46785 2014-05-12  Andreas Schwab  <schwab@suse.de>
46787         [BZ #16932]
46788         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46789         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46790         than maximum RPC packet size.
46791         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46792         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46793         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46794         (_nss_nis_getservbyport_r): Likewise.
46796 2014-05-12  Will Newton  <will.newton@linaro.org>
46798         * malloc/Makefile (tests): Add tst-mallopt.
46799         * malloc/tst-mallopt.c: New file.
46801 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46803         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46804         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46806 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46808         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46809         (tst-tlsmod6.so): Likewise.
46811 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46813         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46815 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46817         [BZ #16064]
46818         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46819         and <dl-procinfo.h>.
46820         (__fegetenv): Save SSE state in envp->__eip if supported.
46821         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46822         envp->__eip if supported.
46823         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46824         and <dl-procinfo.h>.
46825         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46826         __data_offset and __data_selector in environment to 0.  Set SSE
46827         state if supported.
46828         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46829         test-fenv-sse.
46830         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46831         -mfpmath=sse.
46832         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46834 2014-05-09  Will Newton  <will.newton@linaro.org>
46836         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46837         and libc_relro_required for ARM.
46838         * sysdeps/arm/preconfigure: Regenerate.
46840 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46841             Stefan Liebler  <stli@linux.vnet.ibm.com>
46843         * config.make.in (enable-lock-elision): New Makefile variable.
46844         * configure.ac: Likewise.
46845         * configure: Regenerate.
46846         * sysdeps/s390/configure.ac:
46847         Add check for gcc transactions support.
46848         * sysdeps/s390/configure: Regenerate.
46849         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46850         Build elision files if enabled.
46851         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46852         Add lock elision support for s390.
46853         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46854         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46855         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46856         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46857         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46858         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46860         Likewise.
46861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46862         Likewise.
46863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46864         Likewise.
46865         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46866         Likewise.
46867         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46868         (__lll_timedlock_elision, __lll_lock_elision)
46869         (__lll_unlock_elision, __lll_trylock_elision)
46870         (lll_timedlock_elision, lll_lock_elision)
46871         (lll_unlock_elision, lll_trylock_elision): Add.
46872         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46873         (pthread_mutex_t): Add lock elision support for s390.
46875 2014-05-14  Wilco  <wdijkstr@arm.com>
46877         * sysdeps/arm/fclrexcpt.c: Cleanup.
46878         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46879         * sysdeps/arm/feenablxcpt.c: Cleanup.
46880         * sysdeps/arm/fegetenv.c: Cleanup.
46881         * sysdeps/arm/fegetexcept.c: Cleanup.
46882         * sysdeps/arm/fegetround.c: Cleanup.
46883         * sysdeps/arm/feholdexcpt.c: Cleanup.
46884         * sysdeps/arm/fesetenv.c: Cleanup.
46885         * sysdeps/arm/fesetround.c: Cleanup.
46886         * sysdeps/arm/feupdateenv.c: Cleanup.
46887         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46888         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46889         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46890         * sysdeps/arm/ftestexcept.c: Cleanup.
46891         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46892         * sysdeps/arm/setfpucw.c: Cleanup.
46894 2014-05-09  Will Newton  <will.newton@linaro.org>
46896         * sysdeps/arm/armv7/strcmp.S: New file.
46897         * NEWS: Mention addition of ARMv7 optimized strcmp.
46899 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46901         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46902         look for %.ac rather than %.in.
46904         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46905         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46906         * sysdeps/mach/hurd/configure: Regenerated.
46907         * sysdeps/unix/sysv/linux/configure: Regenerated.
46909         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46911 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46913         [BZ #16922]
46914         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46915         (LONG_SUB): Ditto.
46916         (PTR_SUB): Ditto.
46918 2014-05-07  Andreas Schwab  <schwab@suse.de>
46920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46921         when skipping over non-matching result from nscd.
46923 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46925         [BZ #16876]
46926         * nptl/sockperf.c (client): Check socket return value.
46928         [BZ #16877]
46929         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46930         nscd security class.
46932 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46934         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46935         * sysdeps/arm/unwind.h: ... here.
46937 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46939         [BZ #16916]
46940         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46941         Define.
46943 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46945         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46946         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46947         multiarch strncpy for PPC64.
46948         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46949         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46951         multiarch optimizations.
46952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46953         (__libc_ifunc_impl_list): Likewise.
46954         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46955         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46956         multiarch stpncpy for PPC64.
46957         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46958         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46960 2014-05-06  Andreas Schwab  <schwab@suse.de>
46962         [BZ #16912]
46963         * gmon/mcount.c (_MCOUNT_DECL): Use
46964         atomic_compare_and_exchange_bool_acq instead of
46965         catomic_compare_and_exchange_bool_acq.
46967 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46969         * elf/Makefile (others, install-bin): Remove pldd.
46970         (pldd-modules): Variable removed.
46971         ($(objpfx)pldd): Target removed.
46972         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46973         (others, install-bin): Append pldd here.
46974         ($(objpfx)pldd): New target.
46976         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46977         to 0, so the first #if test emitted later doesn't see it undefined.
46978         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46979         * sysdeps/gnu/errlist.c: Regenerated.
46981 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46983         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46984         [libc_hidden_builtin_def]: Define to empty value.
46985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46986         [libc_hidden_builtin_def]: Likewise.
46987         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46988         [libc_hidden_builtin_def]: Likewise.
46989         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46990         [libc_hidden_builtin_def]: Likewise.
46991         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46992         __redirect_memcpy and define ifunc as default hidden symbol.
46993         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46994         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46996 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46998         * locale/iso-4217.def: Reintroduce XDR currency.
47000 2014-05-04  Allan McRae  <allan@archlinux.org>
47002         * po/eo.po: Update Esperanto translation from translation project.
47004 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47006         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47007         and FEATURE_INDEX_MAX to 1.
47008         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47010 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47012         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47013         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47014         * iconvdata/big5.c (ONE_DIRECTION): Define.
47015         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47016         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47017         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47018         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47019         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47020         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47021         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47022         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47023         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47024         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47025         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47026         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47027         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47028         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47029         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47030         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47031         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47032         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47033         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47034         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47035         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47036         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47037         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47038         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47039         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47040         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47041         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47042         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47043         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47044         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47045         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47046         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47047         * iconvdata/johab.c (ONE_DIRECTION): Define.
47048         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47049         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47050         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47051         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47052         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47053         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47054         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47055         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47056         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47057         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47059 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47061         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47062         (_IO_JUMPS_OFFSET): Define to 0.
47064         * nptl/sysdeps/pthread/bits/libc-lock.h
47065         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47066         (__libc_lock_define_initialized_recursive): Always define using
47067         initializer.  Modern compilers treat uninitialized (implicit zero) and
47068         explicit zero initializers the same (i.e. put the datum in bss).
47070 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47072         * nscd/nscd-client.h: Include <string.h>.
47074 2014-05-01  David S. Miller  <davem@davemloft.net>
47076         [BZ #16885]
47077         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47078         multiple zero bytes exist at the end of a string.
47079         Reported by Aurelien Jarno <aurelien@aurel32.net>
47081         * string/test-strcmp.c (check): Add explicit test for situations where
47082         there are multiple zero bytes after the first.
47084 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47086         [BZ #16890]
47087         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47088         when compiling wprintf.
47089         * stdio-common/tstdiomisc.c (t3): New function.
47090         (main): Call it.
47092 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47094         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47095         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47096         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47097         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47099 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47101         * stdlib/longlong.h: Updated from GCC.
47103 2014-05-01  Will Newton  <will.newton@linaro.org>
47104             Bernard Ogden  <bernie.ogden@linaro.org>
47106         * NEWS: Update fixed bug list.
47108         [BZ #15119]
47109         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47111 2014-04-30  David S. Miller  <davem@davemloft.net>
47113         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47114         (libc_feholdexcept_setround_sparc_ctx): New function.
47115         (libc_fesetenv_sparc_ctx): Likewise.
47116         (libc_feupdateenv_sparc_ctx): Likewise.
47117         (libc_feholdsetround_sparc_ctx): Likewise.
47118         (libc_feholdexcept_setround_ctx): Define.
47119         (libc_feholdexcept_setroundf_ctx): Likewise.
47120         (libc_feholdexcept_setroundl_ctx): Likewise.
47121         (libc_fesetenv_ctx): Likewise.
47122         (libc_fesetenvf_ctx): Likewise.
47123         (libc_fesetenvl_ctx): Likewise.
47124         (libc_feupdateenv_ctx): Likewise.
47125         (libc_feupdateenvf_ctx): Likewise.
47126         (libc_feupdateenvl_ctx): Likewise.
47127         (libc_feresetround_ctx): Likewise.
47128         (libc_feresetroundf_ctx): Likewise.
47129         (libc_feresetroundl_ctx): Likewise.
47130         (libc_feholdsetround_ctx): Likewise.
47131         (libc_feholdsetroundf_ctx): Likewise.
47132         (libc_feholdsetroundl_ctx): Likewise.
47134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47135         with __USE_GNU instead of XOPEN cpp guards.
47137         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47138         0.
47140         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47141         with XOPEN cpp guards.
47143 2014-04-30  Julian Brown  <julian@codesourcery.com>
47145         [BZ #16888]
47146         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47147         handling.
47149 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47151         [BZ #9894]
47152         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47153         Change to 2.6.32.
47154         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47155         * sysdeps/unix/sysv/linux/configure: Regenerated.
47156         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47157         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47158         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47159         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47160         * README: Update reference to required Linux kernel version.
47161         * manual/install.texi (Linux): Update reference to required Linux
47162         kernel headers version.
47163         * INSTALL: Regenerated.
47165         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47166         header inclusion.
47167         [POSIX] (limits.h): Likewise.
47168         [POSIX] (math.h): Likewise.
47169         [POSIX] (sys/wait.h): Likewise.
47170         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47171         function.
47172         [POSIX] (stddef.h): Do not allow header inclusion.
47174 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47176         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47178 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47180         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47181         Return immediately after lll_futex_wake.
47183 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47185         [BZ #16791]
47186         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47187         structure.
47188         (datahead_init_pos): Call datahead_init_common early.
47189         (datahead_init_neg): Likewise.
47191         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47192         datahead_init_neg): New functions.
47193         * nscd/aicache.c (addhstaiX): Use them.
47194         * nscd/grpcache.c (cache_addgr): Likewise.
47195         * nscd/hstcache.c (cache_addhst): Likewise.
47196         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47197         * nscd/netgroupcache.c (do_notfound): Likewise.
47198         (addgetnetgrentX): Likewise.
47199         (addinnetgrX): Likewise.
47200         * nscd/pwdcache.c (cache_addpw): Likewise.
47201         * nscd/servicescache.c (cache_addserv): Likewise.
47203 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47204             Atsushi Onoe  <atsushi@onoe.org>
47206         [BZ #14308]
47207         [BZ #12994]
47208         [BZ #13651]
47209         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47210         one response is valid.
47211         * resolv/res_send.c (send_dg): Check for validity of other
47212         response if the current response is a referral.
47214 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47216         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47218 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47220         [BZ #16823]
47221         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47222         Always divide by positive zero when computing -Inf result.
47223         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47224         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47226 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47228         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47229         FPSCR if value do not change.
47230         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47231         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47232         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47233         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47234         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47235         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47236         function.
47238 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47240         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47241         * sysdeps/unix/sysv/linux/hppa: Move directory from
47242         ports/systeps/unix/sysv/linux/hppa.
47243         * README: Update listing for hppa-*-linux-gnu.
47245 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47247         [BZ #16754]
47248         * manual/stdio.texi (Hook functions): Fix types of stream hook
47249         functions.
47250         [BZ #16854]
47251         * socket/sys/socket.h: Fix typo in comment.
47253 2014-04-28  Wilco  <wdijkstr@arm.com>
47255         * sysdeps/arm/fenv_private.h: New file.
47256         * sysdeps/arm/math_private.h: New file.
47257         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47259 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47261         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47262         with __int128_t.
47263         (La_x86_64_retval): Likewise.
47265 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47267         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47268         fpsr if value didn't change.
47269         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47270         to fpcr if value didn't change.
47271         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47272         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47273         fpsr or fpcr if value didn't change.
47274         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47275         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47276         fpcr if value didn't change.
47277         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47278         to fpsr if value didn't change.
47280 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47282         * nptl/tst-sem3.c: Use test-skeleton.c
47283         (main): Rename to do_test.  Use return instead of
47284         exit.
47285         * nptl/tst-sem4.c: Use test-skeleton.c
47286         (main): Rename to do_test.
47288 2014-04-22  David S. Miller  <davem@davemloft.net>
47290         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47291         (struct sigaction): New struct member __glibc_reserved0, change
47292         type of sa_flags to int.
47294 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47296         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47297         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47299 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47301         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47302         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47304 2014-04-22  Will Newton  <will.newton@linaro.org>
47305             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47307         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47308         (__longjmp): Add longjmp and longjmp_target SystemTap
47309         probes.
47310         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47311         (__sigsetjmp): Add setjmp SystemTap probe.
47313 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47315         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47316         match manual order.
47318 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47320         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47322         * sysdeps/powerpc/fpu/fenv_private.h
47323         (libc_feholdexcept_setroundl_ctx): Define to
47324         libc_feholdexcept_setround_ppc_ctx.
47325         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47326         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47327         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47328         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47330 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47332         * sysdeps/aarch64/math-tests.h: New file.
47334 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47336         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47337         New.
47338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47339         Check and set bit_AVX2_Usable.
47340         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47341         macro.
47342         (bit_AVX2): Likewise.
47343         (index_AVX2_Usable): Likewise.
47344         (CPUID_AVX2): Likewise.
47345         (HAS_AVX2): Likewise.
47347 2014-04-17  Will Newton  <will.newton@linaro.org>
47349         * manual/setjmp.texi (System V contexts): Add note that
47350         calling setcontext on a context created by a call to a
47351         signal handler is undefined.  Update text to note that
47352         setcontext from a signal handler is possible but not
47353         recommended.
47355         [BZ #16629]
47356         * stdlib/tst-setcontext.c: Include signal.h.
47357         (main): Check that the signal stack before and
47358         after swapcontext is the same.
47360         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47361         Re-implement to restore registers in user code and avoid
47362         rt_sigreturn system call.
47364 2014-04-17  Wilco  <wdijkstr@arm.com>
47366         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47367         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47368         * math/test-fenv.c: Skip exception trap tests on targets which only
47369         support non-stop mode.
47371 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47372             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47374         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47375         (libc_feholdsetround_aarch64_ctx)
47376         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47377         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47378         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47379         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47380         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47381         (libc_feresetround_noexl_ctx): Define.
47383 2014-04-16  Richard Henderson  <rth@redhat.com>
47385         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47387         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47388         unwind tables.
47390         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47391         const from the non-libc, non-ldso copy.
47393         * sysdeps/alpha/libm-test-ulps: Regenerate.
47395 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47396             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47398         * sysdeps/aarch64/fpu/math_private.h: New file.
47400 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47402         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47404 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47406         [BZ #16275]
47407         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47408         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47410         Intel MPX bound registers before _dl_profile_fixup.
47411         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47412         registers after _dl_profile_fixup.  Save and restore bound
47413         registers bnd0/bnd1 when calling _dl_call_pltexit.
47414         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47415         (LR_BND_OFFSET): Likewise.
47416         (LRV_BND0_OFFSET): Likewise.
47417         (LRV_BND1_OFFSET): Likewise.
47419 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47421         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47422         to...
47423         * sysdeps/mach/hurd/i386/tls.h: ... here.
47424         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47425         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47426         fields.
47428 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47430         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47432 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47434         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47436 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47438         [BZ #14770]
47439         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47440         * sysdeps/s390/configure: Regenerate.
47442         [BZ #16824]
47443         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47444         Set round-to-nearest internally to reduce error accumulation.
47446 2014-04-16  Alan Modra  <amodra@gmail.com>
47448         [BZ #16740]
47449         [BZ #16619]
47450         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47451         * math/libm-test.inc (frexp_test_data): Add tests.
47452         * NEWS: Update fixed bug list.
47454 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47456         * benchtests/Makefile: Depend on libraries in build directory.
47457         (bench-math): Separate out math tests.
47458         (bench-pthread): Separate out pthread tests.
47459         (bench): Include math and pthread tests.
47461 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47463         [BZ #16831]
47464         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47465         _dl_debug_initialize.
47467         * configure.ac: Remove SELinux header check.
47468         * configure: Regenerate.
47469         * nscd/selinux.c (perms): Array of const char* to permission names.
47470         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47471         default policy. Call string_to_security_class and string_to_av_perm to
47472         translate strings. Enforce default policy and call avs_has_perm with
47473         results of translated strings.
47475 2014-04-13  David S. Miller  <davem@davemloft.net>
47477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47479 2014-04-12  Allan McRae  <allan@archlinux.org>
47481         [BZ #16838]
47482         * manual/string.texi (Collation Functions): Fix qsort argument
47483         order in example.
47484         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47486 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47488         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47489         Make the test a no-op if there are no exceptions defined.
47491 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47493         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47494         enable-hardcoded-path-in-tests
47496 2014-04-11  Will Newton  <will.newton@linaro.org>
47498         * benchtests/Makefile (extra-objs): Add json-lib.o.
47499         (bench-func): Tidy up JSON output.
47500         * benchtests/bench-skeleton.c: Include json-lib.h.
47501         (main): Use JSON library functions to do output of
47502         benchmark results.
47503         * benchtests/bench-timing-type.c (main): Output the
47504         timing type simply, leaving formatting to the user.
47505         * benchtests/json-lib.c: New file.
47506         * benchtests/json-lib.h: Likewise.
47508 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47510         [BZ #15215]
47511         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47512         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47513         memory barriers.  Add comments.
47514         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47515         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47516         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47517         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47518         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47519         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47521 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47523         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47524         * sysdeps/s390/s390-64/configure.ac: ... this ...
47525         * sysdeps/s390/configure.ac: ... to here.
47526         * sysdeps/s390/s390-32/configure: Delete file.
47527         * sysdeps/s390/s390-64/configure: Delete file.
47528         * sysdeps/s390/configure: Regenerate.
47530 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47532         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47534 2014-04-11  Will Newton  <will.newton@linaro.org>
47536         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47537         to zero if it is not defined elsewhere.  (mtrim): Test
47538         the value of MALLOC_DEBUG with #if rather than #ifdef.
47540 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47542         * benchtests/pthread_once-inputs: New file.
47543         * benchtests/pthread_once-source.c: New file.
47544         * benchtests/README: Update documentation.
47546 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47547             H.J. Lu  <hongjiu.lu@intel.com>
47549         [BZ #16275]
47550         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47551         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47552         * sysdeps/x86_64/configure: Regenerated.
47553         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47554         macro.
47555         (REGISTER_SAVE_RAX): Likewise.
47556         (REGISTER_SAVE_RCX): Likewise.
47557         (REGISTER_SAVE_RDX): Likewise.
47558         (REGISTER_SAVE_RSI): Likewise.
47559         (REGISTER_SAVE_RDI): Likewise.
47560         (REGISTER_SAVE_R8): Likewise.
47561         (REGISTER_SAVE_R9): Likewise.
47562         (REGISTER_SAVE_BND0): Likewise.
47563         (REGISTER_SAVE_BND1): Likewise.
47564         (REGISTER_SAVE_BND2): Likewise.
47565         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47566         bound registers when calling _dl_fixup.
47568 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47570         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47571         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47572         of its definition.
47573         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47574         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47575         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47576         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47577         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47578         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47579         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47581 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47583         [BZ #15514]
47584         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47585         pathconf(_PC_NAME_MAX).
47587 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47589         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47590         Remove macro usage.
47591         (__PTHREAD_SPINS): Move definition to ...
47592         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47593         (__PTHREAD_SPINS): ... here.
47594         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47595         (__PTHREAD_SPIN): Likewise.
47596         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47597         (__PTHREAD_SPIN): Likewise.
47598         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47599         (__PTHREAD_SPIN): Likewise.
47600         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47601         (__PTHREAD_SPIN): Likewise.
47602         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47603         (__PTHREAD_SPIN): Likewise.
47604         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47605         (__PTHREAD_SPIN): Likewise.
47606         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47607         (__PTHREAD_SPIN): Likewise.
47608         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47609         (__PTHREAD_SPIN): Likewise.
47610         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47611         (__PTHREAD_SPIN): Likewise.
47612         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47613         (__PTHREAD_SPIN): Likewise.
47614         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47615         (__PTHREAD_SPIN): Likewise.
47616         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47617         (__PTHREAD_SPIN): Likewise.
47619         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47620         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47621         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47622         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47623         imply folder.
47624         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47625         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47626         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47627         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47628         correct imply path.
47629         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47630         strlen symbol for non multi-arch builds.
47631         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47632         missing hidden_def and weak_alias.
47634 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47636         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47638 2014-04-07  Will Newton  <will.newton@linaro.org>
47640         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47641         and contents.  [!_LIBC] Remove #ifndef and contents.
47642         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47643         * string/memccpy.c (__memccpy): Use ANSI prototype.
47644         * string/memfrob.c (memfrob): Likewise.
47645         * string/strcoll.c (STRCOLL): Likewise.
47646         * string/strlen.c (strlen): Likewise.
47647         * string/strtok.c (STRTOK): Likewise.
47648         * string/strcat.c: Remove unused #include of memcopy.h.
47649         (strcat): Use ANSI prototype.
47650         * string/strchr.c: Remove unused #include of memcopy.h.
47651         (strchr): Use ANSI prototype.
47652         * string/strcmp.c: Remove unused #include of memcopy.h.
47653         (strcmp): Use ANSI prototype.
47654         * string/strcpy.c: Remove unused #include of memcopy.h.
47655         (strcpy): Use ANSI prototype.
47657 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47659         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47660         * config.make.in (config-extra-cppflags): Set it from
47661         libc_extra_cppflags.
47662         * configure.ac (libc_extra_cflags): Make it accumulate over
47663         configure fragments.
47664         (libc_extra_cppflags): New flag.
47665         * configure. Regenerate.
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47667         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47668         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47671         [BZ #16815]
47672         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47673         result for FE_DOWNWARD rounding mode.
47674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47675         Likewise.
47676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47678 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47680         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47681         in function argument name.
47683 2014-04-03  David Svoboda  <svoboda@cert.org>
47685         [BZ #5666]
47686         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47687         explicitly.
47689 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47691         * elf/dl-unmap-segments.h: New file.
47692         * sysdeps/generic/ldsodefs.h
47693         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47694         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47695         * elf/dl-fptr.c: Likewise.
47696         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47697         * sysdeps/aarch64/tlsdesc.c: Likewise.
47698         * sysdeps/arm/tlsdesc.c: Likewise.
47699         * sysdeps/i386/tlsdesc.c: Likewise.
47700         * sysdeps/tile/dl-runtime.c: Likewise.
47701         * sysdeps/x86_64/tlsdesc.c: Likewise.
47702         * elf/dl-load.h: New file.
47703         * elf/dl-load.c: Include it.
47704         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47705         Macros moved to dl-load.h.
47706         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47707         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47708         Use _dl_unmap_segments in place of __munmap.
47709         Break out segment-mapping loop into ...
47710         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47712 2014-04-03  Will Newton  <will.newton@linaro.org>
47714         * elf/dl-lookup.c (do_lookup_x): Remove comment
47715         referring to nested function and move variable
47716         declarations down to before first use.
47718 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47720         [BZ #16799]
47721         [BZ #16800]
47722         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47723         with 0 numerator.
47724         * math/s_catanf.c (__catanf): Likewise.
47725         * math/s_catanh.c (__catanh): Likewise.
47726         * math/s_catanhf.c (__catanhf): Likewise.
47727         * math/s_catanhl.c (__catanhl): Likewise.
47728         * math/s_catanl.c (__catanl): Likewise.
47729         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47730         by positive zero when computing -Inf result.
47731         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47732         (catanh_test): Likewise.
47733         * sysdeps/i386/fpu/libm-test-ulps: Update.
47734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47736         [BZ #16789]
47737         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47738         instead of using underflowing value in computing result.
47739         * math/s_clog10.c (__clog10): Likewise.
47740         * math/s_clog10f.c (__clog10f): Likewise.
47741         * math/s_clog10l.c (__clog10l): Likewise.
47742         * math/s_clogf.c (__clogf): Likewise.
47743         * math/s_clogl.c (__clogl): Likewise.
47744         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47745         (clog10_test): Likewise.
47746         * sysdeps/i386/fpu/libm-test-ulps: Update.
47747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47749 2014-04-02  Alan Modra  <amodra@gmail.com>
47751         [BZ #16739]
47752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47753         output when value is near a power of two.  Use int64_t for lx and
47754         remove casts.  Use decimal rather than hex exponent constants.
47755         Don't use long double multiplication when double will suffice.
47756         * math/libm-test.inc (nextafter_test_data): Add tests.
47757         * NEWS: Add 16739 and 16786 to bug list.
47759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47761         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47763 2014-04-01  Will Newton  <will.newton@linaro.org>
47765         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47766         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47768 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47770         [BZ #13347]
47771         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47772         * nptl/tst-setuid2.c: New file.
47773         * nptl/Makefile (xtests): Add tst-setuid2.
47775 2014-04-01  Alan Modra  <amodra@gmail.com>
47777         [BZ #16786]
47778         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47780 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47782         [BZ #6803]
47783         [BZ #6804]
47784         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47785         set errno as appropriate.
47786         * math/w_scalbf.c (__scalbf): Likewise.
47787         * math/w_scalbl.c (__scalbl): Likewise.
47788         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47789         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47790         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47791         Add more NaN tests.
47793         [BZ #16349]
47794         * math/w_atan2.c: Include <errno.h>.
47795         (__atan2): Set errno for result underflowing to zero.
47796         * math/w_atan2f.c: Include <errno.h>.
47797         (__atan2f): Set errno for result underflowing to zero.
47798         * math/w_atan2l.c: Include <errno.h>.
47799         (__atan2l): Set errno for result underflowing to zero.
47800         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47801         tests.
47802         * math/auto-libm-test-out: Regenerated.
47804 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47806         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47807         Encode instruction correctly in little endian.
47808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47809         Likewise.
47810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47811         Likewise.
47812         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47813         Likewise.
47814         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47815         Likewise.
47817 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47819         [BZ #9894]
47820         * sysdeps/unix/sysv/linux/kernel-features.h
47821         [__sparc__ && !__arch64__ && !__sparc_v9__]
47822         (__ASSUME_SET_ROBUST_LIST): Do not define.
47823         [__sparc__ && !__arch64__ && !__sparc_v9__]
47824         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47825         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47826         Likewise.
47827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47828         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47829         (__ASSUME_REQUEUE_PI): Likewise.
47830         (__ASSUME_SET_ROBUST_LIST): Likewise.
47831         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47832         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47833         Undefine.
47834         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47835         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47836         Likewise.
47837         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47838         Likewise.
47839         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47840         Likewise.
47841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47842         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47843         Undefine.
47844         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47845         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47846         Likewise.
47848         [BZ #16648]
47849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47851         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47853 2014-03-31  Will Newton  <will.newton@linaro.org>
47855         * benchtests/Makefile (bench): Add ffs and ffsll to list
47856         of tests.
47857         * benchtests/ffs-inputs: New file.
47858         * benchtests/ffsll-inputs: Likewise.
47860 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47862         [BZ #16770]
47863         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47864         too large before casting to int.
47865         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47866         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47867         * math/libm-test.inc (scalb_test_data): Add more tests.
47869 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47871         * benchtests/Makefile (DETAILED_OPT): New make option.
47872         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47873         set.
47874         * benchtests/bench-skeleton.c: Include stdbool.h.
47875         (main): Store and print timings per input.
47876         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47877         member to each argument value.
47878         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47879         (_print_arg_data): Initialize per-input timing to 0.
47881         * benchtests/Makefile (timing-type): New binary.
47882         (bench-clean): Also remove bench-timing-type.
47883         (bench): New target for timing-type.
47884         (bench-func): Print output in JSON format.
47885         * benchtests/bench-skeleton.c (main): Print output in JSON
47886         format.
47887         * benchtests/bench-timing-type.c: New file.
47888         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47889         (TIMING_PRINT_STATS): Remove.
47890         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47891         name separately.
47893         * benchtests/bench-modf.c: Remove.
47894         * benchtests/modf-inputs: New inputs file.
47896 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47898         [BZ #16362]
47899         * math/s_clog10.c (M_PI_LOG10E): New macro.
47900         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47901         imaginary parts are 0.
47902         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47903         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47904         imaginary parts are 0.
47905         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47906         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47907         imaginary parts are 0.
47908         * math/libm-test.inc (clog10_test_data): Update expected results
47909         for when real and imaginary parts are 0.
47911 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47913         * elf/dl-load.c: Finish conversion of __builtin_expect into
47914         __glibc_{un}likely.
47916 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47918         [BZ #16348]
47919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47920         1+x for argument with exponent below -67.
47921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47922         Likewise.
47923         * math/auto-libm-test-in: Add more tests of exp.
47924         * math/auto-libm-test-out: Regenerated.
47926 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47928         [BZ #16759]
47929         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47930         (nscd_getnetgrent): Use it.
47932         [BZ #16760]
47933         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47934         of stpcpy.
47936 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47938         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47939         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47940         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47941         (lll_robust_unlock): Remove out of line section. Use cfi
47942         intrinsics.
47943         (LLL_STUB_UNWIND_INFO*): Remove.
47944         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47945         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47946         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47947         (lll_robust_unlock): Remove out of line section. Use cfi
47948         intrinsics.
47949         (LLL_STUB_UNWIND_INFO*): Remove.
47951 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47953         [BZ #16758]
47954         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47955         blank values.
47957 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47959         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47961 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47963         [BZ #16198]
47964         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47965         fnstenv.
47966         * math/test-fenv-preserve.c: New file.
47967         * math/Makefile (tests): Add test-fenv-preserve.
47969 2014-03-26  Will Newton <will.newton@linaro.org>
47971         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47973 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47975         * scripts/versionlist.awk: Partition the version sets and emit all
47976         GLIBC_* (sorted) before all others (sorted).
47978 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47980         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47981         GLIBC_2.2.5 version.
47983 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47985         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47986         calls.
47988         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47989         previous change.
47991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47993 2014-03-25  Andreas Schwab  <schwab@suse.de>
47995         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47996         label to be used after in6ailist is initialized.
47998 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48000         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48001         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48003 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48005         [BZ #16357]
48006         [BZ #16599]
48007         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48008         min_plus_half.
48009         (fp_formats): Update initializers.
48010         (init_fp_formats): Initialize new field.
48011         (output_for_one_input_case): Allow underflow for results up to
48012         min_plus_half.
48013         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48014         * math/auto-libm-test-in: Don't mark some underflows from asin and
48015         atanh as spurious.
48016         * math/auto-libm-test-out: Regenerated.
48017         * sysdeps/i386/fpu/libm-test-ulps: Update.
48018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48020 2014-03-25  Andreas Schwab  <schwab@suse.de>
48022         * libio/Makefile (tst-ftell-partial-wide-ENV)
48023         (tst-ftell-active-handler-ENV): Define.
48025 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48027         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48029 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48031         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48033 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48035         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48036         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48037         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48039 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48041         [BZ #16634]
48042         * elf/dl-load.c (open_verify): Add mode parameter.
48043         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48044         (open_path): Change from boolean 'secure' to complete flag 'mode'
48045         (_dl_map_object): Adjust.
48046         * elf/Makefile (tests): Add tst-dlopen-aout.
48047         * elf/tst-dlopen-aout.c: New test.
48049 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48051         [BZ #16714]
48052         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48053         (struct stat): Rename member pad0 to __glibc_reserved0.
48055         [BZ #16712]
48056         * sysdeps/s390/s390-32/bits/wordsize.h
48057         (__WORDSIZE32_SIZE_ULONG): New define.
48058         * sysdeps/s390/s390-64/bits/wordsize.h
48059         (__WORDSIZE32_SIZE_ULONG): Likewise.
48060         * sysdeps/generic/stdint.h (SIZE_MAX):
48061         Define as UL if __WORDSIZE32_SIZE_ULONG.
48063         [BZ #16713]
48064         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48065         (__glibc_reserved0): New variable.
48066         (sa_flags): Change type to int.
48068         * posix/Makefile (before-compile): Use += before-compile instead
48069         of a :=.
48071         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48072         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48074 2014-03-20  Andreas Schwab  <schwab@suse.de>
48076         [BZ #16743]
48077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48078         non-matching result from nscd.
48080 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48082         * scripts/bench.py: Moved to ...
48083         * benchtests/scripts/bench.py: ... here.
48084         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48086 2014-03-24  Andreas Schwab  <schwab@suse.de>
48088         [BZ #16002]
48089         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48090         alloca_account and account alloca use for struct in6ailist.
48092 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48094         [BZ #16284]
48095         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48096         rounding mode to recompute results that overflow to infinity or
48097         underflow to zero.
48098         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48099         bug 16284.
48100         * math/auto-libm-test-out: Regenerated.
48101         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48102         (ccosh_test): Likewise.
48103         (csin_test_data): Use plus_oflow.
48104         (csin_test): Use ALL_RM_TEST.
48105         (csinh_test_data): Use plus_oflow.
48106         (csinh_test): Use ALL_RM_TEST.
48107         * sysdeps/i386/fpu/libm-test-ulps: Update.
48108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48110 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48112         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48113         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48114         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48116         [BZ #16731]
48117         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48118         when x - 1 is zero.
48119         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48120         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48121         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48122         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48123         argument is 1.
48124         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48125         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48126         zero.
48127         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48128         * sysdeps/i386/fpu/libm-test-ulps: Update.
48129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48131 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48133         * scripts/bench.pl: Remove file.
48134         * scripts/bench.py: New benchmark script.
48135         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48136         * benchtests/README: Mention python dependency.
48137         * scripts/pylintrc: New file.
48138         * scripts/pylint: New file.
48140         * bits/mathdef.h: Use #ifdef instead of #if.
48141         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48142         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48143         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48144         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48145         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48146         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48148 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48149             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48151         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48153         and strpbrk-ppc64 objects.
48154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48155         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48156         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48157         multiarch strpbrk for POWER7.
48158         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48159         multiarch strpbrk for PPC64.
48160         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48161         ifunc selector.
48162         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48163         strpbrk for POWER7.
48165 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48167         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48168         (atan_test): Likewise.
48169         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48170         (atanh_test): Use ALL_RM_TEST.
48171         (atan2_test_data): Likewise.
48172         (cabs_test): Likewise.
48173         (cacosh_test): Likewise.
48174         (carg_test): Likewise.
48175         (casin_test): Likewise.
48176         (casinh_test): Likewise.
48177         (cbrt_test): Likewise.
48178         (csqrt_test): Likewise.
48179         (erf_test): Likewise.
48180         (erfc_test): Likewise.
48181         (pow10_test): Likewise.
48182         (exp2_test): Likewise.
48183         (hypot_test): Likewise.
48184         (j0_test): Likewise.
48185         (j1_test): Likewise.
48186         (lgamma_test): Likewise.
48187         (gamma_test): Likewise.
48188         (sincos_test): Likewise.
48189         (tanh_test): Likewise.
48190         (y0_test): Likewise.
48191         (y1_test): Likewise.
48192         * sysdeps/i386/fpu/libm-test-ulps: Update.
48193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48195 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48197         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48199         and strcspn-ppc64 objects.
48200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48201         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48202         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48203         multiarch strcspn for POWER7.
48204         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48205         multiarch strcspn for PPC64.
48206         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48207         ifunc selector.
48208         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48209         strcspn for POWER7.
48211 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48213         * math/gen-libm-test.pl (generate_testfile): Expect only function
48214         name as argument to AUTO_TESTS_* and pass results for all rounding
48215         modes to parse_args.
48216         (parse_auto_input): Separate inputs of automatic tests from
48217         outputs before storing in %auto_tests.
48218         * math/libm-test.inc (acos_test_data): Update call to
48219         AUTO_TESTS_f_f.
48220         (acos_test): Use ALL_RM_TEST.
48221         (acos_tonearest_test_data): Remove.
48222         (acos_test_tonearest): Likewise.
48223         (acos_towardzero_test_data): Likewise.
48224         (acos_test_towardzero): Likewise.
48225         (acos_downward_test_data): Likewise.
48226         (acos_test_downward): Likewise.
48227         (acos_upward_test_data): Likewise.
48228         (acos_test_upward): Likewise.
48229         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48230         (asin_test_data): Likewise.
48231         (asin_test): Use ALL_RM_TEST.
48232         (asin_tonearest_test_data): Remove.
48233         (asin_test_tonearest): Likewise.
48234         (asin_towardzero_test_data): Likewise.
48235         (asin_test_towardzero): Likewise.
48236         (asin_downward_test_data): Likewise.
48237         (asin_test_downward): Likewise.
48238         (asin_upward_test_data): Likewise.
48239         (asin_test_upward): Likewise.
48240         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48241         (atan_test_data): Likewise.
48242         (atanh_test_data): Likewise.
48243         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48244         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48245         (carg_test_data): Likewise.
48246         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48247         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48248         (ccosh_test_data): Likewise.
48249         (cexp_test_data): Likewise.
48250         (clog_test_data): Likewise.
48251         (clog10_test_data): Likewise.
48252         (cos_test_data): Update call to AUTO_TESTS_f_f.
48253         (cos_test): Use ALL_RM_TEST.
48254         (cos_tonearest_test_data): Remove.
48255         (cos_test_tonearest): Likewise.
48256         (cos_towardzero_test_data): Likewise.
48257         (cos_test_towardzero): Likewise.
48258         (cos_downward_test_data): Likewise.
48259         (cos_test_downward): Likewise.
48260         (cos_upward_test_data): Likewise.
48261         (cos_test_upward): Likewise.
48262         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48263         (cosh_test): Use ALL_RM_TEST.
48264         (cosh_tonearest_test_data): Remove.
48265         (cosh_test_tonearest): Likewise.
48266         (cosh_towardzero_test_data): Likewise.
48267         (cosh_test_towardzero): Likewise.
48268         (cosh_downward_test_data): Likewise.
48269         (cosh_test_downward): Likewise.
48270         (cosh_upward_test_data): Likewise.
48271         (cosh_test_upward): Likewise.
48272         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48273         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48274         (ctan_test_data): Likewise.
48275         (ctan_test): Use ALL_RM_TEST.
48276         (ctan_tonearest_test_data): Remove.
48277         (ctan_test_tonearest): Likewise.
48278         (ctan_towardzero_test_data): Likewise.
48279         (ctan_test_towardzero): Likewise.
48280         (ctan_downward_test_data): Likewise.
48281         (ctan_test_downward): Likewise.
48282         (ctan_upward_test_data): Likewise.
48283         (ctan_test_upward): Likewise.
48284         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48285         (ctanh_test): Use ALL_RM_TEST.
48286         (ctanh_tonearest_test_data): Remove.
48287         (ctanh_test_tonearest): Likewise.
48288         (ctanh_towardzero_test_data): Likewise.
48289         (ctanh_test_towardzero): Likewise.
48290         (ctanh_downward_test_data): Likewise.
48291         (ctanh_test_downward): Likewise.
48292         (ctanh_upward_test_data): Likewise.
48293         (ctanh_test_upward): Likewise.
48294         (erf_test_data): Update call to AUTO_TESTS_f_f.
48295         (erfc_test_data): Likewise.
48296         (exp_test_data): Likewise.
48297         (exp_test): Use ALL_RM_TEST.
48298         (exp_tonearest_test_data): Remove.
48299         (exp_test_tonearest): Likewise.
48300         (exp_towardzero_test_data): Likewise.
48301         (exp_test_towardzero): Likewise.
48302         (exp_downward_test_data): Likewise.
48303         (exp_test_downward): Likewise.
48304         (exp_upward_test_data): Likewise.
48305         (exp_test_upward): Likewise.
48306         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48307         (exp10_test): Use ALL_RM_TEST.
48308         (exp10_tonearest_test_data): Remove.
48309         (exp10_test_tonearest): Likewise.
48310         (exp10_towardzero_test_data): Likewise.
48311         (exp10_test_towardzero): Likewise.
48312         (exp10_downward_test_data): Likewise.
48313         (exp10_test_downward): Likewise.
48314         (exp10_upward_test_data): Likewise.
48315         (exp10_test_upward): Likewise.
48316         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48317         (expm1_test_data): Likewise.
48318         (expm1_test): Use ALL_RM_TEST.
48319         (expm1_tonearest_test_data): Remove.
48320         (expm1_test_tonearest): Likewise.
48321         (expm1_towardzero_test_data): Likewise.
48322         (expm1_test_towardzero): Likewise.
48323         (expm1_downward_test_data): Likewise.
48324         (expm1_test_downward): Likewise.
48325         (expm1_upward_test_data): Likewise.
48326         (expm1_test_upward): Likewise.
48327         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48328         (fma_test): Use ALL_RM_TEST.
48329         (fma_towardzero_test_data): Remove.
48330         (fma_test_towardzero): Likewise.
48331         (fma_downward_test_data): Likewise.
48332         (fma_test_downward): Likewise.
48333         (fma_upward_test_data): Likewise.
48334         (fma_test_upward): Likewise.
48335         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48336         (j0_test_data): Update call to AUTO_TESTS_f_f.
48337         (j1_test_data): Likewise.
48338         (jn_test_data): Update call to AUTO_TESTS_if_f.
48339         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48340         (log_test_data): Update call to AUTO_TESTS_f_f.
48341         (log10_test_data): Likewise.
48342         (log1p_test_data): Likewise.
48343         (log2_test_data): Likewise.
48344         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48345         (pow_tonearest_test_data): Likewise.
48346         (sin_test_data): Update call to AUTO_TESTS_f_f.
48347         (sin_test): Use ALL_RM_TEST.
48348         (sin_tonearest_test_data): Remove.
48349         (sin_test_tonearest): Likewise.
48350         (sin_towardzero_test_data): Likewise.
48351         (sin_test_towardzero): Likewise.
48352         (sin_downward_test_data): Likewise.
48353         (sin_test_downward): Likewise.
48354         (sin_upward_test_data): Likewise.
48355         (sin_test_upward): Likewise.
48356         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48357         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48358         (sinh_test): Use ALL_RM_TEST.
48359         (sinh_tonearest_test_data): Remove.
48360         (sinh_test_tonearest): Likewise.
48361         (sinh_towardzero_test_data): Likewise.
48362         (sinh_test_towardzero): Likewise.
48363         (sinh_downward_test_data): Likewise.
48364         (sinh_test_downward): Likewise.
48365         (sinh_upward_test_data): Likewise.
48366         (sinh_test_upward): Likewise.
48367         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48368         (sqrt_test): Use ALL_RM_TEST.
48369         (sqrt_tonearest_test_data): Remove.
48370         (sqrt_test_tonearest): Likewise.
48371         (sqrt_towardzero_test_data): Likewise.
48372         (sqrt_test_towardzero): Likewise.
48373         (sqrt_downward_test_data): Likewise.
48374         (sqrt_test_downward): Likewise.
48375         (sqrt_upward_test_data): Likewise.
48376         (sqrt_test_upward): Likewise.
48377         (tan_test_data): Update call to AUTO_TESTS_f_f.
48378         (tan_test): Use ALL_RM_TEST.
48379         (tan_tonearest_test_data): Remove.
48380         (tan_test_tonearest): Likewise.
48381         (tan_towardzero_test_data): Likewise.
48382         (tan_test_towardzero): Likewise.
48383         (tan_downward_test_data): Likewise.
48384         (tan_test_downward): Likewise.
48385         (tan_upward_test_data): Likewise.
48386         (tan_test_upward): Likewise.
48387         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48388         (tgamma_test_data): Likewise.
48389         (y0_test_data): Likewise.
48390         (y1_test_data): Likewise.
48391         (yn_test_data): Update call to AUTO_TESTS_if_f.
48392         (main): Do not call removed functions.
48394 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48396         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48397         (ldexp_test_data): Remove.
48398         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48399         scalbn_test_data.
48400         (scalb_test): Use ALL_RM_TEST.
48402 2014-03-19  Andreas Schwab  <schwab@suse.de>
48404         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48406 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48408         [BZ #16649]
48409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48410         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48413         (__ASSUME_PREADV): Undefine.
48414         (__ASSUME_PWRITEV): Likewise.
48416 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48418         * bits/mman-linux.h: Add comment about non-Linux use.
48419         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48420         bits/mman-linux.h resting place.
48422         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48423         * bits/mman-linux.h: ... here.
48425 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48427         * conform/conformtest.pl: Add standard definition when calling C
48428         preprocessor on data files.
48429         (checknamespace): Remove unused variable.
48431 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48433         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48434         minus_oflow, plus_uflow and minus_uflow in expected results.
48435         * math/libm-test.inc (scalbn_test_data): Add more tests of
48436         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48437         minus_uflow.
48438         (scalbn_test): Use ALL_RM_TEST.
48439         (scalbln_test_data): Add more tests of negative arguments.  Use
48440         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48441         (scalbln_test): Use ALL_RM_TEST.
48443 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48445         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48447 2014-03-18  Will Newton  <will.newton@linaro.org>
48449         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48450         inaccurate comment.
48452 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48454         * Makerules [!subdir] (check-abi): Exit with error status if a
48455         test failed.
48457 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48459         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48460         for rint.  Include results for all rounding modes.
48461         (nearbyint_test): Use ALL_RM_TEST.
48462         (rint_test_data): Include all tests used for nearbyint.
48464 2014-03-17  Will Newton  <will.newton@linaro.org>
48466         * nptl/sysdeps/pthread/pthread.h: Revert previous
48467         change.
48469         * sysdeps/generic/ldsodefs.h: Revert previous
48470         change.
48472         * libio/genops.c: Revert previous change.
48473         * libio/libioP.h: Likewise.
48474         * stdio-common/vfprintf.c: Likewise.
48476         * sysdeps/generic/math_private.h: Revert previous
48477         change.
48479         * sysdeps/generic/math_private.h: Check whether
48480         HAVE_RM_CTX is defined with #ifdef rather
48481         than #if.
48483         * argp/argp-fmtstream.h: Check whether
48484         __STRICT_ANSI__ is defined with #ifdef rather
48485         than #if.
48486         * argp/argp.h: Likewise.
48488         * libio/genops.c: Check whether
48489         _IO_JUMPS_OFFSET is defined with #ifdef rather
48490         than #if.
48491         * libio/libioP.h: Likewise.
48492         * stdio-common/vfprintf.c: Likewise.
48494         * sysdeps/generic/ldsodefs.h: Check whether
48495         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48496         than #if.
48498         * nptl/sysdeps/pthread/pthread.h: Check
48499         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48500         its value.
48502 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48504         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48505         setting O_APPEND.
48506         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48507         test case.
48509         [BZ #16680]
48510         * libio/fileops.c (_IO_file_open): Seek to end of file but
48511         don't cache the offset.
48512         (get_file_offset): Remove function.
48513         (do_ftell): Use cached offset when available.
48514         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48515         don't cache the offset.
48516         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48517         case.
48518         (do_one_test): Call it.
48519         (do_ftell_test): Fix up expected old offset for a+ mode.
48520         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48521         available.
48523         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48524         up test status with function return status.
48525         (do_write_test): Likewise.
48526         (do_append_test): Likewise.
48528         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48529         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48530         Remove.
48532 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48534         * math/gen-libm-test.pl (parse_args): Handle results specified for
48535         each rounding mode separately.
48536         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48537         tests and results from lrint_tonearest_test_data,
48538         lrint_towardzero_test_data, lrint_downward_test_data and
48539         lrint_upward_test_data.
48540         (lrint_test): Use ALL_RM_TEST.
48541         (lrint_tonearest_test_data): Remove.
48542         (lrint_test_tonearest): Likewise.
48543         (lrint_towardzero_test_data): Likewise.
48544         (lrint_test_towardzero): Likewise.
48545         (lrint_downward_test_data): Likewise.
48546         (lrint_test_downward): Likewise.
48547         (lrint_upward_test_data): Likewise.
48548         (lrint_test_upward): Likewise.
48549         (llrint_test_data): Merge in per-rounding-mode tests and results
48550         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48551         llrint_downward_test_data and llrint_upward_test_data.
48552         (llrint_test): Use ALL_RM_TEST.
48553         (llrint_tonearest_test_data): Remove.
48554         (llrint_test_tonearest): Likewise.
48555         (llrint_towardzero_test_data): Likewise.
48556         (llrint_test_towardzero): Likewise.
48557         (llrint_downward_test_data): Likewise.
48558         (llrint_test_downward): Likewise.
48559         (llrint_upward_test_data): Likewise.
48560         (llrint_test_upward): Likewise.
48561         (rint_test_data): Merge in per-rounding-mode tests and results
48562         from rint_tonearest_test_data, rint_towardzero_test_data,
48563         rint_downward_test_data and rint_upward_test_data.  Add
48564         per-rounding-mode results for tests not in those arrays.
48565         (rint_test): Use ALL_RM_TEST.
48566         (rint_tonearest_test_data): Remove.
48567         (rint_test_tonearest): Likewise.
48568         (rint_towardzero_test_data): Likewise.
48569         (rint_test_towardzero): Likewise.
48570         (rint_downward_test_data): Likewise.
48571         (rint_test_downward): Likewise.
48572         (rint_upward_test_data): Likewise.
48573         (rint_test_upward): Likewise.
48574         (main): Don't call removed functions.
48576 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48578         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48579         "Compiled on ..." crapola.  It is anti-useful.
48581 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48583         * scripts/evaluate-test.sh: Handle fourth argument to determine
48584         whether test run should stop on failure.
48585         * Makeconfig (stop-on-test-failure): New variable.
48586         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48587         $(stop-on-test-failure).
48588         * Makefile (tests): Give a summary of results from testing and
48589         exit with failure status if they include an ERROR or FAIL.
48590         (xtests): Likewise.
48591         * manual/install.texi (Configuring and compiling): Mention
48592         stop-on-test-failure=y.
48593         * INSTALL: Regenerated.
48595 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48597         * scripts/versionlist.awk: New file.
48598         * Makerules [$(build-shared) = yes]
48599         (postclean-generated): Add Versions.def, not Versions.def.v and
48600         Versions.def.v.i.
48601         ($(common-objpfx)Versions.def.v.i): Target removed.
48602         ($(common-objpfx)Versions.def): New target.
48603         ($(common-objpfx)Versions.all): Depend on that rather that
48604         $(common-objpfx)Versions.def.v.
48605         * Versions.def: File removed.
48607         * Makeconfig (+gccwarn): Add -Wundef.
48608         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48609         a dl-sysdep.h breaking its contract.
48610         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48611         * include/stackinfo.h: New file.
48612         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48613         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48614         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48615         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48616         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48617         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48618         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48619         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48620         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48621         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48622         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48623         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48624         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48625         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48626         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48628 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48630         [BZ #16707]
48631         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48632         implementation.
48633         * math/libm-test.inc (round_test_data): Add more tests.
48635         [BZ #16706]
48636         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48637         implementation.
48638         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48640         [BZ #16701]
48641         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48642         implementation.
48643         * math/libm-test.inc (ceil_test_data): Add more tests.
48645         * math/libm-test.inc (trunc_test_data): Add more tests related to
48646         BZ#16414.
48648 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48650         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48651         with #if rather than #ifdef.
48652         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48654 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48656         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48657         first.  Disable AVX-512 GCC support if assembler doesn't support
48658         it.
48659         * sysdeps/x86_64/configure: Regenerated.
48661 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48663         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48664         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48665         (__old_pthread_attr_setstack): Likewise.
48666         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48667         [!_STACK_GROWS_DOWN]: Likewise.
48669 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48671         * config.make.in (have-bash2): Delete.
48672         * configure.ac (libc_cv_have_bash2): Delete.
48673         * configure: Regenerate.
48674         * elf/Makefile (common-ldd-rewrite): Rename to ...
48675         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48676         (sh-ldd-rewrite): Delete.
48677         (bash-ldd-rewrite): Delete.
48678         (have-bash2): Delete checks.
48679         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48680         ldd-rewrite.
48682         * config.make.in (have-ksh): Delete.
48683         (KSH): Delete.
48684         * configure.ac (libc_cv_have_ksh): Delete.
48685         * configure: Regenerate.
48687         * elf/Makefile: Delete $(have-ksh) check.
48688         ($(objpfx)sotruss): Change KSH to BASH.
48689         * elf/sotruss.ksh: Rename to ...
48690         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48691         function style to match POSIX.  Drop ksh vim mode setting.
48693         * manual/time.texi (Specifying the Time Zone with TZ): Change
48694         Tuesday to Thursday.
48696         * debug/tst-longjmp_chk2.c: Update header comment.
48697         (stackoverflow_handler): Add comment.  Call assert on pass value.
48699 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48701         [BZ #16194]
48702         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48703         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48704         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48705         (La_x86_64_vector): Add zmm.
48706         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48707         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48708         ($(objpfx)tst-audit10): New target.
48709         ($(objpfx)tst-audit10.out): Likewise.
48710         (tst-audit10-ENV): New.
48711         (AVX512-CFLAGS): Likewise.
48712         (CFLAGS-tst-audit10.c): Likewise.
48713         (CFLAGS-tst-auditmod10a.c): Likewise.
48714         (CFLAGS-tst-auditmod10b.c): Likewise.
48715         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48716         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48717         * sysdeps/x86_64/configure: Regenerated.
48718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48719         AVX-512 zmm register support.
48720         (_dl_x86_64_save_sse): Likewise.
48721         (_dl_x86_64_restore_sse): Likewise.
48722         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48723         size vector registers.
48724         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48725         (ZMM_SIZE): Likewise.
48726         * sysdeps/x86_64/tst-audit10.c: New file.
48727         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48728         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48730 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48732         * configure.ac (HAVE_EHDR_START): New check.
48733         * configure: Regenerated.
48734         * config.h.in (HAVE_EHDR_START): New #undef.
48735         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48736         assuming the lowest-addressed segment maps the start of the file.
48738 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48740         * INSTALL: Regenerated.
48742 2014-03-13  Will Newton  <will.newton@linaro.org>
48744         * manual/setjmp.texi (System V contexts): Improve
48745         clarity and grammar of documentation.
48747 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48749         [BZ #16381]
48750         * elf/Makefile (tests): Add tst-pie2.
48751         (tests-pie): Add tst-pie2.
48752         * elf/tst-pie2.c: New file.
48753         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48754         for ET_EXEC.
48755         * elf/rtld.c (map_doit): Load executable as lt_executable.
48756         (dl_main): Likewise.
48758 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48760         [BZ #16642]
48761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48762         (__ASSUME_PSELECT): Undefine.
48764 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48766         [BZ #16689]
48767         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48768         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48769         static build.
48770         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48771         selector for static builds.
48773 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48775         [BZ #16695]
48776         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48777         key in the buffer.
48779 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48782         IFUNC selector for static builds.
48784 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48786         * sysdeps/mips/math_private.h [__mips_hard_float]
48787         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48788         libc_feresetround_mips_ctx.
48789         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48790         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48791         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48793         [BZ #16677]
48794         * math/s_nextafter.c (__nextafter): Do not return value from
48795         overflowing computation.
48796         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48797         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48798         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48799         Likewise.
48800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48801         Likewise.
48802         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48803         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48805 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48807         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48808         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48809         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48810         the new mov targetting sp.
48812 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48814         [BZ #16683]
48815         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48816         Define it for static builds as well.
48817         (NO_BZERO_IMPL): Likewise.
48819 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48821         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48822         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48823         multiarch strspn for PPC64.
48824         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48825         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48827         (__libc_ifunc_impl_list): Likewise.
48828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48829         multiarch optimizations
48830         * string/strspn.c (strspn): Using macro to redefine symbol name.
48832 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48835         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48836         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48837         multiarch strncat for PPC64.
48838         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48839         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48841         (__libc_ifunc_impl_list): Likewise.
48842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48843         multiarch optimizations
48845 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48847         [BZ #16639]
48848         * nscd/nscd.service: Make service type forking.
48850 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48852         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48853         sign in non default rounding modes.
48854         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48856 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48858         * math/libm-test.inc (ALL_RM_TEST): New macro.
48859         (ceil_test): Use ALL_RM_TEST.
48860         (cimag_test): Likewise.
48861         (conj_test): Likewise.
48862         (copysign_test): Likewise.
48863         (cproj_test): Likewise.
48864         (creal_test): Likewise.
48865         (fabs_test): Likewise.
48866         (floor_test): Likewise.
48867         (fmax_test): Likewise.
48868         (fmin_test): Likewise.
48869         (fmod_test): Likewise.
48870         (fpclassify_test): Likewise.
48871         (frexp_test): Likewise.
48872         (ilogb_test): Likewise.
48873         (isfinite_test): Likewise.
48874         (finite_test): Likewise.
48875         (isgreater_test): Likewise.
48876         (isgreaterequal_test): Likewise.
48877         (isinf_test): Likewise.
48878         (isless_test): Likewise.
48879         (islessequal_test): Likewise.
48880         (islessgreater_test): Likewise.
48881         (isnan_test): Likewise.
48882         (isnormal_test): Likewise.
48883         (issignaling_test): Likewise.
48884         (isunordered_test): Likewise.
48885         (logb_test): Likewise.
48886         (logb_downward_test_data): Remove.
48887         (logb_test_downward): Likewise.
48888         (lround_test): Use ALL_RM_TEST.
48889         (llround_test): Likewise.
48890         (modf_test): Likewise.
48891         (nexttoward_test): Likewise.
48892         (remainder_test): Likewise.
48893         (drem_test): Likewise.
48894         (remainder_tonearest_test_data): Likewise.
48895         (remainder_test_tonearest): Likewise.
48896         (drem_test_tonearest): Likewise.
48897         (remainder_towardzero_test_data): Likewise.
48898         (remainder_test_towardzero): Likewise.
48899         (drem_test_towardzero): Likewise.
48900         (remainder_downward_test_data): Likewise.
48901         (remainder_test_downward): Likewise.
48902         (drem_test_downward): Likewise.
48903         (remainder_upward_test_data): Likewise.
48904         (remainder_test_upward): Likewise.
48905         (drem_test_upward): Likewise.
48906         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48907         (round_test): Use ALL_RM_TEST.
48908         (signbit_test): Likewise.
48909         (trunc_test): Likewise.
48910         (significand_test): Likewise.
48911         (main): Don't call removed functions.
48913 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48915         [BZ #16674]
48916         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48917         || __USE_XOPEN2K8].
48918         (ILL_ILLOPN): Likewise.
48919         (ILL_ILLADR): Likewise.
48920         (ILL_ILLTRP): Likewise.
48921         (ILL_PRVOPC): Likewise.
48922         (ILL_PRVREG): Likewise.
48923         (ILL_COPROC): Likewise.
48924         (ILL_BADSTK): Likewise.
48925         (FPE_INTDIV): Likewise.
48926         (FPE_INTOVF): Likewise.
48927         (FPE_FLTDIV): Likewise.
48928         (FPE_FLTOVF): Likewise.
48929         (FPE_FLTUND): Likewise.
48930         (FPE_FLTRES): Likewise.
48931         (FPE_FLTINV): Likewise.
48932         (FPE_FLTSUB): Likewise.
48933         (SEGV_MAPERR): Likewise.
48934         (SEGV_ACCERR): Likewise.
48935         (BUS_ADRALN): Likewise.
48936         (BUS_ADRERR): Likewise.
48937         (BUS_OBJERR): Likewise.
48938         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48939         (TRAP_TRACE): Likewise.
48940         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48941         __USE_XOPEN2K8].
48942         (CLD_KILLED): Likewise.
48943         (CLD_DUMPED): Likewise.
48944         (CLD_TRAPPED): Likewise.
48945         (CLD_STOPPED): Likewise.
48946         (CLD_CONTINUED): Likewise.
48947         (POLL_IN): Likewise.
48948         (POLL_OUT): Likewise.
48949         (POLL_MSG): Likewise.
48950         (POLL_ERR): Likewise.
48951         (POLL_PRI): Likewise.
48952         (POLL_HUP): Likewise.
48953         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48954         Likewise.
48955         (ILL_ILLOPN): Likewise.
48956         (ILL_ILLADR): Likewise.
48957         (ILL_ILLTRP): Likewise.
48958         (ILL_PRVOPC): Likewise.
48959         (ILL_PRVREG): Likewise.
48960         (ILL_COPROC): Likewise.
48961         (ILL_BADSTK): Likewise.
48962         (FPE_INTDIV): Likewise.
48963         (FPE_INTOVF): Likewise.
48964         (FPE_FLTDIV): Likewise.
48965         (FPE_FLTOVF): Likewise.
48966         (FPE_FLTUND): Likewise.
48967         (FPE_FLTRES): Likewise.
48968         (FPE_FLTINV): Likewise.
48969         (FPE_FLTSUB): Likewise.
48970         (SEGV_MAPERR): Likewise.
48971         (SEGV_ACCERR): Likewise.
48972         (BUS_ADRALN): Likewise.
48973         (BUS_ADRERR): Likewise.
48974         (BUS_OBJERR): Likewise.
48975         (BUS_MCEERR_AR): Likewise.
48976         (BUS_MCEERR_AO): Likewise.
48977         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48978         (TRAP_TRACE): Likewise.
48979         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48980         __USE_XOPEN2K8].
48981         (CLD_KILLED): Likewise.
48982         (CLD_DUMPED): Likewise.
48983         (CLD_TRAPPED): Likewise.
48984         (CLD_STOPPED): Likewise.
48985         (CLD_CONTINUED): Likewise.
48986         (POLL_IN): Likewise.
48987         (POLL_OUT): Likewise.
48988         (POLL_MSG): Likewise.
48989         (POLL_ERR): Likewise.
48990         (POLL_PRI): Likewise.
48991         (POLL_HUP): Likewise.
48992         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48993         (ILL_ILLOPN): Likewise.
48994         (ILL_ILLADR): Likewise.
48995         (ILL_ILLTRP): Likewise.
48996         (ILL_PRVOPC): Likewise.
48997         (ILL_PRVREG): Likewise.
48998         (ILL_COPROC): Likewise.
48999         (ILL_BADSTK): Likewise.
49000         (FPE_INTDIV): Likewise.
49001         (FPE_INTOVF): Likewise.
49002         (FPE_FLTDIV): Likewise.
49003         (FPE_FLTOVF): Likewise.
49004         (FPE_FLTUND): Likewise.
49005         (FPE_FLTRES): Likewise.
49006         (FPE_FLTINV): Likewise.
49007         (FPE_FLTSUB): Likewise.
49008         (SEGV_MAPERR): Likewise.
49009         (SEGV_ACCERR): Likewise.
49010         (BUS_ADRALN): Likewise.
49011         (BUS_ADRERR): Likewise.
49012         (BUS_OBJERR): Likewise.
49013         (BUS_MCEERR_AR): Likewise.
49014         (BUS_MCEERR_AO): Likewise.
49015         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49016         (TRAP_TRACE): Likewise.
49017         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49018         __USE_XOPEN2K8].
49019         (CLD_KILLED): Likewise.
49020         (CLD_DUMPED): Likewise.
49021         (CLD_TRAPPED): Likewise.
49022         (CLD_STOPPED): Likewise.
49023         (CLD_CONTINUED): Likewise.
49024         (POLL_IN): Likewise.
49025         (POLL_OUT): Likewise.
49026         (POLL_MSG): Likewise.
49027         (POLL_ERR): Likewise.
49028         (POLL_PRI): Likewise.
49029         (POLL_HUP): Likewise.
49030         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49031         Likewise.
49032         (ILL_ILLOPN): Likewise.
49033         (ILL_ILLADR): Likewise.
49034         (ILL_ILLTRP): Likewise.
49035         (ILL_PRVOPC): Likewise.
49036         (ILL_PRVREG): Likewise.
49037         (ILL_COPROC): Likewise.
49038         (ILL_BADSTK): Likewise.
49039         (ILL_BADIADDR): Likewise.
49040         (ILL_BREAK): Likewise.
49041         (FPE_INTDIV): Likewise.
49042         (FPE_INTOVF): Likewise.
49043         (FPE_FLTDIV): Likewise.
49044         (FPE_FLTOVF): Likewise.
49045         (FPE_FLTUND): Likewise.
49046         (FPE_FLTRES): Likewise.
49047         (FPE_FLTINV): Likewise.
49048         (FPE_FLTSUB): Likewise.
49049         (FPE_DECOVF): Likewise.
49050         (FPE_DECDIV): Likewise.
49051         (FPE_DECERR): Likewise.
49052         (FPE_INVASC): Likewise.
49053         (FPE_INVDEC): Likewise.
49054         (SEGV_MAPERR): Likewise.
49055         (SEGV_ACCERR): Likewise.
49056         (SEGV_PSTKOVF): Likewise.
49057         (BUS_ADRALN): Likewise.
49058         (BUS_ADRERR): Likewise.
49059         (BUS_OBJERR): Likewise.
49060         (BUS_MCEERR_AR): Likewise.
49061         (BUS_MCEERR_AO): Likewise.
49062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49063         (TRAP_TRACE): Likewise.
49064         (TRAP_BRANCH): Likewise.
49065         (TRAP_HWBKPT): Likewise.
49066         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49067         __USE_XOPEN2K8].
49068         (CLD_KILLED): Likewise.
49069         (CLD_DUMPED): Likewise.
49070         (CLD_TRAPPED): Likewise.
49071         (CLD_STOPPED): Likewise.
49072         (CLD_CONTINUED): Likewise.
49073         (POLL_IN): Likewise.
49074         (POLL_OUT): Likewise.
49075         (POLL_MSG): Likewise.
49076         (POLL_ERR): Likewise.
49077         (POLL_PRI): Likewise.
49078         (POLL_HUP): Likewise.
49079         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49080         (ILL_ILLOPN): Likewise.
49081         (ILL_ILLADR): Likewise.
49082         (ILL_ILLTRP): Likewise.
49083         (ILL_PRVOPC): Likewise.
49084         (ILL_PRVREG): Likewise.
49085         (ILL_COPROC): Likewise.
49086         (ILL_BADSTK): Likewise.
49087         (FPE_INTDIV): Likewise.
49088         (FPE_INTOVF): Likewise.
49089         (FPE_FLTDIV): Likewise.
49090         (FPE_FLTOVF): Likewise.
49091         (FPE_FLTUND): Likewise.
49092         (FPE_FLTRES): Likewise.
49093         (FPE_FLTINV): Likewise.
49094         (FPE_FLTSUB): Likewise.
49095         (SEGV_MAPERR): Likewise.
49096         (SEGV_ACCERR): Likewise.
49097         (BUS_ADRALN): Likewise.
49098         (BUS_ADRERR): Likewise.
49099         (BUS_OBJERR): Likewise.
49100         (BUS_MCEERR_AR): Likewise.
49101         (BUS_MCEERR_AO): Likewise.
49102         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49103         (TRAP_TRACE): Likewise.
49104         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49105         __USE_XOPEN2K8].
49106         (CLD_KILLED): Likewise.
49107         (CLD_DUMPED): Likewise.
49108         (CLD_TRAPPED): Likewise.
49109         (CLD_STOPPED): Likewise.
49110         (CLD_CONTINUED): Likewise.
49111         (POLL_IN): Likewise.
49112         (POLL_OUT): Likewise.
49113         (POLL_MSG): Likewise.
49114         (POLL_ERR): Likewise.
49115         (POLL_PRI): Likewise.
49116         (POLL_HUP): Likewise.
49117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49118         (ILL_ILLOPN): Likewise.
49119         (ILL_ILLADR): Likewise.
49120         (ILL_ILLTRP): Likewise.
49121         (ILL_PRVOPC): Likewise.
49122         (ILL_PRVREG): Likewise.
49123         (ILL_COPROC): Likewise.
49124         (ILL_BADSTK): Likewise.
49125         (FPE_INTDIV): Likewise.
49126         (FPE_INTOVF): Likewise.
49127         (FPE_FLTDIV): Likewise.
49128         (FPE_FLTOVF): Likewise.
49129         (FPE_FLTUND): Likewise.
49130         (FPE_FLTRES): Likewise.
49131         (FPE_FLTINV): Likewise.
49132         (FPE_FLTSUB): Likewise.
49133         (SEGV_MAPERR): Likewise.
49134         (SEGV_ACCERR): Likewise.
49135         (BUS_ADRALN): Likewise.
49136         (BUS_ADRERR): Likewise.
49137         (BUS_OBJERR): Likewise.
49138         (BUS_MCEERR_AR): Likewise.
49139         (BUS_MCEERR_AO): Likewise.
49140         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49141         (TRAP_TRACE): Likewise.
49142         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49143         __USE_XOPEN2K8].
49144         (CLD_KILLED): Likewise.
49145         (CLD_DUMPED): Likewise.
49146         (CLD_TRAPPED): Likewise.
49147         (CLD_STOPPED): Likewise.
49148         (CLD_CONTINUED): Likewise.
49149         (POLL_IN): Likewise.
49150         (POLL_OUT): Likewise.
49151         (POLL_MSG): Likewise.
49152         (POLL_ERR): Likewise.
49153         (POLL_PRI): Likewise.
49154         (POLL_HUP): Likewise.
49155         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49156         (ILL_ILLOPN): Likewise.
49157         (ILL_ILLADR): Likewise.
49158         (ILL_ILLTRP): Likewise.
49159         (ILL_PRVOPC): Likewise.
49160         (ILL_PRVREG): Likewise.
49161         (ILL_COPROC): Likewise.
49162         (ILL_BADSTK): Likewise.
49163         (FPE_INTDIV): Likewise.
49164         (FPE_INTOVF): Likewise.
49165         (FPE_FLTDIV): Likewise.
49166         (FPE_FLTOVF): Likewise.
49167         (FPE_FLTUND): Likewise.
49168         (FPE_FLTRES): Likewise.
49169         (FPE_FLTINV): Likewise.
49170         (FPE_FLTSUB): Likewise.
49171         (SEGV_MAPERR): Likewise.
49172         (SEGV_ACCERR): Likewise.
49173         (BUS_ADRALN): Likewise.
49174         (BUS_ADRERR): Likewise.
49175         (BUS_OBJERR): Likewise.
49176         (BUS_MCEERR_AR): Likewise.
49177         (BUS_MCEERR_AO): Likewise.
49178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49179         (TRAP_TRACE): Likewise.
49180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49181         __USE_XOPEN2K8].
49182         (CLD_KILLED): Likewise.
49183         (CLD_DUMPED): Likewise.
49184         (CLD_TRAPPED): Likewise.
49185         (CLD_STOPPED): Likewise.
49186         (CLD_CONTINUED): Likewise.
49187         (POLL_IN): Likewise.
49188         (POLL_OUT): Likewise.
49189         (POLL_MSG): Likewise.
49190         (POLL_ERR): Likewise.
49191         (POLL_PRI): Likewise.
49192         (POLL_HUP): Likewise.
49193         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49194         (ILL_ILLOPN): Likewise.
49195         (ILL_ILLADR): Likewise.
49196         (ILL_ILLTRP): Likewise.
49197         (ILL_PRVOPC): Likewise.
49198         (ILL_PRVREG): Likewise.
49199         (ILL_COPROC): Likewise.
49200         (ILL_BADSTK): Likewise.
49201         (ILL_DBLFLT): Likewise.
49202         (ILL_HARDWALL): Likewise.
49203         (FPE_INTDIV): Likewise.
49204         (FPE_INTOVF): Likewise.
49205         (FPE_FLTDIV): Likewise.
49206         (FPE_FLTOVF): Likewise.
49207         (FPE_FLTUND): Likewise.
49208         (FPE_FLTRES): Likewise.
49209         (FPE_FLTINV): Likewise.
49210         (FPE_FLTSUB): Likewise.
49211         (SEGV_MAPERR): Likewise.
49212         (SEGV_ACCERR): Likewise.
49213         (BUS_ADRALN): Likewise.
49214         (BUS_ADRERR): Likewise.
49215         (BUS_OBJERR): Likewise.
49216         (BUS_MCEERR_AR): Likewise.
49217         (BUS_MCEERR_AO): Likewise.
49218         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49219         (TRAP_TRACE): Likewise.
49220         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49221         __USE_XOPEN2K8].
49222         (CLD_KILLED): Likewise.
49223         (CLD_DUMPED): Likewise.
49224         (CLD_TRAPPED): Likewise.
49225         (CLD_STOPPED): Likewise.
49226         (CLD_CONTINUED): Likewise.
49227         (POLL_IN): Likewise.
49228         (POLL_OUT): Likewise.
49229         (POLL_MSG): Likewise.
49230         (POLL_ERR): Likewise.
49231         (POLL_PRI): Likewise.
49232         (POLL_HUP): Likewise.
49233         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49234         (ILL_ILLOPN): Likewise.
49235         (ILL_ILLADR): Likewise.
49236         (ILL_ILLTRP): Likewise.
49237         (ILL_PRVOPC): Likewise.
49238         (ILL_PRVREG): Likewise.
49239         (ILL_COPROC): Likewise.
49240         (ILL_BADSTK): Likewise.
49241         (FPE_INTDIV): Likewise.
49242         (FPE_INTOVF): Likewise.
49243         (FPE_FLTDIV): Likewise.
49244         (FPE_FLTOVF): Likewise.
49245         (FPE_FLTUND): Likewise.
49246         (FPE_FLTRES): Likewise.
49247         (FPE_FLTINV): Likewise.
49248         (FPE_FLTSUB): Likewise.
49249         (SEGV_MAPERR): Likewise.
49250         (SEGV_ACCERR): Likewise.
49251         (BUS_ADRALN): Likewise.
49252         (BUS_ADRERR): Likewise.
49253         (BUS_OBJERR): Likewise.
49254         (BUS_MCEERR_AR): Likewise.
49255         (BUS_MCEERR_AO): Likewise.
49256         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49257         (TRAP_TRACE): Likewise.
49258         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49259         __USE_XOPEN2K8].
49260         (CLD_KILLED): Likewise.
49261         (CLD_DUMPED): Likewise.
49262         (CLD_TRAPPED): Likewise.
49263         (CLD_STOPPED): Likewise.
49264         (CLD_CONTINUED): Likewise.
49265         (POLL_IN): Likewise.
49266         (POLL_OUT): Likewise.
49267         (POLL_MSG): Likewise.
49268         (POLL_ERR): Likewise.
49269         (POLL_PRI): Likewise.
49270         (POLL_HUP): Likewise.
49271         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49272         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49274         [BZ #16670]
49275         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49276         before #include of <time.h>.
49277         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49278         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49279         (test-xfail-UNIX98/sched.h/conform): Likewise.
49281 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49283         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49284         error absence of trapping exception support.
49285         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49287 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49289         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49290         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49291         * timezone/Makefile (testdata): Move definition above include of
49292         Rules.
49293         (test-zones): New variable.
49294         (tests-special): Add zone files.
49295         (build-testdata): Use $(evaluate-test).
49297         * elf/Makefile (tests-special): Rename tests to end with .out.
49298         ($(objpfx)noload-mem): Likewise.
49299         ($(objpfx)tst-leaks1-mem): Likewise.
49300         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49301         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49302         $(objpfx)test-iconvconfig.out.
49303         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49304         set -e inside subshell and redirect output to file.
49305         * iconvdata/Makefile (generated): Rename tests to end with .out.
49306         Correct type.
49307         (tests-special): Rename tests to end with .out.
49308         ($(objpfx)mtrace-tst-loading): Likewise.
49309         * intl/Makefile (generated): Likewise.
49310         (tests-special): Likewise.
49311         ($(objpfx)mtrace-tst-gettext): Likewise.
49312         * misc/Makefile (generated): Likewise.
49313         (tests-special): Likewise.
49314         ($(objpfx)tst-error1-mem): Likewise.
49315         * nptl/Makefile (tests-special): Likewise.
49316         ($(objpfx)tst-stack3-mem): Likewise.
49317         (generated): Likewise.
49318         * posix/Makefile (generated): Likewise.
49319         (tests-special): Likewise.
49320         (xtests-special): Likewise.
49321         ($(objpfx)tst-fnmatch-mem): Likewise.
49322         ($(objpfx)bug-regex2-mem): Likewise.
49323         ($(objpfx)bug-regex14-mem): Likewise.
49324         ($(objpfx)bug-regex21-mem): Likewise.
49325         ($(objpfx)bug-regex31-mem): Likewise.
49326         ($(objpfx)tst-vfork3-mem): Likewise.
49327         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49328         ($(objpfx)tst-pcre-mem): Likewise.
49329         ($(objpfx)tst-boost-mem): Likewise.
49330         ($(objpfx)bug-ga2-mem): Likewise.
49331         ($(objpfx)bug-glob2-mem): Likewise.
49332         * resolv/Makefile (generate): Likewise.
49333         (tests-special): Likewise.
49334         (xtests-special): Likewise.
49335         (generated): Likewise.
49336         ($(objpfx)mtrace-tst-leaks): Likewise.
49337         ($(objpfx)mtrace-tst-leaks2): Likewise.
49339         * scripts/merge-test-results.sh: New file.
49340         * Makefile (tests-special-notdir): New variable.
49341         (tests): Run merge-test-results.sh.
49342         (xtests): Likewise.
49343         * Rules (tests-special-notdir): New variable.
49344         (xtests-special-notdir): Likewise.
49345         (tests): Run merge-test-results.sh
49346         (xtests): Likewise.
49348         * Makeconfig (test-xfail-name): New variable.
49349         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49350         compute variable name for expected failures.
49351         * conform/Makefile (conformtest-headers-data): New variable.
49352         (conformtest-standards): Likewise.
49353         (conformtest-headers-ISO): Likewise.
49354         (conformtest-headers-ISO99): Likewise.
49355         (conformtest-headers-ISO11): Likewise.
49356         (conformtest-headers-POSIX): Likewise.
49357         (conformtest-headers-XPG3): Likewise.
49358         (conformtest-headers-XPG4): Likewise.
49359         (conformtest-headers-UNIX98): Likewise.
49360         (conformtest-headers-XOPEN2K): Likewise.
49361         (conformtest-headers-POSIX2008): Likewise.
49362         (conformtest-headers-XOPEN2K8): Likewise.
49363         (conformtest-header-list-base): Likewise.
49364         (conformtest-header-list-tests): Likewise.
49365         (conformtest-header-base): Likewise.
49366         (conformtest-header-tests): Likewise.
49367         (tests-special): Add $(conformtest-header-list-tests).  If
49368         [$(fast-check) && !$(cross-compiling)], add
49369         $(conformtest-header-tests) instead of
49370         $(objpfx)run-conformtest.out.
49371         (generated): Add $(conformtest-header-list-base).  If
49372         [$(fast-check) && !$(cross-compiling)], add
49373         $(conformtest-header-base).  Remove previous setting.
49374         ($(conformtest-header-list-tests)): New target.
49375         (test-xfail-run-conformtest): Remove variable.
49376         ($(objpfx)run-conformtest.out): Remove target.
49377         (test-xfail-ISO11/complex.h/conform): New variable.
49378         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49379         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49380         (test-xfail-XPG3/varargs.h/conform): Likewise.
49381         (test-xfail-XPG4/varargs.h/conform): Likewise.
49382         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49383         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49384         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49385         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49386         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49387         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49388         (test-xfail-XPG3/ftw.h/conform): Likewise.
49389         (test-xfail-XPG3/grp.h/conform): Likewise.
49390         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49391         (test-xfail-XPG3/limits.h/conform): Likewise.
49392         (test-xfail-XPG3/pwd.h/conform): Likewise.
49393         (test-xfail-XPG3/search.h/conform): Likewise.
49394         (test-xfail-XPG3/signal.h/conform): Likewise.
49395         (test-xfail-XPG3/stdio.h/conform): Likewise.
49396         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49397         (test-xfail-XPG3/string.h/conform): Likewise.
49398         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49399         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49400         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49401         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49402         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49403         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49404         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49405         (test-xfail-XPG3/termios.h/conform): Likewise.
49406         (test-xfail-XPG3/time.h/conform): Likewise.
49407         (test-xfail-XPG3/unistd.h/conform): Likewise.
49408         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49409         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49410         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49411         (test-xfail-XPG4/netdb.h/conform): Likewise.
49412         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49413         (test-xfail-XPG4/signal.h/conform): Likewise.
49414         (test-xfail-XPG4/stdio.h/conform): Likewise.
49415         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49416         (test-xfail-XPG4/stropts.h/conform): Likewise.
49417         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49418         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49419         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49420         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49421         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49422         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49423         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49424         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49425         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49426         (test-xfail-XPG4/termios.h/conform): Likewise.
49427         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49428         (test-xfail-XPG4/unistd.h/conform): Likewise.
49429         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49430         (test-xfail-POSIX/sched.h/conform): Likewise.
49431         (test-xfail-POSIX/signal.h/conform): Likewise.
49432         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49433         (test-xfail-POSIX/tar.h/conform): Likewise.
49434         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49435         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49436         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49437         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49438         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49439         (test-xfail-UNIX98/sched.h/conform): Likewise.
49440         (test-xfail-UNIX98/signal.h/conform): Likewise.
49441         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49442         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49443         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49444         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49445         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49446         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49447         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49448         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49449         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49450         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49451         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49452         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49453         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49454         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49455         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49456         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49457         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49458         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49459         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49460         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49461         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49462         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49463         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49464         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49465         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49466         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49467         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49468         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49469         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49470         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49471         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49472         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49473         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49474         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49475         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49476         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49477         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49478         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49479         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49480         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49481         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49482         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49483         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49484         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49485         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49486         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49487         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49488         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49489         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49490         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49491         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49492         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49493         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49494         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49495         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49496         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49497         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49498         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49499         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49500         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49501         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49502         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49503         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49504         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49505         (conformtest-cc-flags): Likewise.
49506         ($(conformtest-header-tests): New target.
49507         * conform/check-header-lists.sh: New file.
49508         * conform/run-conformtest.sh: Remove.
49510         * conform/conformtest.pl: Allow ' and \ in values given for
49511         constants.
49512         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49513         inclusion.
49514         [POSIX] (sys/types.h): Likewise.
49515         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49516         inclusion.
49517         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49518         inclusion.
49519         * conform/data/signal.h-data (SIGIO): Remove expectation.
49520         [XPG3] (SIGBUS): Do not expect.
49521         [POSIX || XPG3] (SIGPOLL): Likewise.
49522         [POSIX || XPG3] (SIGPROF): Likewise.
49523         [POSIX || XPG3] (SIGSYS): Likewise.
49524         [XPG3] (SIGTRAP): Likewise.
49525         [POSIX || XPG3] (SIGURG): Likewise.
49526         [POSIX || XPG3] (SIGVTALRM): Likewise.
49527         [POSIX || XPG3] (SIGXCPU): Likewise.
49528         [POSIX || XPG3] (SIGXFSZ): Likewise.
49529         [POSIX] (SA_SIGINFO): Expect.
49530         [XPG3] (siginfo_t): Do not expect type or contents.
49531         [POSIX] (si_pid): Do not expect element.
49532         [POSIX] (si_uid): Likewise.
49533         [POSIX] (si_addr): Likewise.
49534         [POSIX] (si_status): Likewise.
49535         [POSIX] (si_band): Likewise.
49536         [XPG4] (si_value): Likewise.
49537         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49538         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49539         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49540         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49541         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49542         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49543         [POSIX || XPG3] (ILL_COPROC): Likewise.
49544         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49545         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49546         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49547         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49548         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49549         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49550         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49551         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49552         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49553         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49554         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49555         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49556         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49557         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49558         [POSIX || XPG3] (CLD_EXITED): Likewise.
49559         [POSIX || XPG3] (CLD_KILLED): Likewise.
49560         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49561         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49562         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49563         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49564         [POSIX || XPG3] (POLL_IN): Likewise.
49565         [POSIX || XPG3] (POLL_OUT): Likewise.
49566         [POSIX || XPG3] (POLL_MSG): Likewise.
49567         [POSIX || XPG3] (POLL_ERR): Likewise.
49568         [POSIX || XPG3] (POLL_PRI): Likewise.
49569         [POSIX || XPG3] (POLL_HUP): Likewise.
49570         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49571         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49572         (SIG*): Do not allow.
49573         [XPG3] (si_*): Likewise.
49574         [XPG3] (SI_*): Likewise.
49575         [XPG3 || XPG4] (sigev_*): Likewise.
49576         [XPG3 || XPG4] (SIGEV_*): Likewise.
49577         [XPG3 || XPG4] (sival_*): Likewise.
49578         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49579         [POSIX || XPG3] (BUS_*): Likewise.
49580         [POSIX || XPG3] (CLD_*): Likewise.
49581         [POSIX || XPG3] (FPE_*): Likewise.
49582         [POSIX || XPG3] (ILL_*): Likewise.
49583         [POSIX || XPG3] (POLL_*): Likewise.
49584         [POSIX || XPG3] (SEGV_*): Likewise.
49585         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49586         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49587         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49588         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49589         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49590         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49591         Specify type and value.
49592         (TVERSLEN): Likewise.
49593         (REGTYPE): Likewise.
49594         (AREGTYPE): Likewise.
49595         (LNKTYPE): Likewise.
49596         (SYMTYPE): Likewise.
49597         (CHRTYPE): Likewise.
49598         (BLKTYPE): Likewise.
49599         (DIRTYPE): Likewise.
49600         (FIFOTYPE): Likewise.
49601         (CONTTYPE): Likewise.
49602         (TSUID): Likewise.
49603         (TSGID): Likewise.
49604         (TSVTX): Likewise.
49605         (TUREAD): Likewise.
49606         (TUWRITE): Likewise.
49607         (TUEXEC): Likewise.
49608         (TGREAD): Likewise.
49609         (TGWRITE): Likewise.
49610         (TGEXEC): Likewise.
49611         (TOREAD): Likewise.
49612         (TOWRITE): Likewise.
49613         (TOEXEC): Likewise.
49614         [POSIX] (TSVTX): Expect constant.
49616 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49618         * Makefile (tests): Change dependencies to ....
49619         (tests-special): ... additions to this variable.
49620         (tests): Depend on $(tests-special).
49621         * Makerules (check-abi-list): New variable.
49622         (check-abi): Depend on $(check-abi-list).
49623         [$(subdir) = elf] (tests-special): Add
49624         $(objpfx)check-abi-libc.out.
49625         [$(build-shared) = yes && subdir] (tests-special): Add
49626         $(check-abi-list).
49627         [$(build-shared) = yes && subdir] (tests): Do not depend on
49628         check-abi.
49629         * Rules (tests): Depend on $(tests-special).
49630         (xtests): Depend on $(xtests-special).
49631         * catgets/Makefile (tests): Change dependencies to ....
49632         (tests-special): ... additions to this variable.
49633         * conform/Makefile (tests): Change dependencies to ....
49634         (tests-special): ... additions to this variable.
49635         * elf/Makefile (tests): Change dependencies to ....
49636         (tests-special): ... additions to this variable.
49637         * grp/Makefile (tests): Change dependencies to ....
49638         (tests-special): ... additions to this variable.
49639         * iconv/Makefile (xtests): Change dependencies to ....
49640         (xtests-special): ... additions to this variable.
49641         * iconvdata/Makefile (tests): Change dependencies to ....
49642         (tests-special): ... additions to this variable.
49643         * intl/Makefile (tests): Change dependencies to ....
49644         (tests-special): ... additions to this variable.  Also add
49645         $(objpfx)tst-gettext.out.
49646         * io/Makefile (tests): Change dependencies to ....
49647         (tests-special): ... additions to this variable.
49648         * libio/Makefile (tests): Change dependencies to ....
49649         (tests-special): ... additions to this variable.
49650         * malloc/Makefile (tests): Change dependencies to ....
49651         (tests-special): ... additions to this variable.
49652         * misc/Makefile (tests): Change dependencies to ....
49653         (tests-special): ... additions to this variable.
49654         * nptl/Makefile (tests): Change dependencies to ....
49655         (tests-special): ... additions to this variable.
49656         * nptl_db/Makefile (tests): Change dependencies to ....
49657         (tests-special): ... additions to this variable.
49658         * posix/Makefile (tests): Change dependencies to ....
49659         (tests-special): ... additions to this variable.
49660         (xtests): Change dependencies to ....
49661         (xtests-special): ... additions to this variable.
49662         * resolv/Makefile (tests): Change dependencies to ....
49663         (tests-special): ... additions to this variable.
49664         (xtests): Change dependencies to ....
49665         (xtests-special): ... additions to this variable.
49666         * stdio-common/Makefile (tests): Change dependencies to ....
49667         (tests-special): ... additions to this variable.
49668         (do-tst-unbputc): Remove target.
49669         (do-tst-printf): Likewise.
49670         * stdlib/Makefile (tests): Change dependencies to ....
49671         (tests-special): ... additions to this variable.
49672         * string/Makefile (tests): Change dependencies to ....
49673         (tests-special): ... additions to this variable.
49674         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49675         (tests-special): ... additions to this variable.
49677         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49678         whole file.
49679         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49680         whole file.
49681         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49682         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49684         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49685         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49686         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49687         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49688         * conform/data/libgen.h-data [XPG3]: Likewise.
49689         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49690         * conform/data/ndbm.h-data [XPG3]: Likewise.
49691         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49692         * conform/data/netdb.h-data [XPG3]: Likewise.
49693         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49694         * conform/data/poll.h-data [XPG3]: Likewise.
49695         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49696         * conform/data/strings.h-data [XPG3]: Likewise.
49697         * conform/data/stropts.h-data [XPG3]: Likewise.
49698         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49699         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49700         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49701         Likewise.
49702         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49703         * conform/data/sys/time.h-data [XPG3]: Likewise.
49704         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49705         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49706         * conform/data/sys/un.h-data [XPG3]: Likewise.
49707         * conform/data/syslog.h-data [XPG3]: Likewise.
49708         * conform/data/ucontext.h-data [XPG3]: Likewise.
49709         * conform/data/utmpx.h-data [XPG3]: Likewise.
49710         * conform/data/varargs.h-data [UNIX98]: Enable file.
49712         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49714         * math/libm-test.inc (struct test_f_f_data): Move expected results
49715         into structure for each rounding mode.
49716         (struct test_ff_f_data): Likewise.
49717         (struct test_ff_f_data_nexttoward): Likewise.
49718         (struct test_fi_f_data): Likewise.
49719         (struct test_fl_f_data): Likewise.
49720         (struct test_if_f_data): Likewise.
49721         (struct test_fff_f_data): Likewise.
49722         (struct test_c_f_data): Likewise.
49723         (struct test_f_f1_data): Likewise.
49724         (struct test_fF_f1_data): Likewise.
49725         (struct test_ffI_f1_data): Likewise.
49726         (struct test_c_c_data): Likewise.
49727         (struct test_cc_c_data): Likewise.
49728         (struct test_f_i_data): Likewise.
49729         (struct test_ff_i_data): Likewise.
49730         (struct test_f_l_data): Likewise.
49731         (struct test_f_L_data): Likewise.
49732         (struct test_fFF_11_data): Likewise.
49733         (RM_): New macro.
49734         (RM_FE_DOWNWARD): Likewise.
49735         (RM_FE_TONEAREST): Likewise.
49736         (RM_FE_TOWARDZERO): Likewise.
49737         (RM_FE_UPWARD): Likewise.
49738         (RUN_TEST_LOOP_f_f): Update references to expected results.
49739         (RUN_TEST_LOOP_2_f): Likewise.
49740         (RUN_TEST_LOOP_fff_f): Likewise.
49741         (RUN_TEST_LOOP_c_f): Likewise.
49742         (RUN_TEST_LOOP_f_f1): Likewise.
49743         (RUN_TEST_LOOP_fF_f1): Likewise.
49744         (RUN_TEST_LOOP_fI_f1): Likewise.
49745         (RUN_TEST_LOOP_ffI_f1): Likewise.
49746         (RUN_TEST_LOOP_c_c): Likewise.
49747         (RUN_TEST_LOOP_cc_c): Likewise.
49748         (RUN_TEST_LOOP_f_i): Likewise.
49749         (RUN_TEST_LOOP_f_i_tg): Likewise.
49750         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49751         (RUN_TEST_LOOP_f_b): Likewise.
49752         (RUN_TEST_LOOP_f_b_tg): Likewise.
49753         (RUN_TEST_LOOP_f_l): Likewise.
49754         (RUN_TEST_LOOP_f_L): Likewise.
49755         (RUN_TEST_LOOP_fFF_11): Likewise.
49756         * math/gen-libm-test.pl (parse_args): Output four copies of
49757         expected results for each test.
49759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49760         (__ASSUME_UTIMES): Remove.
49761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49762         (__ASSUME_UTIMES): Likewise.
49764         * math/gen-auto-libm-tests.c: Update comment on output format.
49765         (output_for_one_input_case): Generate before-rounding and
49766         after-rounding information as conditions on output flags not
49767         floating-point format.
49768         * math/auto-libm-test-out: Regenerated.
49769         * math/gen-libm-test.pl (cond_value): New function.
49770         (or_cond_value): Use cond_value.
49771         (generate_testfile): Handle conditional exceptions.
49773 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49775         * math/libm-test.inc (max_valid_error): New variable.
49776         (init_max_error): Take new argument specifying whether function
49777         results are exactly determined.  Set max_valid_error and bound
49778         other variables for errors based on this argument.
49779         (set_max_error): Do not record results above max_valid_error.
49780         (check_float_internal): Only accept errors of up to 0.5ulps if
49781         also at most max_valid_error.
49782         (START): Take new argument EXACT and pass it to init_max_error.
49783         (acos_test): Update call to START.
49784         (acos_test_tonearest): Likewise.
49785         (acos_test_towardzero): Likewise.
49786         (acos_test_downward): Likewise.
49787         (acos_test_upward): Likewise.
49788         (acosh_test): Likewise.
49789         (asin_test): Likewise.
49790         (asin_test_tonearest): Likewise.
49791         (asin_test_towardzero): Likewise.
49792         (asin_test_downward): Likewise.
49793         (asin_test_upward): Likewise.
49794         (asinh_test): Likewise.
49795         (atan_test): Likewise.
49796         (atanh_test): Likewise.
49797         (atan2_test): Likewise.
49798         (cabs_test): Likewise.
49799         (cacos_test): Likewise.
49800         (cacosh_test): Likewise.
49801         (carg_test): Likewise.
49802         (casin_test): Likewise.
49803         (casinh_test): Likewise.
49804         (catan_test): Likewise.
49805         (catanh_test): Likewise.
49806         (cbrt_test): Likewise.
49807         (ccos_test): Likewise.
49808         (ccosh_test): Likewise.
49809         (ceil_test): Likewise.
49810         (cexp_test): Likewise.
49811         (cimag_test): Likewise.
49812         (clog_test): Likewise.
49813         (clog10_test): Likewise.
49814         (conj_test): Likewise.
49815         (copysign_test): Likewise.
49816         (cos_test): Likewise.
49817         (cos_test_tonearest): Likewise.
49818         (cos_test_towardzero): Likewise.
49819         (cos_test_downward): Likewise.
49820         (cos_test_upward): Likewise.
49821         (cosh_test): Likewise.
49822         (cosh_test_tonearest): Likewise.
49823         (cosh_test_towardzero): Likewise.
49824         (cosh_test_downward): Likewise.
49825         (cosh_test_upward): Likewise.
49826         (cpow_test): Likewise.
49827         (cproj_test): Likewise.
49828         (creal_test): Likewise.
49829         (csin_test): Likewise.
49830         (csinh_test): Likewise.
49831         (csqrt_test): Likewise.
49832         (ctan_test): Likewise.
49833         (ctan_test_tonearest): Likewise.
49834         (ctan_test_towardzero): Likewise.
49835         (ctan_test_downward): Likewise.
49836         (ctan_test_upward): Likewise.
49837         (ctanh_test): Likewise.
49838         (ctanh_test_tonearest): Likewise.
49839         (ctanh_test_towardzero): Likewise.
49840         (ctanh_test_downward): Likewise.
49841         (ctanh_test_upward): Likewise.
49842         (erf_test): Likewise.
49843         (erfc_test): Likewise.
49844         (exp_test): Likewise.
49845         (exp_test_tonearest): Likewise.
49846         (exp_test_towardzero): Likewise.
49847         (exp_test_downward): Likewise.
49848         (exp_test_upward): Likewise.
49849         (exp10_test): Likewise.
49850         (exp10_test_tonearest): Likewise.
49851         (exp10_test_towardzero): Likewise.
49852         (exp10_test_downward): Likewise.
49853         (exp10_test_upward): Likewise.
49854         (pow10_test): Likewise.
49855         (exp2_test): Likewise.
49856         (expm1_test): Likewise.
49857         (expm1_test_tonearest): Likewise.
49858         (expm1_test_towardzero): Likewise.
49859         (expm1_test_downward): Likewise.
49860         (expm1_test_upward): Likewise.
49861         (fabs_test): Likewise.
49862         (fdim_test): Likewise.
49863         (floor_test): Likewise.
49864         (fma_test): Likewise.
49865         (fma_test_towardzero): Likewise.
49866         (fma_test_downward): Likewise.
49867         (fma_test_upward): Likewise.
49868         (fmax_test): Likewise.
49869         (fmin_test): Likewise.
49870         (fmod_test): Likewise.
49871         (fpclassify_test): Likewise.
49872         (frexp_test): Likewise.
49873         (hypot_test): Likewise.
49874         (ilogb_test): Likewise.
49875         (isfinite_test): Likewise.
49876         (finite_test): Likewise.
49877         (isgreater_test): Likewise.
49878         (isgreaterequal_test): Likewise.
49879         (isinf_test): Likewise.
49880         (isless_test): Likewise.
49881         (islessequal_test): Likewise.
49882         (islessgreater_test): Likewise.
49883         (isnan_test): Likewise.
49884         (isnormal_test): Likewise.
49885         (issignaling_test): Likewise.
49886         (isunordered_test): Likewise.
49887         (j0_test): Likewise.
49888         (j1_test): Likewise.
49889         (jn_test): Likewise.
49890         (ldexp_test): Likewise.
49891         (lgamma_test): Likewise.
49892         (gamma_test): Likewise.
49893         (lrint_test): Likewise.
49894         (lrint_test_tonearest): Likewise.
49895         (lrint_test_towardzero): Likewise.
49896         (lrint_test_downward): Likewise.
49897         (lrint_test_upward): Likewise.
49898         (llrint_test): Likewise.
49899         (llrint_test_tonearest): Likewise.
49900         (llrint_test_towardzero): Likewise.
49901         (llrint_test_downward): Likewise.
49902         (llrint_test_upward): Likewise.
49903         (log_test): Likewise.
49904         (log10_test): Likewise.
49905         (log1p_test): Likewise.
49906         (log2_test): Likewise.
49907         (logb_test): Likewise.
49908         (logb_test_downward): Likewise.
49909         (lround_test): Likewise.
49910         (llround_test): Likewise.
49911         (modf_test): Likewise.
49912         (nearbyint_test): Likewise.
49913         (nextafter_test): Likewise.
49914         (nexttoward_test): Likewise.
49915         (pow_test): Likewise.
49916         (pow_test_tonearest): Likewise.
49917         (pow_test_towardzero): Likewise.
49918         (pow_test_downward): Likewise.
49919         (pow_test_upward): Likewise.
49920         (remainder_test): Likewise.
49921         (drem_test): Likewise.
49922         (remainder_test_tonearest): Likewise.
49923         (drem_test_tonearest): Likewise.
49924         (remainder_test_towardzero): Likewise.
49925         (drem_test_towardzero): Likewise.
49926         (remainder_test_downward): Likewise.
49927         (drem_test_downward): Likewise.
49928         (remainder_test_upward): Likewise.
49929         (drem_test_upward): Likewise.
49930         (remquo_test): Likewise.
49931         (rint_test): Likewise.
49932         (rint_test_tonearest): Likewise.
49933         (rint_test_towardzero): Likewise.
49934         (rint_test_downward): Likewise.
49935         (rint_test_upward): Likewise.
49936         (round_test): Likewise.
49937         (scalb_test): Likewise.
49938         (scalbn_test): Likewise.
49939         (scalbln_test): Likewise.
49940         (signbit_test): Likewise.
49941         (sin_test): Likewise.
49942         (sin_test_tonearest): Likewise.
49943         (sin_test_towardzero): Likewise.
49944         (sin_test_downward): Likewise.
49945         (sin_test_upward): Likewise.
49946         (sincos_test): Likewise.
49947         (sinh_test): Likewise.
49948         (sinh_test_tonearest): Likewise.
49949         (sinh_test_towardzero): Likewise.
49950         (sinh_test_downward): Likewise.
49951         (sinh_test_upward): Likewise.
49952         (sqrt_test): Likewise.
49953         (sqrt_test_tonearest): Likewise.
49954         (sqrt_test_towardzero): Likewise.
49955         (sqrt_test_downward): Likewise.
49956         (sqrt_test_upward): Likewise.
49957         (tan_test): Likewise.
49958         (tan_test_tonearest): Likewise.
49959         (tan_test_towardzero): Likewise.
49960         (tan_test_downward): Likewise.
49961         (tan_test_upward): Likewise.
49962         (tanh_test): Likewise.
49963         (tgamma_test): Likewise.
49964         (trunc_test): Likewise.
49965         (y0_test): Likewise.
49966         (y1_test): Likewise.
49967         (yn_test): Likewise.
49968         (significand_test): Likewise.
49970         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49971         individual tests in comment.
49972         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49973         (prev_max_error): New variable.
49974         (prev_real_max_error): Likewise.
49975         (prev_imag_max_error): Likewise.
49976         (compare_ulp_data): Don't refer to test names in comment.
49977         (find_test_ulps): Remove function.
49978         (find_function_ulps): Likewise.
49979         (find_complex_function_ulps): Likewise.
49980         (init_max_error): Take function name as argument.  Look up ulps
49981         for that function.
49982         (print_ulps): Remove function.
49983         (print_max_error): Use prev_max_error instead of calling
49984         find_function_ulps.
49985         (print_complex_max_error): Use prev_real_max_error and
49986         prev_imag_max_error instead of calling find_complex_function_ulps.
49987         (check_float_internal): Take max_ulp parameter instead of calling
49988         find_test_ulps.  Don't call print_ulps.
49989         (check_float): Update call to check_float_internal.
49990         (check_complex): Update calls to check_float_internal.
49991         (START): Pass argument to init_max_error.
49992         * math/gen-libm-test.pl (%results): Don't include "kind"
49993         information.
49994         (parse_ulps): Don't handle ulps of individual tests.
49995         (print_ulps_file): Likewise.
49996         (output_ulps): Likewise.
49997         * math/README.libm-test: Update.
49998         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49999         individual tests.
50000         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50001         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50002         * sysdeps/arm/libm-test-ulps: Likewise.
50003         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50004         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50005         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50006         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50007         * sysdeps/microblaze/libm-test-ulps: Likewise.
50008         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50009         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50010         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50011         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50012         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50013         * sysdeps/sh/libm-test-ulps: Likewise.
50014         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50015         * sysdeps/tile/libm-test-ulps: Likewise.
50016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50018 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50020         * math/libm-test.inc (print_complex_max_error): Check separately
50021         whether real and imaginary errors are within allowed range and
50022         pass 0 to print_complex_function_ulps instead of value within
50023         allowed range.
50025 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50027         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50028         formatting.
50029         (get_handles_fopen): Likewise.
50030         (do_write_test): Likewise.
50032         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50034         * libio/fileops.c (do_ftell): Use cached offset when
50035         available.
50036         * libio/iofwide.c (do_ftell_wide): Likewise.
50037         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50038         _IO_file_attach.
50039         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50041         [BZ #16532]
50042         * libio/libioP.h (get_file_offset): New function.
50043         * libio/fileops.c (get_file_offset): Likewise.
50044         (do_ftell): Likewise.
50045         (_IO_new_file_seekoff): Split out ftell logic.
50046         * libio/wfileops.c (do_ftell_wide): Likewise.
50047         (_IO_wfile_seekoff): Split out ftell logic.
50048         * libio/tst-ftell-active-handler.c: New test case.
50049         * libio/Makefile (tests): Add it.
50051 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50053         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50054         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50056 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50058         [BZ #16639]
50059         * nscd/connections.c (nscd_init): Call do_exit.
50060         (start_threads): Call do_exit and notify_parent.
50061         (begin_drop_privileges): Call do_exit.
50062         (finish_drop_privileges): Likewise.
50063         * nscd/selinux.c (preserve_capabilities): Likewise.
50064         (install_real_capabilities): Likewise.
50065         (nscd_selinux_enabled): Likewise.
50066         (avc_create_thread): Likewise.
50067         (avc_alloc_lock): Likewise.
50068         (nscd_avc_init): Likewise.
50069         * nscd/nscd.c (parent_fd): New static variable.
50070         (main): Create a pipe between parent and child processes.
50071         Skip closing parent_fd.
50072         (monitor_child): New function.
50073         (do_exit): Likewise.
50074         (notify_parent): Likewise.
50075         * nscd/nscd.h (notify_parent): Likewise.
50076         (do_exit): Likewise.
50078 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50080         * malloc/malloc.c (__libc_calloc): Revert last change.
50082 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50086 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50088         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50090         implementation.
50091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50092         (__libc_ifunc_impl_list): Likewise.
50093         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50094         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50095         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50096         * string/strrchr.c: Define STRRCHR.
50098 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50100         * benchtest/bench-strtok.c (simple_strtok): Delete.
50101         (strtok_string): Use as benchmark.
50102         * string/strtok (STRTOK): New macro.
50104 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50106         * manual/threads.texi: Add header and standard comments to all
50107         functions.
50109         * elf/dl-lookup.c (check_match): New function.
50110         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50111         (do_lookup_x): Remove nested function check_match. Use non-nested
50112         function check_match.
50114 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50116         * csu/Makefile (generated, before-compile): Use += rather than =.
50117         * catgets/Makefile (generated, generated-dirs): Likewise.
50118         * debug/Makefile (generated): Likewise.
50119         * dlfcn/Makefile (generated): Likewise.
50120         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50121         * iconvdata/Makefile (before-compile, generated): Likewise.
50122         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50123         * libio/Makefile (generated): Likewise.
50124         * malloc/Makefile (generated): Likewise.
50125         * manual/Makefile (generated, generated-dirs): Likewise.
50126         * misc/Makefile (generated): Likewise.
50127         * posix/Makefile (generated): Likewise.
50128         * resolv/Makefile (generated): Likewise.
50129         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50130         * timezone/Makefile (generated, generated-dirs): Likewise.
50132         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50134 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50137         power8 implementation.
50138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50139         file: POWER8 llround ifunc implementation.
50140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50141         (__lllround): Add POWER8 implementation.
50142         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50143         POWER8 llround implementation.
50145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50146         power8 implementation.
50147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50148         file: POWER8 llrint ifunc implementation.
50149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50150         Add POWER8 implementation.
50151         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50152         POWER8 llrint implementation.
50154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50155         power8 implementation.
50156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50157         file: POWER8 finite ifunc implementation.
50158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50159         Add POWER8 implementation.
50160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50161         Likewise.
50162         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50163         POWER8 finite implementation.
50164         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50167         power8 implementation.
50168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50169         file: POWER8 isinf ifunc implementation.
50170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50171         POWER8 implementation.
50172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50173         Likewise.
50174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50175         isinf implementation.
50176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50178         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50179         (INIT_ARCH): Add hwcap2 initialization.
50180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50181         power8 implementation.
50182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50183         file: POWER8 isnan ifunc implementation.
50184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50185         POWER8 implementation.
50186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50187         Likewise.
50188         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50189         isnan implementation.
50190         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50192 2014-02-27  Joey Ye  <joey.ye@arm.com>
50194         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50195         (_FP_NANFRAC_Q): Set to zero.
50197 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50199         [BZ #16623]
50200         * math/auto-libm-test-in: New test inputs.
50201         * math/auto-libm-test-out: Regenerate.
50202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50203         and DA.
50204         (__cos): Likewise.
50205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50207 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50209         * scripts/evaluate-test.sh: Take new argument indicating whether
50210         failure is expected.
50211         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50212         indicating whether failure is expected.
50213         * conform/Makefile (test-xfail-run-conformtest): New variable.
50214         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50215         level.
50216         * posix/Makefile (test-xfail-annexc): New variable.
50217         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50219 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50221         * argp/Makefile: Include Makeconfig immediately after defining
50222         subdir.
50223         * assert/Makefile: Likewise.
50224         * benchtests/Makefile: Likewise.
50225         * catgets/Makefile: Likewise.
50226         * conform/Makefile: Likewise.
50227         * crypt/Makefile: Likewise.
50228         * csu/Makefile: Likewise.
50229         (all): Remove target.
50230         * ctype/Makefile: Include Makeconfig immediately after defining
50231         subdir.
50232         * debug/Makefile: Likewise.
50233         * dirent/Makefile: Likewise.
50234         * dlfcn/Makefile: Likewise.
50235         * gmon/Makefile: Likewise.
50236         * gnulib/Makefile: Likewise.
50237         * grp/Makefile: Likewise.
50238         * gshadow/Makefile: Likewise.
50239         * hesiod/Makefile: Likewise.
50240         * hurd/Makefile: Likewise.
50241         (all): Remove target.
50242         * iconvdata/Makefile: Include Makeconfig immediately after
50243         defining subdir.
50244         * inet/Makefile: Likewise.
50245         * intl/Makefile: Likewise.
50246         * io/Makefile: Likewise.
50247         * libio/Makefile: Likewise.
50248         (all): Remove target.
50249         * locale/Makefile: Include Makeconfig immediately after defining
50250         subdir.
50251         * login/Makefile: Likewise.
50252         * mach/Makefile: Likewise.
50253         (all): Remove target.
50254         * malloc/Makefile: Include Makeconfig immediately after defining
50255         subdir.
50256         (all): Remove target.
50257         * manual/Makefile: Include Makeconfig immediately after defining
50258         subdir.
50259         * math/Makefile: Likewise.
50260         * misc/Makefile: Likewise.
50261         * nis/Makefile: Likewise.
50262         * nss/Makefile: Likewise.
50263         * po/Makefile: Likewise.
50264         (all): Remove target.
50265         * posix/Makefile: Include Makeconfig immediately after defining
50266         subdir.
50267         * pwd/Makefile: Likewise.
50268         * resolv/Makefile: Likewise.
50269         * resource/Makefile: Likewise.
50270         * rt/Makefile: Likewise.
50271         * setjmp/Makefile: Likewise.
50272         * shadow/Makefile: Likewise.
50273         * signal/Makefile: Likewise.
50274         * socket/Makefile: Likewise.
50275         * soft-fp/Makefile: Likewise.
50276         * stdio-common/Makefile: Likewise.
50277         * stdlib/Makefile: Likewise.
50278         * streams/Makefile: Likewise.
50279         * string/Makefile: Likewise.
50280         * sunrpc/Makefile: Likewise.
50281         (all): Remove target.
50282         * sysvipc/Makefile: Include Makeconfig immediately after defining
50283         subdir.
50284         * termios/Makefile: Likewise.
50285         * time/Makefile: Likewise.
50286         * timezone/Makefile: Likewise.
50287         (all): Remove target.
50288         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50289         subdir.
50290         * wctype/Makefile: Likewise.
50292 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50294         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50295         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50296         (libc_feholdexcept_setround_mips): Ditto.
50297         (libc_feholdsetround): New.
50298         (libc_feholdsetroundf): New.
50299         (libc_feholdsetroundl): New.
50300         (libc_feupdateenv_test_mips): New.
50301         (libc_feupdateenv_test): New.
50302         (libc_feupdateenv_testf): New.
50303         (libc_feupdateenv_testl): New.
50304         (libc_feresetround): New.
50305         (libc_feresetroundf): New.
50306         (libc_feresetroundl): New.
50307         (libc_fetestexcept_mips): New.
50308         (libc_fetestexcept): New.
50309         (libc_fetestexceptf): New.
50310         (libc_fetestexceptl): New.
50311         (HAVE_RM_CTX): New.
50312         (libc_feholdexcept_setround_mips_ctx): New.
50313         (libc_feholdexcept_setround_ctx): New.
50314         (libc_feholdexcept_setroundf_ctx): New.
50315         (libc_feholdexcept_setroundl_ctx): New.
50316         (libc_fesetenv_mips_ctx): New.
50317         (libc_fesetenv_ctx): New.
50318         (libc_fesetenv_ctxf): New.
50319         (libc_fesetenv_ctxl): New.
50320         (libc_feupdateenv_mips_ctx): New.
50321         (libc_feupdateenv_ctx): New.
50322         (libc_feupdateenvf_ctx): New.
50323         (libc_feupdateenvl_ctx): New.
50324         (libc_feholdsetround_mips_ctx): New.
50325         (libc_feholdsetround_ctx): New.
50326         (libc_feholdsetroundf_ctx): New.
50327         (libc_feholdsetroundl_ctx): New.
50328         (libc_feresetround_mips_ctx): New.
50329         (libc_feresetround_ctx): New.
50330         (libc_feresetroundf_ctx): New.
50331         (libc_feresetroundl_ctx): New.
50333 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50335         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50337         * manual/ipc.texi: New file.
50338         * manual/Makefile (chapters): Add ipc.
50339         * manual/job.texi: Add "Inter-Process Communication" to next.
50340         * manual/process.texi: Add "Inter-Process Communication" to prev.
50342 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50346 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50348         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50350         * manual/arith.texi: Fix spaces after sentences.
50351         * manual/charset.texi: Likewise.
50352         * manual/errno.texi: Likewise.
50353         * manual/install.texi: Likewise.
50354         * manual/llio.texi: Likewise.
50355         * manual/locale.texi: Likewise.
50356         * manual/maint.texi: Likewise.
50357         * manual/math.texi: Likewise.
50358         * manual/memory.texi: Likewise.
50359         * manual/message.texi: Likewise.
50360         * manual/probes.texi: Likewise.
50361         * manual/resource.texi: Likewise.
50362         * manual/signal.texi: Likewise.
50363         * manual/socket.texi: Likewise.
50364         * manual/stdio.texi: Likewise.
50365         * manual/string.texi: Likewise.
50366         * manual/time.texi: Likewise.
50367         * manual/users.texi: Likewise.
50369 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50371         [BZ #16632]
50372         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50373         _DEFAULT_SOURCE is defined.
50375 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50376             Carlos O'Donell  <carlos@redhat.com>
50378         [BZ #16613]
50379         * elf/dl-tls.c (_dl_count_modids): New function.
50380         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50381         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50382         audit library and increment generation counter.
50383         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50384         * elf/tst-audit9.c: New file.
50385         * elf/tst-auditmod9a.c: New file.
50386         * elf/tst-auditmod9b.c: New file.
50387         * elf/Makefile: Add rules to build and run tst-audit9.
50389 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50391         [BZ #15347]
50392         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50394 2014-02-25  Will Newton  <will.newton@linaro.org>
50396         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50397         (__longjmp): Restore sp and lr before restoring callee
50398         saved registers.  Add longjmp and longjmp_target
50399         SystemTap probe point.
50400         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50401         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50402         Define to zero to match jmpbuf layout.
50403         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50404         (__sigsetjmp): Save sp and lr before saving callee
50405         saved registers.  Add setjmp SystemTap probe point.
50407 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50409         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50411 2014-02-24  Andreas Schwab  <schwab@suse.de>
50413         [BZ #15804]
50414         * elf/pldd.c (wait_for_ptrace_stop): New function.
50415         (main): Call it after attaching.
50417 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50419         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50420         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50421         Versions files is now verboten.
50422         * hurd/Versions (libc: GLIBC_2.0):
50423         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50424         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50425         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50426         * mach/Versions: Likewise.
50428         * csu/Versions: Remove unused %include.
50429         * resolv/Versions: Likewise.
50431 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50433         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50434         ($(objpfx)check-local-headers.out): Likewise.
50435         ($(objpfx)begin-end-check.out): Likewise.
50436         * Makerules (check-abi-%.out): Likewise.
50437         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50438         ($(objpfx)test2.cat): Likewise.
50439         ($(objpfx)de/libc.cat): Likewise.
50440         ($(objpfx)test-gencat.out): Likewise.
50441         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50442         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50443         ($(objpfx)noload-mem): Likewise.
50444         ($(objpfx)tst-pathopt.out): Likewise.
50445         ($(objpfx)tst-rtld-load-self.out): Likewise.
50446         ($(objpfx)tst-array1-cmp.out): Likewise.
50447         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50448         ($(objpfx)tst-array2-cmp.out): Likewise.
50449         ($(objpfx)tst-array3-cmp.out): Likewise.
50450         ($(objpfx)tst-array4-cmp.out): Likewise.
50451         ($(objpfx)tst-array5-cmp.out): Likewise.
50452         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50453         ($(objpfx)check-textrel.out): Likewise.
50454         ($(objpfx)check-execstack.out): Likewise.
50455         ($(objpfx)check-localplt.out): Likewise.
50456         ($(objpfx)order2-cmp.out): Likewise.
50457         ($(objpfx)tst-leaks1-mem): Likewise.
50458         ($(objpfx)tst-leaks1-static-mem): Likewise.
50459         ($(objpfx)tst-initorder-cmp.out): Likewise.
50460         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50461         ($(objpfx)tst-unused-dep.out): Likewise.
50462         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50463         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50464         * iconv/Makefile (test-iconvconfig): Likewise.
50465         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50466         ($(objpfx)iconv-test.out): Likewise.
50467         ($(objpfx)tst-tables.out): Likewise.
50468         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50469         ($(objpfx)tst-gettext.out): Likewise.
50470         ($(objpfx)tst-translit.out): Likewise.
50471         ($(objpfx)tst-gettext2.out): Likewise.
50472         ($(objpfx)tst-gettext4.out): Likewise.
50473         ($(objpfx)tst-gettext6.out): Likewise.
50474         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50475         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50476         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50477         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50478         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50479         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50480         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50481         ($(objpfx)wordexp-tst.out): Likewise.
50482         ($(objpfx)annexc.out): Likewise.
50483         ($(objpfx)tst-fnmatch-mem): Likewise.
50484         ($(objpfx)bug-regex2-mem): Likewise.
50485         ($(objpfx)bug-regex14-mem): Likewise.
50486         ($(objpfx)bug-regex21-mem): Likewise.
50487         ($(objpfx)bug-regex31-mem): Likewise.
50488         ($(objpfx)tst-vfork3-mem): Likewise.
50489         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50490         ($(objpfx)tst-pcre-mem): Likewise.
50491         ($(objpfx)tst-boost-mem): Likewise.
50492         ($(objpfx)tst-getconf.out): Likewise.
50493         ($(objpfx)bug-ga2-mem): Likewise.
50494         ($(objpfx)bug-glob2-mem): Likewise.
50495         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50496         ($(objpfx)mtrace-tst-leaks2): Likewise.
50497         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50498         ($(objpfx)tst-printf.out): Likewise.
50499         ($(objpfx)tst-setvbuf1.out): Likewise.
50500         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50501         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50502         ($(objpfx)tst-fmtmsg.out): Likewise.
50503         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50504         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50506         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50507         * bits/sigaction.h [__USE_MISC]: Likewise.
50508         * bits/waitstatus.h: Update #endif comments.
50509         * ctype/ctype.h: Likewise.
50510         * dirent/dirent.h: Likewise.
50511         [__USE_MISC]: Remove redundant conditionals.
50512         * grp/grp.h: Update #endif comments.
50513         [__USE_GNU]: Remove redundant conditionals.
50514         [__USE_MISC]: Likewise.
50515         * inet/netinet/in.h [__USE_GNU]: Likewise.
50516         * io/sys/stat.h [__USE_MISC]: Likewise.
50517         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50518         * libio/bits/stdio.h: Update #endif comments.
50519         [__USE_MISC]: Remove redundant conditionals.
50520         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50521         * libio/stdio.h: Update #endif comments.
50522         [__USE_MISC]: Remove redundant conditionals.
50523         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50524         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50525         * math/math.h: Update #else and #endif comments.
50526         [__USE_MISC]: Remove redundant conditionals.
50527         * misc/sys/uio.h: Update #endif comments.
50528         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50529         * posix/glob.h [__USE_MISC]: Likewise.
50530         * posix/sys/types.h: Update #endif comments.
50531         [__USE_MISC]: Remove redundant conditionals.
50532         * posix/sys/wait.h: Update #endif comments.
50533         [__USE_MISC]: Remove redundant conditionals.
50534         * posix/unistd.h: Update #endif comments.
50535         [__USE_MISC]: Remove redundant conditionals.
50536         * pwd/pwd.h [__USE_GNU]: Likewise.
50537         [__USE_MISC]: Likewise.
50538         * resolv/netdb.h [__USE_GNU]: Likewise.
50539         * signal/signal.h: Update #endif comments.
50540         [__USE_MISC]: Remove redundant conditionals.
50541         * stdlib/stdlib.h: Update #else and #endif comments.
50542         [__USE_MISC]: Remove redundant conditionals.
50543         [__USE_GNU]: Likewise.
50544         * string/bits/string2.h [__USE_MISC]: Likewise.
50545         * string/string.h: Update #endif comments.
50546         [__USE_MISC]: Remove redundant conditionals.
50547         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50548         Likewise.
50549         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50550         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50551         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50552         Likewise.
50553         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50554         Likewise.
50555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50556         comments.
50557         [__USE_MISC]: Remove redundant conditionals.
50558         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50559         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50560         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50561         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50562         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50563         Likewise.
50564         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50565         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50566         Likewise.
50567         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50568         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50569         Likewise.
50570         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50571         Likewise.
50572         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50573         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50574         Likewise.
50575         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50576         Likewise.
50577         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50578         * sysdeps/x86/bits/string.h: Update #endif comments.
50579         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50580         conditionals.
50581         * time/sys/time.h: Update #endif comments.
50582         * time/time.h: Likewise.
50583         [__USE_MISC]: Remove redundant conditionals.
50585 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50587         [BZ #16600]
50588         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50590 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50592         * Versions.def (librt): Add GLIBC_2.17.
50594 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50596         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50597         synonym for _SYS_AUXV_H to allow direct inclusion.
50598         * sysdeps/sparc/bits/hwcap.h: Likewise.
50599         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50600         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50601         * sysdeps/sparc/sysdep.h: Likewise.
50603 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50605         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50607 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50609         * benchtests/bench-strrchr.c: Print length instead of position.
50611 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50613         [BZ #16611]
50614         * sysdeps/unix/sysv/linux/kernel-features.h
50615         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50616         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50617         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50618         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50619         Likewise.
50620         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50621         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50622         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50623         (__ASSUME_SENDMMSG): Define instead of using previous
50624         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50625         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50626         (__ASSUME_SENDMMSG_SYSCALL): Define.
50627         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50628         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50629         Likewise.
50630         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50631         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50632         Likewise.
50633         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50634         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50635         Likewise.
50636         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50637         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50638         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50639         [__ASSUME_SENDMMSG]: Change conditionals to
50640         [__ASSUME_SENDMMSG_SOCKETCALL].
50641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50642         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50643         Define.
50644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50645         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50646         Likewise.
50647         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50648         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50649         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50650         [!__ASSUME_SENDMMSG]: Change conditional to
50651         [!__ASSUME_SENDMMSG_SOCKETCALL].
50652         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50653         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50654         Define.
50656         [BZ #16610]
50657         * sysdeps/unix/sysv/linux/kernel-features.h
50658         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50659         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50660         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50661         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50662         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50663         [__i386__ || __sparc__]
50664         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50665         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50666         (__ASSUME_RECVMMSG): Define instead of using previous
50667         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50668         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50669         (__ASSUME_RECVMMSG_SYSCALL): Define.
50670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50672         Likewise.
50673         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50675         Likewise.
50676         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50678         Likewise.
50679         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50680         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50681         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50682         [__ASSUME_RECVMMSG]: Change condition to
50683         [__ASSUME_RECVMMSG_SOCKETCALL].
50684         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50686         Define.
50687         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50689         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50690         Likewise.
50691         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50692         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50693         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50694         [!__ASSUME_RECVMMSG]: Change condition to
50695         [!__ASSUME_RECVMMSG_SOCKETCALL].
50696         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50697         (__ASSUME_RECVMMSG_SYSCALL): Define.
50699         [BZ #16609]
50700         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50701         __powerpc__ || __s390__ || __sh__ || __sparc__]
50702         (__ASSUME_SOCKETCALL): Define.
50703         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50704         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50705         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50706         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50707         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50708         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50709         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50710         (__ASSUME_ACCEPT4): Define instead of using previous
50711         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50712         __powerpc__ || __sparc__ || __s390__)] condition.
50713         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50714         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50715         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50716         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50717         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50718         [!__ASSUME_ACCEPT4]: Change condition to
50719         [!__ASSUME_ACCEPT4_SOCKETCALL].
50720         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50721         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50722         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50724         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50725         __ASSUME_ACCEPT4_SYSCALL.
50726         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50727         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50728         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50729         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50730         __ASSUME_ACCEPT4_SYSCALL.
50731         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50732         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50733         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50734         [__ASSUME_ACCEPT4]: Change condition to
50735         [__ASSUME_ACCEPT4_SOCKETCALL].
50736         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50737         (__ASSUME_SOCKETCALL): Define.
50738         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50739         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50740         (__ASSUME_SOCKETCALL): Define.
50741         (__ASSUME_ACCEPT4): Remove.
50742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50743         Define.
50744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50745         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50746         Likewise.
50747         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50748         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50750         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50751         macro.
50752         (HWCAP_ARM_LPAE): Likewise.
50753         (HWCAP_ARM_EVTSTRM): Likewise.
50754         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50755         Add vpfd32, lpae and evtstrm.
50756         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50757         Increase to 22.
50759 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50761         * math/auto-libm-test-in: Add tests of clog10.
50762         * math/auto-libm-test-out: Regenerated.
50763         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50764         * sysdeps/i386/fpu/libm-test-ulps: Update.
50765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50767 2014-02-18  Andreas Schwab  <schwab@suse.de>
50769         [BZ #16574]
50770         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50771         Store non-zero if the second buffer was newly allocated.
50772         (send_dg): Likewise.
50773         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50774         to send_vc and send_dg.
50775         (res_nsend): Pass NULL for ansp2_malloced.
50776         * resolv/res_query.c (__libc_res_nquery): Add parameter
50777         answerp2_malloced and pass it down to __libc_res_nsend.
50778         (res_nquery): Pass additional NULL to __libc_res_nquery.
50779         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50780         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50781         second answer buffer if answerp2_malloced was set.
50782         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50783         (__libc_res_nquerydomain): Add parameter
50784         answerp2_malloced and pass it down to __libc_res_nquery.
50785         (res_nquerydomain): Pass additional NULL to
50786         __libc_res_nquerydomain.
50787         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50788         additional NULL to __libc_res_nsend and __libc_res_nquery.
50789         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50790         additional NULL to __libc_res_nsearch.
50791         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50792         parameter of __libc_res_nsearch to check for separately allocated
50793         second buffer.
50794         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50795         __libc_res_nquery.
50796         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50797         additional NULL to __libc_res_nquery.
50798         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50799         __libc_res_nsearch.
50800         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50801         * include/resolv.h: Update prototypes of __libc_res_nquery,
50802         __libc_res_nsearch, __libc_res_nsend.
50804 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50806         * math/auto-libm-test-in: Add tests of fma.
50807         * math/auto-libm-test-out: Regenerated.
50808         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50809         (fma_towardzero_test_data): Likewise.
50810         (fma_downward_test_data): Likewise.
50811         (fma_upward_test_data): Likewise.
50812         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50813         mpc_mode.
50814         (rounding_modes): Add values for new field.
50815         (func_calc_method): Add value mpfr_fff_f.
50816         (func_calc_desc): Add mpfr_fff_f union field.
50817         (test_function): Add field exact_args.
50818         (FUNC): Add macro argument EXACT_ARGS.
50819         (FUNC_mpfr_f_f): Update call to FUNC.
50820         (FUNC_mpfr_f_f): Likewise.
50821         (FUNC_mpfr_ff_f): Likewise.
50822         (FUNC_mpfr_if_f): Likewise.
50823         (FUNC_mpc_c_f): Likewise.
50824         (FUNC_mpc_c_c): Likewise.
50825         (test_functions): Add fma.  Update calls to FUNC.
50826         (handle_input_arg): Add argument exact_args.
50827         (add_test): Update call to handle_input_arg.
50828         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50829         (output_for_one_input_case): Update call to calc_generic_results.
50830         Recalculate exact zero results in each rounding mode.
50832         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50833         non-negative before setting low bit.
50834         * math/auto-libm-test-in: Mark one asin test possibly having
50835         spurious underflow.
50836         * math/auto-libm-test-out: Regenerated.
50837         * sysdeps/i386/fpu/libm-test-ulps: Update.
50838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50840 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50842         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50843         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50844         ports/sysdeps/unix/sysv/linux/microblaze.
50845         * README: Add missing listing for microblaze*-*-linux-gnu.
50847 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50849         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50850         duplicate code
50852 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50854         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50855         * sysdeps/unix/sysv/linux/ia64: Move directory from
50856         ports/sysdeps/unix/sysv/linux/ia64.
50857         * README: Update listing for ia64-*-linux-gnu.
50859 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50860             Joseph Myers  <joseph@codesourcery.com>
50862         * Makeconfig (test-name): New variable.
50863         (evaluate-test): Likewise.
50864         * Makerules (do-test-clean): Remove .test-result files.
50865         (common-mostlyclean): Likewise.
50866         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50867         * scripts/evaluate-test.sh: New file.
50869 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50871         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50872         separate $(objpfx)tst-fopenloc-cmp.out and
50873         $(objpfx)tst-fopenloc-mem.out targets.
50874         (tests): Update dependencies.
50875         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50876         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50877         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50878         (tst-rxspencer-no-utf8-ARGS): New variable.
50879         (tst-rxspencer-no-utf8-ENV): Likewise.
50880         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50881         instead of $(objpfx)tst-rxspencer-mem.
50882         ($(objpfx)tst-rxspencer-mem): Change target to
50883         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50884         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50885         * posix/tst-rxspencer-no-utf8.c: New file.
50887         * elf/Makefile ($(objpfx)order.out): Remove rule.
50888         [$(run-built-tests) = yes] (tests): Depend on
50889         $(objpfx)order-cmp.out.
50890         ($(objpfx)order-cmp.out): New rule.
50891         [$(run-built-tests) = yes] (tests): Depend on
50892         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50893         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50894         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50895         $(objpfx)tst-array5-static-cmp.out.
50896         ($(objpfx)tst-array1.out): Remove rule.
50897         ($(objpfx)tst-array1-cmp.out): New rule.
50898         ($(objpfx)tst-array1-static.out): Remove rule.
50899         ($(objpfx)tst-array1-static-cmp.out): New rule.
50900         ($(objpfx)tst-array2.out): Remove rule.
50901         ($(objpfx)tst-array2-cmp.out): New rule.
50902         ($(objpfx)tst-array3.out): Remove rule.
50903         ($(objpfx)tst-array3-cmp.out): New rule.
50904         ($(objpfx)tst-array4.out): Remove rule.
50905         ($(objpfx)tst-array4-cmp.out): New rule.
50906         ($(objpfx)tst-array5.out): Remove rule.
50907         ($(objpfx)tst-array5-cmp.out): New rule.
50908         ($(objpfx)tst-array5-static.out): Remove rule.
50909         ($(objpfx)tst-array5-static-cmp.out): New rule.
50910         [$(run-built-tests) = yes] (tests): Depend on
50911         $(objpfx)order2-cmp.out.
50912         ($(objpfx)order2.out): Remove rule.
50913         ($(objpfx)order2-cmp.out): New rule.
50914         ($(objpfx)tst-initorder.out): Remove rule.
50915         [$(run-built-tests) = yes] (tests): Depend on
50916         $(objpfx)tst-initorder-cmp.out.
50917         ($(objpfx)tst-initorder-cmp.out): New rule.
50918         ($(objpfx)tst-initorder2.out): Remove rule.
50919         [$(run-built-tests) = yes] (tests): Depend on
50920         $(objpfx)tst-initorder2-cmp.out.
50921         ($(objpfx)tst-initorder2-cmp.out): New rule.
50922         [$(run-built-tests) = yes] (tests): Depend on
50923         $(objpfx)tst-unused-dep-cmp.out.
50924         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50925         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50926         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50927         on $(objpfx)tst-setvbuf1-cmp.out.
50928         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50929         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50930         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50931         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50932         ($(objpfx)tst-svc.out): Remove rule.
50933         ($(objpfx)tst-svc-cmp.out): New rule.
50935 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50937         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50938         * ctype/ctype.h [__USE_MISC]: Likewise.
50939         * dirent/dirent.h [__USE_MISC]: Likewise.
50940         * grp/grp.h [__USE_MISC]: Likewise.
50941         * io/fcntl.h [__USE_MISC]: Likewise.
50942         * io/sys/stat.h [__USE_MISC]: Likewise.
50943         * libio/stdio.h [__USE_MISC]: Likewise.
50944         * posix/unistd.h [__USE_MISC]: Likewise.
50945         * pwd/pwd.h [__USE_MISC]: Likewise.
50946         * stdlib.h [__USE_MISC]: Likewise.
50947         * string/bits/string2.h [__USE_MISC]: Likewise.
50948         * string/string.h [__USE_MISC]: Likewise.
50949         * time/time.h [__USE_MISC]: Likewise.
50951 2014-02-13  Andreas Schwab  <schwab@suse.de>
50953         [BZ #16574]
50954         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50955         second answer buffer if it was separately allocated.
50957 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50959         * sysdeps/mips/math-tests.h: Include <features.h>.
50960         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50961         (ROUNDING_TESTS_long_double): Do not define.
50962         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50963         (EXCEPTION_TESTS_long_double): Likewise.
50964         * sysdeps/mips/mips64/libm-test-ulps: Update.
50966         * include/features.h (__USE_BSD): Remove macro definitions.
50967         (__USE_SVID): Likewise.
50968         (_BSD_SOURCE): Likewise.
50969         (_SVID_SOURCE): Likewise.
50970         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50971         from definition of _DEFAULT_SOURCE.
50972         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50973         [_DEFAULT_SOURCE].
50974         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50975         * bits/mman.h [__USE_BSD]: Likewise.
50976         * bits/termios.h [__USE_BSD]: Likewise.
50977         * bits/waitstatus.h [__USE_BSD]: Likewise.
50978         * ctype/ctype.h [__USE_SVID]: Likewise.
50979         * dirent/dirent.h [__USE_BSD]: Likewise.
50980         * grp/grp.h [__USE_SVID]: Likewise.
50981         [__USE_BSD]: Likewise.
50982         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50983         * io/fcntl.h [__USE_BSD]: Likewise.
50984         * io/ftw.h [__USE_BSD]: Likewise.
50985         * io/sys/stat.h [__USE_BSD]: Likewise.
50986         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50987         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50988         * libio/stdio.h [__USE_SVID]: Likewise.
50989         [__USE_BSD]: Likewise.
50990         * math/math.h [__USE_SVID]: Likewise.
50991         [__USE_BSD]: Likewise.
50992         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50993         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50994         * misc/search.h [__USE_SVID]: Likewise.
50995         * misc/sys/mman.h [__USE_BSD]: Likewise.
50996         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50997         * misc/sys/uio.h [__USE_BSD]: Likewise.
50998         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50999         * posix/glob.h [__USE_BSD]: Likewise.
51000         * posix/regex.h [__USE_BSD]: Likewise.
51001         * posix/sys/types.h [__USE_BSD]: Likewise.
51002         [__USE_SVID]: Likewise.
51003         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51004         * posix/sys/wait.h [__USE_BSD]: Likewise.
51005         [__USE_SVID]: Likewise.
51006         * posix/unistd.h [__USE_BSD]: Likewise.
51007         [__USE_SVID]: Likewise.
51008         * pwd/pwd.h [__USE_SVID]: Likewise.
51009         * resolv/netdb.h [__USE_BSD]: Likewise.
51010         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51011         * signal/signal.h [__USE_BSD]: Likewise.
51012         [__USE_SVID]: Likewise.
51013         * socket/sys/socket.h [__USE_BSD]: Likewise.
51014         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51015         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51016         [__USE_SVID]: Likewise.
51017         * string/bits/string2.h [__USE_BSD]: Likewise.
51018         [__USE_SVID]: Likewise.
51019         * string/bits/string3.h [__USE_BSD]: Likewise.
51020         * string/endian.h [__USE_BSD]: Likewise.
51021         * string/string.h [__USE_SVID]: Likewise.
51022         [__USE_BSD]: Likewise.
51023         * string/strings.h [__USE_BSD]: Likewise.
51024         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51025         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51026         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51027         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51028         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51029         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51030         Likewise.
51031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51032         Likewise.
51033         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51034         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51035         Likewise.
51036         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51037         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51038         Likewise.
51039         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51040         Likewise.
51041         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51042         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51043         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51044         Likewise.
51045         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51046         Likewise.
51047         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51048         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51049         * termios/termios.h [__USE_BSD]: Likewise.
51050         * time/sys/time.h [__USE_BSD]: Likewise.
51051         * time/time.h [__USE_BSD]: Likewise.
51052         [__USE_SVID]: Likewise.
51054         * Makefile (subdir_targets): Remove subdir_lint.out.
51056         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51057         (do-tst-printf): Likewise.
51058         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51059         $(objpfx)tst-printf.out.
51061         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51063         * Makerules (check-abi-%): Change target to
51064         $(objpfx)check-abi-%.out.
51065         (check-abi target): Update dependencies.
51066         (check-abi-pattern variable): Redirect output of diff to $@.
51067         (check-abi variable): Likewise.
51068         * elf/Makefile (check-abi): Update dependencies.
51070         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51071         unused.
51072         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51073         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51074         subnormal range.
51075         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51076         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51077         value has largest subnormal exponent.
51078         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51079         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51080         * sysdeps/aarch64/soft-fp/sfp-machine.h
51081         (_FP_TININESS_AFTER_ROUNDING): New macro.
51082         * sysdeps/alpha/soft-fp/sfp-machine.h
51083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51084         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51085         Likewise.
51086         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51087         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51088         * sysdeps/mips/soft-fp/sfp-machine.h
51089         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51090         * sysdeps/powerpc/soft-fp/sfp-machine.h
51091         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51092         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51093         Likewise.
51094         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51096         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51098         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51099         Likewise.
51101 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51103         [BZ #16545]
51104         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51105         model 1.
51107 2014-02-12  Richard Henderson  <rth@redhat.com>
51109         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51110         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51111         * sysdeps/unix/sysv/linux/alpha: Move directory from
51112         ports/sysdeps/unix/sysv/linux/alpha.
51113         * README: Update listing for alpha-*-linux-gnu.
51115 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51117         * include/features.h: Update comment documenting feature test
51118         macros.
51119         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51120         _DEFAULT_SOURCE.
51121         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51122         (_SVID_SOURCE): Likewise.
51123         (_DEFAULT_SOURCE): Update description of default features.
51124         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51125         with _GNU_SOURCE.
51126         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51127         (S_ISVTX): Likewise.
51128         * manual/math.texi (Mathematical Constants): Likewise.
51129         * manual/signal.texi (Interrupted Primitives): Likewise.
51130         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51131         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51132         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51133         Don't refer to _SVID_SOURCE in warning text.
51135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51137         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51138         already defined.
51139         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51140         * sysdeps/mips/dl-lookup.c: Remove.
51141         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51143 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51145         [BZ #16447]
51146         * math/auto-libm-test-in: Add testcase for expl.
51147         * math/auto-libm-test-out: Regenerate.
51148         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51149         calculation of unsafe.
51150         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51152 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51154         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51155         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51156         ports/sysdeps/unix/sysv/linux/aarch64.
51157         * README: Update listing for aarch64*-*-linux-gnu.
51159 2014-02-11  Will Newton  <will.newton@linaro.org>
51161         * manual/probes.texi (Mathematical Function Probes): Use
51162         "triggered" instead of "hit".
51164         * manual/probes.texi (Internal Probes): Add documentation
51165         of setjmp, longjmp and longjmp_target probes.
51167         * include/stap-probe.h: Add comment about probe argument
51168         format.
51170         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51171         definition.  (tr_where, tr_freehook, tr_mallochook,
51172         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51174 2014-02-11  David S. Miller  <davem@davemloft.net>
51176         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51177         processing int_tests.
51179 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51181         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51182         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51183         * sysdeps/unix/sysv/linux/mips: Move directory from
51184         ports/sysdeps/unix/sysv/linux/mips.
51185         * README: Update listing for mips-*-linux-gnu and
51186         mips64-*-linux-gnu.
51188 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51190         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51191         * sysdeps/unix/sysv/linux/m68k: Move directory from
51192         ports/sysdeps/unix/sysv/linux/m68k.
51193         * README: Update listing for m68k-*-linux-gnu.
51195 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51197         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51198         * sysdeps/unix/sysv/linux/generic: Move directory from
51199         ports/sysdeps/unix/sysv/linux/generic.
51200         * sysdeps/unix/sysv/linux/tile: Move directory from
51201         ports/sysdeps/unix/sysv/linux/tile.
51202         * README: Update listing for tile*-*-linux-gnu.
51204 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51206         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51207         __builtin_expect.
51208         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51209         * catgets/open_catalog.c (__open_catalog): Likewise.
51210         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51211         * debug/confstr_chk.c: Likewise.
51212         * debug/fread_chk.c (__fread_chk): Likewise.
51213         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51214         * debug/getgroups_chk.c: Likewise.
51215         * debug/mbsnrtowcs_chk.c: Likewise.
51216         * debug/mbsrtowcs_chk.c: Likewise.
51217         * debug/mbstowcs_chk.c: Likewise.
51218         * debug/memcpy_chk.c: Likewise.
51219         * debug/memmove_chk.c: Likewise.
51220         * debug/mempcpy_chk.c: Likewise.
51221         * debug/memset_chk.c: Likewise.
51222         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51223         * debug/strcat_chk.c (__strcat_chk): Likewise.
51224         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51225         * debug/strncat_chk.c (__strncat_chk): Likewise.
51226         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51227         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51228         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51229         * debug/wcpncpy_chk.c: Likewise.
51230         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51231         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51232         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51233         * debug/wcsncpy_chk.c: Likewise.
51234         * debug/wcsnrtombs_chk.c: Likewise.
51235         * debug/wcsrtombs_chk.c: Likewise.
51236         * debug/wcstombs_chk.c: Likewise.
51237         * debug/wmemcpy_chk.c: Likewise.
51238         * debug/wmemmove_chk.c: Likewise.
51239         * debug/wmempcpy_chk.c: Likewise.
51240         * debug/wmemset_chk.c: Likewise.
51241         * dirent/scandirat.c (SCANDIRAT): Likewise.
51242         * dlfcn/dladdr1.c (dladdr1): Likewise.
51243         * dlfcn/dladdr.c (dladdr): Likewise.
51244         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51245         * dlfcn/dlerror.c (__dlerror): Likewise.
51246         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51247         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51248         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51249         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51250         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51251         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51252         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51253         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51254         Likewise.
51255         * elf/dl-conflict.c: Likewise.
51256         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51257         * elf/dl-dst.h: Likewise.
51258         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51259         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51260         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51261         * elf/dl-init.c (call_init, _dl_init): Likewise.
51262         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51263         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51264         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51265         Likewise.
51266         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51267         Likewise.
51268         * elf/dl-minimal.c (__libc_memalign): Likewise.
51269         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51270         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51271         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51272         * elf/dl-sym.c (do_sym): Likewise.
51273         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51274         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51275         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51276         * elf/dl-writev.h (_dl_writev): Likewise.
51277         * elf/ldconfig.c (search_dir): Likewise.
51278         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51279         (dl_main): Likewise.
51280         * elf/setup-vdso.h (setup_vdso): Likewise.
51281         * grp/compat-initgroups.c (compat_call): Likewise.
51282         * grp/fgetgrent.c (fgetgrent): Likewise.
51283         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51284         * grp/putgrent.c (putgrent): Likewise.
51285         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51286         Likewise.
51287         * hurd/hurdinit.c: Likewise.
51288         * iconvdata/8bit-gap.c (struct): Likewise.
51289         * iconvdata/ansi_x3.110.c : Likewise.
51290         * iconvdata/big5.c : Likewise.
51291         * iconvdata/big5hkscs.c : Likewise.
51292         * iconvdata/cp1255.c: Likewise.
51293         * iconvdata/cp1258.c : Likewise.
51294         * iconvdata/cp932.c : Likewise.
51295         * iconvdata/euc-cn.c: Likewise.
51296         * iconvdata/euc-jisx0213.c : Likewise.
51297         * iconvdata/euc-jp.c: Likewise.
51298         * iconvdata/euc-jp-ms.c : Likewise.
51299         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51300         * iconvdata/gb18030.c : Likewise.
51301         * iconvdata/gbbig5.c (const): Likewise.
51302         * iconvdata/gbgbk.c: Likewise.
51303         * iconvdata/gbk.c : Likewise.
51304         * iconvdata/ibm1364.c : Likewise.
51305         * iconvdata/ibm930.c : Likewise.
51306         * iconvdata/ibm932.c: Likewise.
51307         * iconvdata/ibm933.c : Likewise.
51308         * iconvdata/ibm935.c : Likewise.
51309         * iconvdata/ibm937.c : Likewise.
51310         * iconvdata/ibm939.c : Likewise.
51311         * iconvdata/ibm943.c: Likewise.
51312         * iconvdata/iso_11548-1.c: Likewise.
51313         * iconvdata/iso-2022-cn.c : Likewise.
51314         * iconvdata/iso-2022-cn-ext.c : Likewise.
51315         * iconvdata/iso-2022-jp-3.c: Likewise.
51316         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51317         * iconvdata/iso-2022-kr.c : Likewise.
51318         * iconvdata/iso646.c (gconv_end): Likewise.
51319         * iconvdata/iso_6937-2.c : Likewise.
51320         * iconvdata/iso_6937.c : Likewise.
51321         * iconvdata/iso8859-1.c: Likewise.
51322         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51323         * iconvdata/shift_jisx0213.c : Likewise.
51324         * iconvdata/sjis.c : Likewise.
51325         * iconvdata/t.61.c : Likewise.
51326         * iconvdata/tcvn5712-1.c : Likewise.
51327         * iconvdata/tscii.c: Likewise.
51328         * iconvdata/uhc.c : Likewise.
51329         * iconvdata/unicode.c (gconv_end): Likewise.
51330         * iconvdata/utf-16.c (gconv_end): Likewise.
51331         * iconvdata/utf-32.c (gconv_end): Likewise.
51332         * iconvdata/utf-7.c (base64): Likewise.
51333         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51334         * iconv/gconv_close.c (__gconv_close): Likewise.
51335         * iconv/gconv_open.c (__gconv_open): Likewise.
51336         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51337         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51338         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51339         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51340         (ucs4le_internal_loop_single): Likewise.
51341         * iconv/iconv.c (iconv): Likewise.
51342         * iconv/iconv_close.c: Likewise.
51343         * iconv/loop.c (SINGLE): Likewise.
51344         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51345         * include/atomic.h: Likewise.
51346         * inet/inet6_option.c (option_alloc): Likewise.
51347         * intl/bindtextdom.c (set_binding_values): Likewise.
51348         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51349         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51350         * intl/localealias.c (read_alias_file): Likewise.
51351         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51352         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51353         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51354         * libio/fmemopen.c (fmemopen): Likewise.
51355         * libio/iofgets.c (_IO_fgets): Likewise.
51356         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51357         * libio/iofgetws.c (fgetws): Likewise.
51358         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51359         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51360         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51361         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51362         * locale/findlocale.c (_nl_find_locale): Likewise.
51363         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51364         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51365         Likewise.
51366         * locale/setlocale.c (setlocale): Likewise.
51367         * login/programs/pt_chown.c (main): Likewise.
51368         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51369         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51370         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51371         (mmap, mmap64, mremap, munmap): Likewise.
51372         * math/e_exp2l.c: Likewise.
51373         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51374         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51375         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51376         * math/s_catan.c (__catan): Likewise.
51377         * math/s_catanf.c (__catanf): Likewise.
51378         * math/s_catanh.c (__catanh): Likewise.
51379         * math/s_catanhf.c (__catanhf): Likewise.
51380         * math/s_catanhl.c (__catanhl): Likewise.
51381         * math/s_catanl.c (__catanl): Likewise.
51382         * math/s_ccosh.c (__ccosh): Likewise.
51383         * math/s_ccoshf.c (__ccoshf): Likewise.
51384         * math/s_ccoshl.c (__ccoshl): Likewise.
51385         * math/s_cexp.c (__cexp): Likewise.
51386         * math/s_cexpf.c (__cexpf): Likewise.
51387         * math/s_cexpl.c (__cexpl): Likewise.
51388         * math/s_clog10.c (__clog10): Likewise.
51389         * math/s_clog10f.c (__clog10f): Likewise.
51390         * math/s_clog10l.c (__clog10l): Likewise.
51391         * math/s_clog.c (__clog): Likewise.
51392         * math/s_clogf.c (__clogf): Likewise.
51393         * math/s_clogl.c (__clogl): Likewise.
51394         * math/s_csin.c (__csin): Likewise.
51395         * math/s_csinf.c (__csinf): Likewise.
51396         * math/s_csinh.c (__csinh): Likewise.
51397         * math/s_csinhf.c (__csinhf): Likewise.
51398         * math/s_csinhl.c (__csinhl): Likewise.
51399         * math/s_csinl.c (__csinl): Likewise.
51400         * math/s_csqrt.c (__csqrt): Likewise.
51401         * math/s_csqrtf.c (__csqrtf): Likewise.
51402         * math/s_csqrtl.c (__csqrtl): Likewise.
51403         * math/s_ctan.c (__ctan): Likewise.
51404         * math/s_ctanf.c (__ctanf): Likewise.
51405         * math/s_ctanh.c (__ctanh): Likewise.
51406         * math/s_ctanhf.c (__ctanhf): Likewise.
51407         * math/s_ctanhl.c (__ctanhl): Likewise.
51408         * math/s_ctanl.c (__ctanl): Likewise.
51409         * math/w_pow.c: Likewise.
51410         * math/w_powf.c: Likewise.
51411         * math/w_powl.c: Likewise.
51412         * math/w_scalb.c (sysv_scalb): Likewise.
51413         * math/w_scalbf.c (sysv_scalbf): Likewise.
51414         * math/w_scalbl.c (sysv_scalbl): Likewise.
51415         * misc/error.c (error_tail): Likewise.
51416         * misc/pselect.c (__pselect): Likewise.
51417         * nis/nis_callback.c (__nis_create_callback): Likewise.
51418         * nis/nis_call.c (__nisfind_server): Likewise.
51419         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51420         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51421         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51422         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51423         * nis/nis_lookup.c (nis_lookup): Likewise.
51424         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51425         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51426         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51427         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51428         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51429         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51430         * nis/nss_compat/compat-initgroups.c (add_group)
51431         (internal_getgrent_r): Likewise.
51432         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51433         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51434         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51435         (internal_getspnam_r): Likewise.
51436         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51437         (_nss_nis_getaliasbyname_r): Likewise.
51438         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51439         (_nss_nis_getntohost_r): Likewise.
51440         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51441         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51442         (_nss_nis_getgrgid_r): Likewise.
51443         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51444         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51445         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51446         (_nss_nis_gethostbyname4_r): Likewise.
51447         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51448         (initgroups_netid): Likewise.
51449         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51450         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51451         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51452         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51453         (_nss_nis_getprotobynumber_r): Likewise.
51454         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51455         (_nss_nis_getsecretkey): Likewise.
51456         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51457         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51458         (_nss_nis_getpwuid_r): Likewise.
51459         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51460         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51461         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51462         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51463         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51464         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51465         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51466         Likewise.
51467         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51468         (_nss_nisplus_getntohost_r): Likewise.
51469         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51470         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51471         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51472         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51473         Likewise.
51474         * nis/nss_nisplus/nisplus-initgroups.c
51475         (_nss_nisplus_initgroups_dyn): Likewise.
51476         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51477         (_nss_nisplus_getnetbyaddr_r): Likewise.
51478         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51479         (_nss_nisplus_getprotobynumber_r): Likewise.
51480         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51481         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51482         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51483         Likewise.
51484         * nis/nss_nisplus/nisplus-service.c
51485         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51486         (_nss_nisplus_getservbyport_r): Likewise.
51487         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51488         (_nss_nisplus_getspnam_r): Likewise.
51489         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51490         Likewise.
51491         * nscd/aicache.c (addhstaiX): Likewise.
51492         * nscd/cache.c (cache_search, prune_cache): Likewise.
51493         * nscd/connections.c (register_traced_file, send_ro_fd)
51494         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51495         (main_loop_epoll): Likewise.
51496         * nscd/grpcache.c (addgrbyX): Likewise.
51497         * nscd/hstcache.c (addhstbyX): Likewise.
51498         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51499         * nscd/mem.c (gc, mempool_alloc): Likewise.
51500         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51501         (addinnetgrX): Likewise.
51502         * nscd/nscd-client.h (__nscd_acquire_maplock)
51503         (__nscd_drop_map_ref): Likewise.
51504         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51505         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51506         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51507         Likewise.
51508         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51509         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51510         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51511         (__nscd_get_map_ref): Likewise.
51512         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51513         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51514         Likewise.
51515         * nscd/pwdcache.c (addpwbyX): Likewise.
51516         * nscd/selinux.c (preserve_capabilities): Likewise.
51517         * nscd/servicescache.c (addservbyX): Likewise.
51518         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51519         * posix/fnmatch.c (fnmatch): Likewise.
51520         * posix/getopt.c (_getopt_internal_r): Likewise.
51521         * posix/glob.c (glob, glob_in_dir): Likewise.
51522         * posix/wordexp.c (exec_comm_child): Likewise.
51523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51524         (getanswer_r, gaih_getanswer_slice): Likewise.
51525         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51526         * resolv/res_init.c: Likewise.
51527         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51528         * resolv/res_query.c (__libc_res_nquery): Likewise.
51529         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51530         Likewise.
51531         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51532         * stdio-common/perror.c (perror): Likewise.
51533         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51534         * stdio-common/tmpnam.c (tmpnam): Likewise.
51535         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51536         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51537         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51538         Likewise.
51539         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51540         * stdlib/putenv.c (putenv): Likewise.
51541         * stdlib/setenv.c (__add_to_environ): Likewise.
51542         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51543         * stdlib/strtol_l.c (INTERNAL): Likewise.
51544         * string/memmem.c (memmem): Likewise.
51545         * string/strerror.c (strerror): Likewise.
51546         * string/strnlen.c (__strnlen): Likewise.
51547         * string/test-memmem.c (simple_memmem): Likewise.
51548         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51549         * sunrpc/pm_getport.c (__get_socket): Likewise.
51550         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51551         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51552         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51553         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51554         Likewise.
51555         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51556         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51557         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51558         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51559         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51560         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51561         Likewise.
51562         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51563         Likewise.
51564         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51565         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51567         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51568         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51570         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51571         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51572         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51573         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51574         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51575         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51576         Likewise.
51577         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51578         Likewise.
51579         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51580         Likewise.
51581         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51582         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51583         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51584         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51585         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51586         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51587         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51588         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51590         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51591         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51593         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51594         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51596         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51597         Likewise.
51598         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51599         Likewise.
51600         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51601         Likewise.
51602         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51603         Likewise.
51604         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51606         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51607         Likewise.
51608         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51609         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51610         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51611         * sysdeps/posix/sleep.c: Likewise.
51612         * sysdeps/posix/tempname.c: Likewise.
51613         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51614         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51615         Likewise.
51616         * sysdeps/powerpc/powerpc32/dl-machine.h
51617         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51618         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51620         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51621         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51622         Likewise.
51623         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51625         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51627         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51628         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51629         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51630         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51631         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51632         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51633         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51634         (elf_machine_lazy_rel): Likewise.
51635         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51637         (elf_machine_lazy_rel): Likewise.
51638         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51639         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51640         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51641         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51642         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51643         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51644         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51646         Likewise.
51647         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51648         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51649         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51650         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51651         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51652         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51653         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51654         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51655         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51656         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51657         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51658         Likewise.
51659         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51660         (__posix_fallocate64_l64): Likewise.
51661         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51662         (posix_fallocate): Likewise.
51663         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51664         Likewise.
51665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51666         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51667         (getifaddrs_internal): Likewise.
51668         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51669         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51670         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51671         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51672         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51673         (__posix_fallocate64_l64): Likewise.
51674         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51675         Likewise.
51676         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51677         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51678         (__get_clockfreq): Likewise.
51679         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51680         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51681         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51684         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51685         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51686         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51687         Likewise.
51688         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51689         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51690         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51691         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51692         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51693         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51694         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51695         Likewise.
51696         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51697         (posix_fallocate): Likewise.
51698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51699         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51700         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51701         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51702         (elf_machine_rela, elf_machine_rela_relative)
51703         (elf_machine_lazy_rel): Likewise.
51704         * time/asctime.c (asctime_internal): Likewise.
51705         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51706         * time/tzset.c (__tzset_parse_tz): Likewise.
51707         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51708         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51709         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51710         * wcsmbs/wcsmbsload.h: Likewise.
51712         [BZ #15894]
51713         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51715         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51716         (arena_get2): Remove THREAD_STATS conditionals.
51717         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51718         (__malloc_stats, int): Likewise.
51720 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51722         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51723         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51725         * manual/setjmp.texi: Fix typos/grammar errors.
51727         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51728         Only return early when n is <= 0.  Delete unused return statement.
51730         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51731         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51732         * debug/tst-longjmp_chk3.c: New file.
51734         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51735         (test_main): Replace code with set_fortify_handler call.
51736         * debug/test-strcpy_chk.c: Likewise.
51737         * debug/tst-chk1.c: Likewise.
51738         * debug/tst-longjmp_chk.c: Likewise.
51739         * test-skeleton.c: Include fcntl.h & paths.h
51740         (set_fortify_handler): Define.
51742         * debug/tst-longjmp_chk.c: Add header comment and include
51743         ../test-skeleton.c.
51744         (do_test): Mark static.
51745         (TEST_FUNCTION): Define.
51747         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51748         (IP_PMTUDISC_INTERFACE): Likewise.
51749         (IP_MULTICAST_IF): Likewise.
51750         (IP_MULTICAST_TTL): Likewise.
51751         (IP_MULTICAST_LOOP): Likewise.
51752         (IP_ADD_MEMBERSHIP): Likewise.
51753         (IP_DROP_MEMBERSHIP): Likewise.
51754         (IP_UNBLOCK_SOURCE): Likewise.
51755         (IP_BLOCK_SOURCE): Likewise.
51756         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51757         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51758         (IP_MSFILTER): Likewise.
51759         (MCAST_JOIN_GROUP): Likewise.
51760         (MCAST_BLOCK_SOURCE): Likewise.
51761         (MCAST_UNBLOCK_SOURCE): Likewise.
51762         (MCAST_LEAVE_GROUP): Likewise.
51763         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51764         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51765         (MCAST_MSFILTER): Likewise.
51766         (IP_MULTICAST_ALL): Likewise.
51767         (IP_UNICAST_IF): Likewise.
51769         * timezone/Makefile: Delete $(have-ksh) check.
51770         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51771         * timezone/tzselect.ksh: Add +x mode bits.
51773         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51774         (ANON_INODE_FS_MAGIC): Likewise.
51775         (BDEVFS_MAGIC): Likewise.
51776         (BINFMTFS_MAGIC): Likewise.
51777         (BTRFS_TEST_MAGIC): Likewise.
51778         (CRAMFS_MAGIC_WEND): Likewise.
51779         (DEBUGFS_MAGIC): Likewise.
51780         (ECRYPTFS_SUPER_MAGIC): Likewise.
51781         (EXT3_SUPER_MAGIC): Likewise.
51782         (EXT4_SUPER_MAGIC): Likewise.
51783         (FUTEXFS_SUPER_MAGIC): Likewise.
51784         (HOSTFS_SUPER_MAGIC): Likewise.
51785         (HUGETLBFS_MAGIC): Likewise.
51786         (MINIX3_SUPER_MAGIC): Likewise.
51787         (MTD_INODE_FS_MAGIC): Likewise.
51788         (NILFS_SUPER_MAGIC): Likewise.
51789         (OPENPROM_SUPER_MAGIC): Likewise.
51790         (PIPEFS_MAGIC): Likewise.
51791         (PSTOREFS_MAGIC): Likewise.
51792         (QNX6_SUPER_MAGIC): Likewise.
51793         (RAMFS_MAGIC): Likewise.
51794         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51795         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51796         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51797         (SECURITYFS_MAGIC): Likewise.
51798         (SELINUX_MAGIC): Likewise.
51799         (SMACK_MAGIC): Likewise.
51800         (SOCKFS_MAGIC): Likewise.
51801         (SQUASHFS_MAGIC): Likewise.
51802         (STACK_END_MAGIC): Likewise.
51803         (TMPFS_MAGIC): Likewise.
51804         (USBDEVICE_SUPER_MAGIC): Likewise.
51805         (V9FS_MAGIC): Likewise.
51806         (XENFS_SUPER_MAGIC): Likewise.
51807         (CRAMFS_MAGIC): Fix typo in comment.
51808         (EXT2_SUPER_MAGIC): Update comment.
51809         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51811 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51813         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51814         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51815         * sysdeps/unix/sysv/linux/arm: Move directory from
51816         ports/sysdeps/unix/sysv/linux/arm.
51817         * README: Update listing for arm-*-linux-gnueabi.
51819         * README: Remove mention of am33.
51821 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51823         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51824         than the comma operator, to avoid "rhs of comma has no effect"
51825         compiler warnings.
51826         (__sigfillset, __sigandset, __sigorset): Likewise.
51827         * include/signal.h (__sigemptyset): Likewise.
51828         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51830 2014-02-07  Allan McRae  <allan@archlinux.org>
51832         * version.h (RELEASE): Set to "development".
51833         (VERSION): Set to "2.19.90"
51834         * NEWS: Add 2.20 section.
51836 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51838         [BZ #16529]
51839         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51841 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51843         * manual/contrib.texi: Update entry for Carlos O'Donell,
51844         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51846 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51848         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51850         * sysdeps/unix/sysv/linux/kernel-features.h
51851         [__LINUX_KERNEL_VERSION >= 0x020621]
51852         (__ASSUME_PROC_PID_TASK_COMM): Define.
51854 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51856         [BZ #16398]
51857         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51858         conversion when destination buffer does not have enough space.
51859         * libio/tst-ftell-partial-wide.c: New test case.
51860         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51862         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51863         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51864         Leonard and Allan McRae.
51866 2014-02-04  David S. Miller  <davem@davemloft.net>
51868         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51869         32-bit.
51871 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51874         New file
51875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51876         New file
51877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51878         New file.
51879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51880         New file.
51881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51882         New file.
51883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51884         New file.
51885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51886         New file.
51887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51888         New file.
51889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51890         New file.
51891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51892         New file.
51893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51894         New file.
51895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51896         New file.
51897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51898         New file.
51900 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51902         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51903         * shlib-versions: Likewise.
51905 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51908         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51909         (abilist-pattern): New variable, set to %-le.abilist.
51911         * Makerules (abilist-pattern): New variable.
51912         (vpath): Use $(abilist-pattern) in place of %.abilist.
51913         (check-abi-% pattern rule): Likewise.
51914         (check-abi, update-abi): Likewise.
51916 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51920 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51922         * manual/startup.texi: Add next, previous, and top entries for
51923         the `Program Arguments' and `Environment Variables' nodes.
51925 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51927         * manual/macros.texi: Add comments before MTASC-safety macros.
51929         * manual/users.texi: Document MTASC-safety properties.
51931         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51932         (pthread_getspecific, pthread_setspecific): Format with
51933         @deftypefun, and add @safety note.
51934         * manual/signal.texi: Move comments that analyze the above
51935         functions to their home place.
51937 2014-02-03  Allan McRae  <allan@archlinux.org>
51939         * po/sl.po: Update Slovenian translation from translation project.
51941 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51943         * manual/time.texi (timegm): Add missing blank after @c.
51944         Reported by Joseph Myers <joseph@codesourcery.com>.
51946 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51948         * manual/check-safety.sh: New.
51949         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51951         * manual/terminal.texi: Document MTASC-safety properties.
51953         * manual/filesys.texi: Document MTASC-safety properties.
51955         * manual/errno.texi: Document MTASC-safety properties.
51957         * manual/intro.texi: Document safety identifiers and
51958         conditionals.
51960         * manual/string.texi (wcstok): Fix prototype.
51961         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51963         * manual/time.texi: Document MTASC-safety properties.
51965         * manual/string.texi: Document MTASC-safety properties.
51967         * manual/threads.texi: Document MTASC-safety properties.
51969         * manual/stdio.texi: Document MTASC-safety properties.
51971         * manual/syslog.texi: Document MTASC-safety properties.
51973         * manual/sysinfo.texi: Document MTASC-safety properties.
51975         * manual/startup.texi: Document MTASC-safety properties.
51977         * manual/socket.texi: Document MTASC-safety properties.
51979         * manual/signal.texi: Document MTASC-safety properties.
51981 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51983         * manual/setjmp.texi: Document MTASC-safety properties.
51985         * manual/search.texi: Document MTASC-safety properties.
51987         * manual/resource.texi: Document MTASC-safety properties.
51989         * manual/process.texi: Document MTASC-safety properties.
51991         * manual/platform.texi: Document MTASC-safety properties.
51993         * manual/pipe.texi: Document MTASC-safety properties.
51995         * manual/pattern.texi: Document MTASC-safety properties.
51997         * manual/message.texi: Document MTASC-safety properties.
51999         [BZ #12751]
52000         * manual/memory.texi: Document MTASC-safety properties.
52002         * manual/math.texi: Document MTASC-safety properties.
52004         * manual/locale.texi: Document MTASC-safety properties.
52006         * manual/llio.texi: Document MTASC-safety properties.
52008         * manual/libdl.texi: New.
52010         * manual/lang.texi: Document MTASC-safety properties.
52012         * manual/job.texi: Document MTASC-safety properties.
52014         * manual/getopt.texi: Document MTASC-safety properties.
52016         * manual/ctype.texi: Document MTASC-safety properties.
52018 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52020         [BZ #16046]
52021         * csu/libc-tls.c (static_map): Remove variable.
52022         (__libc_setup_tls): Use main executable's link map for TLS data.
52023         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52024         casing for LM_ID_BASE and GL(dl_nns).
52025         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52026         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52027         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52028         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52029         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52030         member.
52031         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52032         l_phnum members.
52034 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52036         * manual/debug.texi: Document MTASC-safety properties.
52038 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52040         [BZ #16510]
52041         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52042         of __x86_64__ when disabling x87 inline functions.
52044 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52046         * manual/charset.texi: Document MTASC-safety properties.
52048         * manual/crypt.texi: Document MTASC-safety properties.
52050         * manual/conf.texi: Document MTASC-safety properties.
52052         * manual/arith.texi: Document MTASC-safety properties.
52054         * manual/argp.texi: Document MTASC-safety properties.
52056         * manual/macros.texi: Introduce macros to document multi
52057         thread, asynchronous signal and asynchronous cancellation
52058         safety properties.
52059         * manual/intro.texi: Introduce the properties themselves.
52061 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52063         * sysdeps/sh/sh4/Makefile: New file.
52065 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52067         * math/gen-libm-test.pl ($srcdir): New variable.
52068         ($auto_input): Use it.
52070 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52072         [BZ #16506]
52073         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52074         access beyond array bounds when parsing netgroups file.
52076         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52077         the old buffer before realloc.
52079 2014-01-27  Allan McRae  <allan@archlinux.org>
52081         * po/fr.po: Update French translation from translation project.
52083 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52085         * sysdeps/sh/libm-test-ulps: Regenerate.
52087 2014-01-24  David S. Miller  <davem@davemloft.net>
52089         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52091 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52093         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52094         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52096 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52098         [BZ #16474]
52099         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52100         string pointers after reallocation.
52102 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52104         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52105         __SH4A__ instead of __SH_FPU_ANY__.
52107 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52109         * sysdeps/sh/fpu_control.h: New file.
52110         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52111         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52112         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52113         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52114         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52115         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52116         * sysdeps/sh/sys/ucontext.h: Remove.
52117         * sysdeps/sh/sys: Remove directory.
52119 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52121         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52122         s390/sys/ucontext.h.
52123         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52124         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52126 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52128         [BZ #15605]
52129         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52131 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52133         [BZ #16431]
52134         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52135         Adjust the vDSO correctly for internal calls.
52136         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52138 2014-01-20  Allan McRae  <allan@archlinux.org>
52140         * po/ca.po: Update Catalan translation from translation project.
52142 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52144         * sysdeps/s390/sotruss-lib.c: New file.
52146 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52148         [BZ #16430]
52149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52150         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52151         local calls issues by not having a PLT stub required for IFUNC calls.
52152         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52154 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52156         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52157         * math/test-fpucw-static.c: Likewise.
52159 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52161         [BZ #16453]
52162         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52164 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52166         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52167         implementation for powerpc.
52169 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52171         [BZ #14782]
52172         * sysdeps/posix/system.c (__libc_system): Do not enable
52173         asynchronous cancellation.
52175 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52177         [BZ #16427]
52178         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52179         handling only for numbers special also in the IEEE case.
52181 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52185 2014-01-11  Allan McRae  <allan@archlinux.org>
52187         * po/bg.po: Update Bulgarian translation from translation project.
52189         * po/de.po: Update German translation from translation project.
52191 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52193         * sysdeps/generic/gcc-compat.h: New file.
52195 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52197         * benchtests/asin-inputs: Correct slow inputs.
52198         * benchtests/acos-inputs: Likewise.
52200 2014-01-10  Allan McRae  <allan@archlinux.org>
52202         * po:sv.po: Update Swedish translation from translation project.
52204         * po/vi.po: Update Vietnamese translation from translation project.
52206         * po/eo.po: Update Esperanto translation from translation project.
52208         * po/cs.po: Update Czech translation from translation project.
52210         * po/nl.po: Update Dutch translation from translation project.
52212         * po/pl.po: Update Polish translation from translation project.
52214         * po/ru.po: Update Russian translation from translation project.
52216         * po/uk.po: Update Ukrainian translation from translation project.
52218 2014-01-08  Brooks Moses  <bmoses@google.com>
52220         * elf/dl-load.c: Fix comment typo.
52222 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52224         * po/header.pot: Rename to...
52225         * po/pot.header: ... this.
52226         * po/Makefile: Use pot.header.
52228 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52229             Maxim Kuvyrkov  <maxim@kugelworks.com>
52231         [BZ #16394]
52232         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52233         SRC and DEST against LEN.
52235 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52237         [BZ #16414]
52238         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52239         implementation.
52240         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52242 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52246 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52248         [BZ #16408]
52249         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52250         for large positive arguments.
52252 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52254         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52256         * math/auto-libm-test-in: Mark various tests with
52257         xfail-rounding:ldbl-128ibm.
52258         * math/auto-libm-test-out: Regenerated.
52260         [BZ #16407]
52261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52262         Increase overflow threshold.
52264 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52266         [BZ #14286]
52267         * stdio-common/vfprintf.c: Check for integer overflow.
52269 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52271         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52272         the first argument and return value of __tls_get_addr_internal.
52274 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52276         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52277         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52279 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52281         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52282         * sysdeps/s390/rtld-global-offsets.sym: New file.
52283         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52284         GLIBC_2.19 symbol.
52285         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52287         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52288         ... this.
52289         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52290         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52291         ... this.
52292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52293         Regenerate.
52294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52295         Regenerate.
52296         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52297         halfs of GPRs for high_gprs contexts.
52298         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52299         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52300         field.
52301         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52302         uc_flags field.
52303         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52304         64 bit versions:
52305         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52306         for high GPRs (uc_high_gprs) and for future extensions
52307         (__reserved).
52308         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52309         for future extensions (__reserved).
52310         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52311         64 bit versions:
52312         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52313         SC_HIGHGPRS offset definition.
52314         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52315         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52317         * Versions.def: Add GLIBC_2.19 for libpthread.
52318         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52319         siglongjmp for libpthread with GLIBC_2.19 symver.
52320         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52321         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52322         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52323         * sysdeps/s390/__longjmp.c: New file.
52324         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52325         * sysdeps/s390/longjmp.c: New file.
52326         * sysdeps/s390/setjmp.S: New file.
52327         * sysdeps/s390/sigjmp.S: New file.
52328         * sysdeps/s390/v1-longjmp.c: New file.
52329         * sysdeps/s390/v1-setjmp.h: New file.
52330         * sysdeps/s390/v1-sigjmp.c: New file.
52331         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52332         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52333         GLIBC_2.19 version.
52334         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52335         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52336         versioned symbols for ____longjmp_chk.
52337         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52338         Likewise.
52339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52340         Regenerate.
52341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52342         Regenerate.
52343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52344         Regenerate.
52345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52346         Regenerate.
52347         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52348         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52349         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52350         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52351         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52352         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52353         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52354         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52355         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52356         * sysdeps/s390/rtld-__longjmp.c: New file.
52357         * sysdeps/s390/rtld-setjmp.S: New file.
52359 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52361         [BZ #16400]
52362         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52363         Return -__logl (x) for small positive arguments without evaluating
52364         a polynomial.
52366 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52368         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52369         Rename to ...
52370         (__ptrace_peeksiginfo_args): ... this.
52371         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52372         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52375 2014-01-06  Allan McRae  <allan@archlinux.org>
52377         * inet/netinet/in.h: Fix typo in comment.
52379 2014-01-05  Andreas Jaeger  <aj@suse.de>
52381         * sysdeps/i386/fpu/libm-test-ulps: Update.
52383 2014-01-05  Allan McRae  <allan@archlinux.org>
52385         * po/libc.pot: Regenerated.
52387         * malloc/memusagestat.c: Fix gettext call formatting.
52389 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52391         * nscd/nscd.c: Improve usage() output.
52393 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52395         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52396         * sysdeps/unix/sysv/linux/configure: Regenerated.
52397         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52398         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52400 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52402         [BZ #16390]
52403         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52404         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52406 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52408         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52409         extra tokens at end of #undef directive.
52410         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52411         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52414 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52416         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52418         * math/auto-libm-test-in: Mark various tests with
52419         xfail-rounding:ldbl-128ibm.
52420         * math/auto-libm-test-out: Regenerated.
52422 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52424         [BZ #16386]
52425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52426         numbers with subnormal high part when calculating exponent.
52428         [BZ #16385]
52429         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52430         fabs.
52432         [BZ #16384]
52433         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52434         M_LN2l.
52435         (__ieee754_acoshl): Use __log1pl not __log1p.
52437 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52439         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52440         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52441         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52442         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52443         (reused_arena, arena_get2): Convert to GNU style.
52444         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52445         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52446         (memalign_check, __malloc_set_state): Likewise.
52447         * malloc/mallocbug.c (main): Likewise.
52448         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52449         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52450         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52451         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52452         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52453         (__posix_memalign, malloc_info): Likewise.
52454         * malloc/malloc.h: Likewise.
52455         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52456         (mallochook, memalignhook, reallochook, mabort): Likewise.
52457         * malloc/mcheck.h: Likewise.
52458         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52459         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52460         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52461         * malloc/morecore.c (__default_morecore): Likewise.
52462         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52463         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52464         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52465         (print_and_abort): Likewise.
52466         * malloc/obstack.h: Likewise.
52467         * malloc/set-freeres.c (__libc_freeres): Likewise.
52468         * malloc/tst-mallocstate.c (main): Likewise.
52469         * malloc/tst-mtrace.c (main): Likewise.
52470         * malloc/tst-realloc.c (do_test): Likewise.
52472 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52474         [BZ #16366]
52475         * nscd/netgroupcache.c (do_notfound): New function.
52476         (addgetnetgrentX): Use it.
52478         [BZ # 16365]
52479         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52480         NSS_STATUS_NOTFOUND.
52482 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52484         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52487 2014-01-01  Allan McRae  <allan@archlinux.org>
52489         * scripts/update-copyrights: Update configure input file suffix.
52491         * NEWS: Update copyright year.
52492         * catgets/gencat.c: Likewise.
52493         * csu/version.c: Likewise.
52494         * debug/catchsegv.sh: Likewise.
52495         * debug/pcprofiledump.c: Likewise.
52496         * debug/xtrace.sh: Likewise.
52497         * elf/ldconfig.c: Likewise.
52498         * elf/ldd.bash.in: Likewise.
52499         * elf/pldd.c: Likewise.
52500         * elf/sotruss.ksh: Likewise.
52501         * elf/sprof.c: Likewise.
52502         * iconv/iconv_prog.c: Likewise.
52503         * iconv/iconvconfig.c: Likewise.
52504         * locale/programs/locale.c: Likewise.
52505         * locale/programs/localedef.c: Likewise.
52506         * login/programs/pt_chown.c: Likewise.
52507         * malloc/memusage.sh: Likewise.
52508         * malloc/memusagestat.c: Likewise.
52509         * malloc/mtrace.pl: Likewise.
52510         * manual/libc.texinfo: Likewise.
52511         * nscd/nscd.c: Likewise.
52512         * nss/getent.c: Likewise.
52513         * nss/makedb.c: Likewise.
52514         * posix/getconf.c: Likewise.
52515         * scripts/test-installation.pl: Likewise.
52517         * All files with FSF copyright notices: Update copyright dates
52518         using scripts/update-copyrights.
52519         * intl/plural.c: Regenerated.
52520         * locale/programs/charmap-kw.h: Likewise.
52521         * locale/programs/locfile-kw.h: Likewise.
52523 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52525         * sysdeps/unix/sysv/linux/configure: Regenerated.
52526         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52527         the linux/fanotify.h header.
52528         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52529         HAVE_LINUX_FANOTIFY_H is defined.
52531 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52533         * benchtests/cos-inputs: New inputs.
52534         * benchtests/sin-inputs: Likewise.
52536         * benchtests/atan-inputs: New inputs. Fix name of multiple
52537         precision fallback inputs.
52539         * benchtests/atanh-inputs: New inputs.
52540         * benchtests/tanh-inputs: Likewise.
52542         * benchtests/acosh-inputs: New inputs.
52543         * benchtests/asinh-inputs: Likewise.
52545         * benchtests/cosh-inputs: New inputs.
52546         * benchtests/sinh-inputs: Likewise.
52548         * benchtests/acos-inputs: Add more inputs.
52549         * benchtests/asin-inputs: Likewise.
52551 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52553         [BZ #16375]
52554         * manual/arith.texi: Fix spelling.
52555         * manual/charset.texi: Likewise.
52556         * manual/errno.texi: Likewise.
52557         * manual/filesys.texi: Likewise.
52558         * manual/lang.texi: Likewise.
52559         * manual/llio.texi: Likewise.
52560         * manual/locale.texi: Likewise.
52561         * manual/message.texi: Likewise.
52562         * manual/resource.texi: Likewise.
52563         * manual/search.texi: Likewise.
52564         * manual/setjmp.texi: Likewise.
52565         * manual/stdio.texi: Likewise.
52566         * manual/string.texi: Likewise.
52567         * manual/sysinfo.texi: Likewise.
52568         * manual/time.texi: Likewise.
52570 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52572         * po/sl.po: New file.
52574 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52576         * .gitignore: Add core/.gdbinit/.gdb_history.
52578 2013-12-27  Allan McRae  <allan@archlinux.org>
52580         [BZ #16369]
52581         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52582         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52584 2013-12-24  Brooks Moses  <bmoses@google.com>
52586         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52587         all compilers that claim C++98 compliance, not just GCC.
52588         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52589         Likewise.
52591 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52593         * NEWS: Restore accidentally deleted bug-fix entries.
52595 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52596             Ondřej Bílka  <neleai@seznam.cz>
52598         [BZ #15073]
52599         * malloc/malloc.c (_int_free): Perform sanity check only if we
52600         have_lock.
52602 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52604         [BZ #12986]
52605         * manual/stdio.texi (String Input Conversions): Clarify that character
52606         classes are not supported.
52608 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52612 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52614         [BZ #16337]
52615         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52616         Calculate results for small negative arguments directly rather
52617         than using reflection formula with special underflow handling.
52619         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52620         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52621         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52622         (fchflags): Likewise.
52623         (revoke): Likewise.
52624         (setlogin): Likewise.
52625         (sigaltstack): Likewise.
52626         (wait4): Likewise.
52627         (sigblock): Remove.
52628         (sigsetmask): Likewise.
52629         (wait3): Likewise.
52630         (waitpid): Likewise.
52631         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52632         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52633         file.
52634         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52635         * sysdeps/unix/bsd/Makefile: ... here.
52636         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52637         * sysdeps/unix/bsd/Versions: ... here.
52638         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52639         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52640         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52641         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52642         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52643         * sysdeps/unix/bsd/sigblock.c: ... here.
52644         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52645         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52646         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52647         * sysdeps/unix/bsd/sigvec.c: ... here.
52648         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52649         * sysdeps/unix/bsd/tcdrain.c: ... here.
52650         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52651         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52652         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52653         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52654         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52655         * sysdeps/unix/bsd/wait.c: ... here.
52656         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52657         * sysdeps/unix/bsd/wait3.c: ... here.
52658         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52659         * sysdeps/unix/bsd/waitpid.c: ... here.
52661 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52663         [BZ #16356]
52664         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52665         round-to-nearest for [!USE_AS_EXPM1L].
52666         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52667         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52668         more tests of exp and exp10.  Expect some exp10 tests to miss
52669         exceptions or fail in directed rounding modes.
52670         * math/auto-libm-test-out: Regenerated.
52671         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52672         (exp10_test_tonearest): New function.
52673         (exp10_towardzero_test_data): New array.
52674         (exp10_test_towardzero): New function.
52675         (exp10_downward_test_data): New array.
52676         (exp10_test_downward): New function.
52677         (exp10_upward_test_data): New array.
52678         (exp10_test_upward): New function.
52679         (main): Call the new functions.
52680         * sysdeps/i386/fpu/libm-test-ulps: Update.
52681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52683 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52685         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52686         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52687         * math/auto-libm-test-out: Regenerated.
52688         * math/libm-test.inc (acosh_test_data): Add more tests.
52689         (atanh_test_data): Likewise.
52690         (ceil_test_data): Likewise.
52691         (copysign_test_data): Likewise.
52692         * sysdeps/i386/fpu/libm-test-ulps: Update.
52693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52695         * timezone/checktab.awk: Update from tzcode 2013i.
52696         * timezone/private.h: Likewise.
52697         * timezone/scheck.c: Likewise.
52698         * timezone/tzfile.h: Likewise.
52699         * timezone/tzselect.ksh: Likewise.
52700         * timezone/zdump.c: Likewise.
52701         * timezone/zic.c: Likewise.
52703         * math/auto-libm-test-in: Add tests of cpow.
52704         * math/auto-libm-test-out: Regenerated.
52705         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52706         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52707         mpc_cc_c.
52708         (func_calc_desc): Add mpc_cc_c union field.
52709         (test_functions): Add cpow.
52710         (special_fill_2pi): New function.
52711         (special_real_inputs): Add 2pi.
52712         (calc_generic_results): Handle mpc_cc_c.
52713         * sysdeps/i386/fpu/libm-test-ulps: Update.
52714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52716         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52717         csqrt, ctan and ctanh.
52718         * math/auto-libm-test-out: Regenerated.
52719         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52720         (TEST_COND_x86): Likewise.
52721         (ccos_test_data): Use AUTO_TESTS_c_c.
52722         (ccosh_test_data): Likewise.
52723         (cexp_test_data): Likewise.
52724         (clog_test_data): Likewise.
52725         (csqrt_test_data): Likewise.
52726         (ctan_test_data): Likewise.
52727         (ctan_tonearest_test_data): Likewise.
52728         (ctan_towardzero_test_data): Likewise.
52729         (ctan_downward_test_data): Likewise.
52730         (ctan_upward_test_data): Likewise.
52731         (ctanh_test_data): Likewise.
52732         (ctanh_tonearest_test_data): Likewise.
52733         (ctanh_towardzero_test_data): Likewise.
52734         (ctanh_downward_test_data): Likewise.
52735         (ctanh_upward_test_data): Likewise.
52736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52737         mpc_c_c.
52738         (func_calc_desc): Add mpc_c_c union field.
52739         (FUNC_mpc_c_c): New macro.
52740         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52741         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52742         ctanh.
52743         (special_fill_min_subnorm_p120): New function.
52744         (special_real_inputs): Add min_subnorm_p120.
52745         (calc_generic_results): Handle mpc_c_c.
52746         * sysdeps/i386/fpu/libm-test-ulps: Update.
52747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52749 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52751         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52752         (do_sin_slow): New functions.
52753         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52754         (cslow2, csloww1, csloww2): Use the new functions.
52756         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52757         Use M to change sign of result instead of X.  Assume X is
52758         positive.
52759         (csloww1): Likewise.
52760         (__sin): Adjust.
52761         (__cos): Adjust.
52763         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52764         arguments A and DA.
52765         (__sin): Adjust.
52766         (__cos): Likewise.
52768         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52769         (__cos): Likewise.
52770         (sloww1): Don't adjust sign of DX.
52771         (csloww1): Likewise.
52772         (sloww2): Use X directly and don't adjust sign of DX.
52773         (csloww2): Likewise.
52775 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52777         * math/auto-libm-test-in: Add tests of cabs and carg.
52778         * math/auto-libm-test-out: Regenerated.
52779         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52780         (carg_test_data): Likewise.
52781         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52782         mpc_c_f.
52783         (func_calc_desc): Add mpc_c_f union field.
52784         (test_functions): Add cabs and carg.
52785         (calc_generic_results): Handle mpc_c_f.
52787         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52788         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52789         as a macro and a compat symbol.
52790         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52791         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52792         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52793         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52794         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52795         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52796         not use .hidden.
52797         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52798         Likewise.
52799         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52800         Likewise.
52801         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52802         Likewise.
52803         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52804         Likewise.
52805         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52806         Likewise.
52807         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52808         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52809         from GLIBC_2.3.2.
52811 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52815 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52817         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52818         trailing whitespace removed.
52819         * scripts/config.guess: Update to version 2013-11-29.
52820         * scripts/config.sub: Update to version 2013-10-01.
52822         * math/auto-libm-test-in: Add tests of sincos.
52823         * math/auto-libm-test-out: Regenerated.
52824         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52826         mpfr_f_11.
52827         (func_calc_desc): Add mpfr_f_11 union field.
52828         (test_functions): Add sincos.
52829         (calc_generic_results): Handle mpfr_f_11.
52830         * sysdeps/i386/fpu/libm-test-ulps: Update.
52831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52833 2013-12-19  Andreas Schwab  <schwab@suse.de>
52835         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52836         CALL_MCOUNT.
52837         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52838         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52839         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52841 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52843         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52844         * sysdeps/i386/fpu/libm-test-ulps: Update.
52845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52847         [BZ #16293]
52848         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52849         round-to-nearest mode when using frndint.
52850         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52851         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52852         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52853         Likewise.
52854         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52855         sinh test to fail.
52856         * math/auto-libm-test-out: Regenerated.
52857         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52858         (TEST_COND_x86): Likewise.
52859         (expm1_tonearest_test_data): New array.
52860         (expm1_test_tonearest): New function.
52861         (expm1_towardzero_test_data): New array.
52862         (expm1_test_towardzero): New function.
52863         (expm1_downward_test_data): New array.
52864         (expm1_test_downward): New function.
52865         (expm1_upward_test_data): New array.
52866         (expm1_test_upward): New function.
52867         (main): Run the new test functions.
52868         * sysdeps/i386/fpu/libm-test-ulps: Update.
52869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52871         * include/features.h: Update comment documenting feature test
52872         macros.  Mention _DEFAULT_SOURCE in comment.
52873         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52874         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52875         _BSD_SOURCE and _SVID_SOURCE.
52876         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52877         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52878         !_SVID_SOURCE]: Likewise.
52879         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52880         (__USE_POSIX_IMPLICITLY): Define.
52881         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52882         (_POSIX_SOURCE): Undefine and redefine.
52883         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52884         (_POSIX_C_SOURCE): Likewise.
52885         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52886         (Feature Test Macros): Update documentation of default features.
52888 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52890         * benchtests/Makefile: Add bench-strtok.
52891         * benchtests/bench-strtok.c: New file: strtok benchtest.
52893 2013-12-19  Allan McRae  <allan@archlinux.org>
52895         * manual/install.texi: Suppress menu for plain text output.
52896         * INSTALL: Regenerated.
52898 2013-12-18  Brooks Moses  <bmoses@google.com>
52900         [BZ #15846]
52901         * misc/getauxval.c: Include errno.h.
52902         (__getauxval): Set errno to ENOENT if the requested type is not
52903         found.
52904         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52905         don't declare with __attribute_const__.
52906         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52907         * manual/startup.texi: Document that getauxval sets errno.
52909 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52911         * math/auto-libm-test-in: Add tests of jn and yn.
52912         * math/auto-libm-test-out: Regenerated.
52913         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52914         (yn_test_data): Likewise.
52915         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52916         mpfr_if_f.
52917         (func_calc_desc): Add mpfr_if_f union field.
52918         (FUNC_mpfr_if_f): New macro.
52919         (test_functions): Add jn and yn.
52920         (calc_generic_results): Assert type of second input for
52921         mpfr_ff_f.  Handle mpfr_if_f.
52922         (output_for_one_input_case): Disable all checking for arguments
52923         fitting floating-point types in case of an integer argument.
52924         * sysdeps/i386/fpu/libm-test-ulps: Update.
52925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52928         Don't expect fegetround reference in libm.so.
52930 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52932         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52933         $(config-cflags-nofma).
52935 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52937         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52938         * math/auto-libm-test-out: Regenerated.
52940         [BZ #16338]
52941         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52942         to determine exponent and adjust argument to have exponent of -1.
52943         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52944         log2.
52945         * math/auto-libm-test-out: Regenerated.
52946         * sysdeps/i386/fpu/libm-test-ulps: Update.
52947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52949 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52951         * manual/probes.texi: Remove cases when per-thread arenas are
52952         disabled.
52954 2013-12-18  Andreas Schwab  <schwab@suse.de>
52956         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52957         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52958         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52959         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52960         * sysdeps/i386/i686/multiarch/Makefile: Update.
52961         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52963 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52965         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52966         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52968 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52970         [BZ #15968]
52971         Support TZ transition times < 00:00:00.
52972         This is needed for version-3 tz-format files; it supports time
52973         stamps past 2037 for America/Godthab (the only entry in the tz
52974         database for which this change is relevant).
52975         * manual/time.texi (TZ Variable): Document transition times
52976         from -167:59:59 through -00:00:01.
52977         * time/tzset.c (tz_rule): Time of day is now signed.
52978         (__tzset_parse_tz): Parse negative time of day.
52980         Document TZ transition times >= 25:00:00.
52981         * manual/time.texi (TZ Variable): Document transition times from
52982         25:00:00 through 167:59:59.  These are already supported, and this
52983         support will help with version-3 tz-format files.
52985         * manual/time.texi (TZ Variable): Modernize North America example
52986         to reflect current (i.e., 2007-and-later) daylight saving rules.
52988         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52990 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52992         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52993         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52994         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52996         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52997         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52998         * sysdeps/unix/bsd/clock.c: Likewise.
52999         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53000         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53001         * sysdeps/unix/bsd/init-posix.c: Likewise.
53002         * sysdeps/unix/bsd/poll.c: Likewise.
53003         * sysdeps/unix/bsd/ptsname.c: Likewise.
53004         * sysdeps/unix/bsd/seekdir.c: Likewise.
53005         * sysdeps/unix/bsd/setegid.c: Likewise.
53006         * sysdeps/unix/bsd/seteuid.c: Likewise.
53007         * sysdeps/unix/bsd/setgid.c: Likewise.
53008         * sysdeps/unix/bsd/setrgid.c: Likewise.
53009         * sysdeps/unix/bsd/setruid.c: Likewise.
53010         * sysdeps/unix/bsd/setsid.c: Likewise.
53011         * sysdeps/unix/bsd/setuid.c: Likewise.
53012         * sysdeps/unix/bsd/sigaction.c: Likewise.
53013         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53014         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53015         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53016         * sysdeps/unix/bsd/telldir.c: Likewise.
53017         * sysdeps/unix/bsd/times.c: Likewise.
53018         * sysdeps/unix/bsd/usleep.c: Likewise.
53020         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53021         ($(objpfx)libbsd-compat.a): Remove rule.
53023         * include/features.h (__FAVOR_BSD): Do not define.
53024         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53025         features conflicting with POSIX.
53026         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53027         (_BSD_SOURCE): Remove description of not being a subset of other
53028         feature test macros.
53029         * manual/job.texi (getpgrp): Do not document BSD version.
53030         (getpgid): Do not document by reference to BSD getpgrp.
53031         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53032         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53033         * signal/signal.h [__FAVOR_BSD]: Likewise.
53034         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53035         instead of making contents conditional on [__FAVOR_BSD].
53036         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53038 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53042 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53044         [BZ #16314]
53045         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53046         values below 2**-450, not 2**-500.
53047         * math/auto-libm-test-in: Don't allow spurious underflow from
53048         hypot.
53049         * math/auto-libm-test-out: Regenerated.
53051         [BZ #16316]
53052         [BZ #16330]
53053         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53054         values of ha and hb and sort them after adjusting subnormal
53055         arguments.
53056         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53057         Likewise.
53058         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53059         values of ea and eb and sort them after adjusting subnormal
53060         arguments.
53061         * math/auto-libm-test-in: Do not expect some hypot tests of
53062         subnormals to fail.  Add more hypot tests.
53063         * math/auto-libm-test-out: Regenerated.
53065 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53067         [BZ #13304]
53068         * sysdeps/sh/s_fma.c: New file.
53069         * sysdeps/sh/s_fmaf.c: New file.
53070         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53071         version.
53072         * sysdeps/sh/Implies: Add sh/soft-fp.
53074 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53076         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53077         level of indirection to members `objname', `errstring', `malloced'.
53078         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53079         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53080         it as the __longjmp argument (just pass 1 instead).
53081         (_dl_catch_error): Initialize C with argument pointers and address of
53082         volatile local ERRCODE rather than copying values out of C at return.
53084 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53086         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53087         * math/auto-libm-test-out: Regenerated.
53088         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53089         (hypot_test_data): Likewise.
53090         (pow_test_data): Likewise.
53091         (pow_tonearest_test_data): Likewise.
53092         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53093         mpfr_ff_f.
53094         (func_calc_desc): Add mpfr_ff_f union field.
53095         (FUNC_mpfr_ff_f): New macro.
53096         (test_functions): Add atan2, hypot and pow.
53097         (special_fill_min): New function.
53098         (special_fill_minus_min): Likewise.
53099         (special_fill_min_subnorm): Likewise.
53100         (special_fill_minus_min_subnorm): Likewise.
53101         (special_real_inputs): Add min, -min, min_subnorm and
53102         -min_subnorm.
53103         (calc_generic_results): Handle mpfr_ff_f.
53104         * sysdeps/i386/fpu/libm-test-ulps: Update.
53105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53107 2013-12-16  Will Newton  <will.newton@linaro.org>
53109         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53110         (Aligned Memory Blocks): Add documentation for aligned_alloc
53111         and suggest it as an alternative to posix_memalign.
53112         (Hooks for Malloc): Document __memalign_hook is also called
53113         for aligned_alloc.  (Summary of Malloc): Add summary for
53114         aligned alloc.  Document __memalign_hook is also called
53115         for aligned_alloc.
53117 2013-12-16  Will Newton  <will.newton@linaro.org>
53119         * manual/memory.texi (Malloc Examples): Clarify default
53120         alignment documentation.  Suggest posix_memalign rather
53121         than memalign or valloc.
53122         (Aligned Memory Blocks): Remove suggestion to use memalign
53123         or valloc.  Remove obsolete comment about BSD.
53124         Document memalign errno values and mark the function obsolete.
53125         Document posix_memalign returned error codes.  Mark valloc
53126         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53127         called for posix_memalign and valloc.
53128         (Summary of Malloc): Add posix_memalign to function summary.
53129         __memalign_hook is also called for posix_memalign and valloc.
53131 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53133         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53134         TAYLOR_SIN.
53135         (__sin): Adjust.
53136         (__cos): Likewise.
53137         (sloww): Use mynumber union.  Expand ternary operator into
53138         if-else statements.
53139         (cslow): use mynumber union.
53141 2013-12-16  Allan McRae  <allan@archlinux.org>
53143         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53144         * configure: Regenerated.
53146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53148         [BZ #14120]
53149         * configure.ac: Added --enable-maintainer-mode. Check for
53150         autoconf when enabled.
53151         * configure: Regenerated.
53153         * nscd/nscd.service: New file.
53154         * nscd/nscd.tmpfiles: New file.
53156 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53158         [BZ #12100]
53159         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53160         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53161         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53162         (strstr): Add __strstr_sse2_unaligned ifunc.
53163         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53164         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53165         (strcasestr): Remove __strcasestr_sse42 ifunc.
53166         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53170 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53172         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53173         * sysdeps/sh/bits/fenv.h: ... here.
53174         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53176 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53178         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53181         hypotf multiarch implementations.
53182         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53183         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53184         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53185         multiarch hypot for PPC64.
53186         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53187         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53188         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53189         multiarch hypotf for PPC64.
53191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53192         modff multiarch implementations.
53193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53196         multiarch modf for PPC64.
53197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53200         multiarch modff for PPC64.
53202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53203         and logl multiarch implementations.
53204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53207         multiarch logb for PPC64.
53208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53211         multiarch logb for PPC64.
53212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53215         multiarch logb for PPC64.
53217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53218         isinff multiarch implementation.
53219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53220         file.
53221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53223         multiarch isinf for PPC64.
53224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53225         file.
53226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53227         multiarch isinff for PPC64.
53229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53230         finitef multiarch implementation.
53231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53232         file.
53233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53235         multiarch finite for PPC64.
53236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53237         file.
53238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53239         multiarch finitef for PPC64.
53241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53242         lrint multiarch implementation.
53243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53244         file.
53245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53247         multiarch llrint for PPC64.
53248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53249         multiarch lrint for PPC64.
53251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53252         copysignf multiarch implementation.
53253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53254         file.
53255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53256         file.
53257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53258         multiarch copysign for PPC64.
53259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53260         multiarch copysignf for PPC64.
53262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53263         multiarch implementation.
53264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53265         file.
53266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53267         file.
53268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53269         file.
53270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53271         file.
53272         multiarch llround for PPC64.
53273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53274         multiarch trunc for PPC64.
53275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53276         multiarch truncf for PPC64.
53278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53279         multiarch implementation.
53280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53281         file.
53282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53283         file.
53284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53285         file.
53286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53287         file.
53288         multiarch llround for PPC64.
53289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53290         multiarch round for PPC64.
53291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53292         multiarch roundf for PPC64.
53294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53295         multiarch implementation.
53296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53297         file.
53298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53299         file.
53300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53301         file.
53302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53303         file.
53304         multiarch llround for PPC64.
53305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53306         multiarch floor for PPC64.
53307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53308         multiarch floorf for PPC64.
53310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53311         multiarch implementation.
53312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53313         file.
53314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53315         file.
53316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53317         file.
53318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53319         file.
53320         multiarch llround for PPC64.
53321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53322         multiarch ceil for PPC64.
53323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53324         multiarch ceilf for PPC64.
53326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53327         multiarch implementation.
53328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53329         file.
53330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53331         file.
53332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53333         file.
53334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53335         multiarch llround for PPC64.
53336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53337         multiarch lround for PPC64.
53339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53340         multiarch implementation.
53341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53344         file.
53345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53348         multiarch isnan for PPC64.
53349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53350         multiarch isnanf for PPC64.
53352         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53353         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53354         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53355         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53356         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53359         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53360         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53365         multiarch implementations.
53366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53367         (__libc_ifunc_impl_list): Likewise.
53368         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53371         multiarch stpcpy for PPC64.
53373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53374         multiarch implementations.
53375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53376         (__libc_ifunc_impl_list): Likewise.
53377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53378         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53379         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53380         multiarch strcpy for PPC64.
53382         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53383         redefine function name.
53384         (_wordcopy_fwd_dest_aligned): Likewise.
53385         (_wordcopy_bwd_aligned): Likewise.
53386         (_wordcopy_bwd_dest_aligned): Likewise.
53387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53388         multiarch implementations.
53389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53390         (__libc_ifunc_impl_list): Likewise.
53391         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53392         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53393         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53394         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53395         multiarch wcscpy for PPC64.
53397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53398         multiarch implementations.
53399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53400         (__libc_ifunc_impl_list): Likewise.
53401         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53402         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53403         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53405         multiarch wcscpy for PPC64.
53407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53408         multiarch implementations.
53409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53410         (__libc_ifunc_impl_list): Likewise.
53411         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53412         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53413         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53414         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53415         multiarch wcsrchr for PPC64.
53417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53418         multiarch implementations.
53419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53420         (__libc_ifunc_impl_list): Likewise.
53421         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53422         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53423         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53424         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53425         multiarch wcschr for PPC64.
53427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53428         multiarch implementations.
53429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53430         (__libc_ifunc_impl_list): Likewise.
53431         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53432         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53433         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53434         multiarch strchrnul for PPC64.
53436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53437         implementations.
53438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53439         (__libc_ifunc_impl_list): Likewise.
53440         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53441         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53442         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53443         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53444         strchr for PPC64.
53446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53447         implementations.
53448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53449         (__libc_ifunc_impl_list): Likewise.
53450         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53451         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53452         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53453         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53454         strncmp for PPC64.
53456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53457         multiarch implementations.
53458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53459         (__libc_ifunc_impl_list): Likewise.
53460         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53461         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53462         strncasecmp for PPC64.
53463         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53464         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53465         multiarch strncasecmp_l for PPC64.
53467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53468         multiarch implementations.
53469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53470         (__libc_ifunc_impl_list): Likewise.
53471         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53472         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53473         multiarch strcasecmp for PPC64.
53474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53475         file.
53476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53477         multiarch strcasecmp_l for PPC64.
53479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53480         implementations.
53481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53482         (__libc_ifunc_impl_list): Likewise.
53483         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53484         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53485         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53486         strnlen for PPC64.
53488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53489         implementations.
53490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53491         (__libc_ifunc_impl_list): Likewise.
53492         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53493         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53494         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53495         strlen for PPC64.
53497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53498         implementations.
53499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53500         (__libc_ifunc_impl_list): Likewise.
53501         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53502         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53503         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53504         rawmemrchr for PPC64.
53506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53507         implementation.
53508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53509         (__libc_ifunc_impl_list): Likewise.
53510         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53511         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53512         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53513         memrchr for PPC64.
53515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53516         implementation.
53517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53518         (__libc_ifunc_impl_list): Likewise.
53519         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53520         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53521         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53522         memchr for PPC64.
53524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53525         implementation.
53526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53527         (__libc_ifunc_impl_list): Likewise.
53528         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53529         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53530         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53531         mempcpy for PPC64.
53533         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53534         avoid cretion of __bzero symbol.
53535         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53536         Likewise.
53537         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53538         Likewise.
53539         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53540         Likewise.
53541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53542         multiarch implementations.
53543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53544         (__libc_ifunc_impl_list): Likewise.
53545         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53546         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53547         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53548         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53549         bzero for PPC32.
53550         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53551         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53552         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53553         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53554         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53555         memset for PPC64.
53556         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53558         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53560         implementations.
53561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53562         (__libc_ifunc_impl_list): Likewise.
53563         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53564         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53565         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53566         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53567         memcmp for PPC64.
53569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53570         multiarch for POWER/PPC64.
53571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53572         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53573         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53574         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53575         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53576         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53577         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53579         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53580         memcpy for PPC64.
53582         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53583         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53584         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53585         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53586         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53587         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53588         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53589         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53590         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53591         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53592         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53593         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53594         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53595         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53596         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53605 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53607         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53609 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53611         * benchtests/Makefile (bench): Add exp2 and log2.
53612         (LDLIBS-bench-exp2): Add -lm.
53613         (LDLIBS-bench-log2): Likewise.
53614         * benchtests/exp2-inputs: New inputs file.
53615         * benchtests/log2-inputs: New inputs file.
53616         * benchtests/log-inputs: Add new inputs.
53617         * benchtests/tan-inputs: Likewise.
53619 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53621         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53622         definition...
53623         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53624         (csloww2): ... from here.
53626         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53627         instead of structures.
53628         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53629         (POLYNOMIAL): Likewise.
53630         (TAYLOR_SLOW): Likewise.
53631         (__sin): Likewise.
53632         (__cos): Likewise.
53633         (slow1): Likewise.
53634         (slow2): Likewise.
53635         (sloww): Likewise.
53636         (sloww1); Likewise.
53637         (sloww2): Likewise.
53638         (bsloww1): Likewise.
53639         (bsloww2): Likewise.
53640         (cslow2): Likewise.
53641         (csloww): Likewise.
53642         (csloww1): Likewise.
53643         (csloww2): Likewise.
53645 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53647         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53648         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53649         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53650         * malloc/hooks.c (realloc_check): Likewise.
53652         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53653         * malloc/arena.c: Remove PER_THREAD conditional.
53654         [!PER_THREAD]: Remove code.
53655         (ptmalloc_unlock_all2): Likewise.
53656         (ptmalloc_init): Likewise.
53657         (_int_new_arena): Likewise.
53658         (arena_get2): Likewise.
53659         * malloc/hooks.c (__malloc_get_state): Likewise.
53660         (__malloc_set_state): Likewise.
53661         * malloc/malloc.c: Likewise.
53662         (struct malloc_state): Likewise.
53663         (struct malloc_par): Likewise.
53664         (__libc_realloc): Likewise.
53665         (__libc_mallopt): Likewise.
53667 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53669         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53671 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53673         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53674         macro to a function.  Check for zero perturb_byte.
53675         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53677         * malloc/malloc.c: (force_reg): Remove.
53678         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53679         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53680         force_reg by atomic_forced_read.
53681         * malloc/arena.c (ptmalloc_init): Likewise.
53682         * malloc/hooks.c (top_check): Likewise.
53684 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53688 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53692 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53694         * math/auto-libm-test-in: Add tests of lgamma.
53695         * math/auto-libm-test-out: Regenerated.
53696         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53697         (M_LOG_2_SQRT_PIl): Likewise.
53698         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53700         mpfr_f_f1.
53701         (func_calc_desc): Add mpfr_f_f1 union field.
53702         (ARGS1): New macro.
53703         (ARGS2): Likewise.
53704         (ARGS3): Likewise.
53705         (ARGS4): Likewise.
53706         (RET1): Likewise.
53707         (RET2): Likewise.
53708         (CALC): Likewise.
53709         (FUNC): Likewise.
53710         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53711         (test_functions): Add lgamma.
53712         (calc_generic_results): Handle mpfr_f_f1.
53713         * sysdeps/i386/fpu/libm-test-ulps: Update.
53714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53716 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53718         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53719         __mpn_add_n for PowerPC64/POWER7.
53720         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53721         __mpn_sub_n for PowerPC64/POWER7.
53723         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53724         __mpn_addmul_1 for PowerPC64.
53725         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53726         __mpn_submul_1 for PowerPC64.
53727         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53728         for PowerPC64.
53729         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53730         for PowerPC64.
53732 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53734         [BZ #15089]
53735         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53737 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53739         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53741         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53742         add multiarch folders.
53743         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53744         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53745         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53746         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53747         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53748         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53749         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53750         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53751         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53752         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53753         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53762         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53764         New file.
53765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53766         New file.
53767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53768         multiarch __ieee754_hypot for PowerPC32.
53769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53770         New file.
53771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53772         New file.
53773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53774         multiarch __ieee754_hypotf for PowerPC32.
53776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53777         long_double_symbol only if __logbl is defined.
53778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53779         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53781         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53783         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53784         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53785         path for implementation.
53786         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53789         logb, and logbl multiarch implementations for PowerPC32.
53790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53791         file.
53792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53793         file.
53794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53795         multiarch logb for PowerPC32.
53796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53797         file.
53798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53799         file.
53800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53801         multiarch logbf for PowerPC32.
53802         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53804         file.
53805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53806         multiarch logbl implementation for PowerPC32.
53808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53809         and modff multiarch implementations.
53810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53811         New file.
53812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53813         New file.
53814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53815         multiarch modf for PowerPC32.
53816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53817         New file.
53818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53819         New file.
53820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53821         multiarch modff for PowerPC32.
53823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53824         and lrintf multiarch implementations.
53825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53826         New file.
53827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53828         New file.
53829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53830         multiarch lrint for PowerPC32.
53831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53832         file: multiarch lrintf for PowerPC32.
53834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53835         and lroundf multiarch implementations.
53836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53837         New file.
53838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53839         New file.
53840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53841         New file.
53842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53843         multiarch lround for PowerPC32.
53844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53845         file: multiarch lroundf for PowerPC32.
53847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53848         copysign and copysignf multiarch implementations.
53849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53850         New file.
53851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53852         New file.
53853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53854         file: multiarch copysign for PowerPC32.
53855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53856         file: multiarch copysignf for PowerPC32.
53858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53859         and truncf multiarch implementations.
53860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53861         New file.
53862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53863         file.
53864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53865         multiarch trunc for PowerPC32.
53866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53867         New file.
53868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53869         New file.
53870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53871         multiarch truncf for PowerPC32.
53873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53874         and roundf multiarch implementations.
53875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53876         New file.
53877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53878         file.
53879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53880         multiarch round for PowerPC32.
53881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53882         New file.
53883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53884         New file.
53885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53886         multiarch roundf for PowerPC32.
53888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53889         and floorf multiarch implementations.
53890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53891         New file.
53892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53893         file.
53894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53895         multiarch floor for PowerPC32.
53896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53897         New file.
53898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53899         New file.
53900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53901         multiarch floorf for PowerPC32.
53903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53904         and ceilf multiarch implementations.
53905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53906         New file.
53907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53908         file.
53909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53910         multiarch ceil for PowerPC32.
53911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53912         New file.
53913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53914         file.
53915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53916         multiarch ceilf for PowerPC32.
53918         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53919         is defined.
53920         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53921         FINITEF is defined.
53922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53923         and finitef multiarch implementations.
53924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53925         New file.
53926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53927         file.
53928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53929         multiarch finite for PowerPC32.
53930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53931         New file.
53932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53933         file: multiarch finitef for PowerPC32.
53935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53936         and isinff multiarch implementations.
53937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53938         file.
53939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53940         file.
53941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53942         multiarch isinf for PowerPC32.
53943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53944         New file.
53945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53946         multiarch isinff for PowerPC32.
53948         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53949         alias when __isnan is defined.
53950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53951         and isnanf multiarch implementations.
53952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53953         file.
53954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53955         file.
53956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53957         file.
53958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53959         file.
53960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53961         multiarch isnan for PowerPC32.
53962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53963         New file.
53964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53965         New file.
53966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53967         multiarch isnanf for PowerPC32.
53969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53970         and sqrtf multiarch implementations.
53971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53972         file.
53973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53974         file.
53975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53976         multiarch sqrt for PowerPC32.
53977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53978         file.
53979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53980         file.
53981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53982         multiarch sqrtf for PowerPC32.
53984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53985         and llroundf multiarch implementations.
53986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53987         New file.
53988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53989         New file.
53990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53991         New file.
53992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53993         file: multiarch llround for PowerPC32.
53994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53995         file: multiarch llroundf for PowerPC32.
53997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53998         multiarch PowerPC32 fpu implementations.
53999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54000         New file.
54001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54002         New file.
54003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54004         multiarch llrint for PowerPC32.
54005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54006         New file.
54007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54008         New file.
54009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54010         file.
54012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54014         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54015         file.
54016         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54017         file.
54018         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54019         file.
54020         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54021         multiarch wordcopy for PPC32.
54022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54023         wordcopy objects.
54024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54025         (__libc_ifunc_impl_list): Likewise.
54026         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54027         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54028         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54029         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54030         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54031         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54033         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54035         file.
54036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54037         file.
54038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54039         file.
54040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54041         multiarch wcscpy for PPC32.
54042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54043         multiarch objects.
54044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54045         (__libc_ifunc_impl_list): Likewise.
54046         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54047         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54048         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54049         sysdeps/powerpc/power6/wcscpy.c.
54051         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54053         file.
54054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54055         file.
54056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54057         file.
54058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54059         multiarch wcsrchr for PPC32.
54060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54061         multiarch objects.
54062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54063         (__libc_ifunc_impl_list): Likewise.
54064         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54065         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54066         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54067         sysdeps/powerpc/power6/wcsrchr.c.
54069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54070         file.
54071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54072         file.
54073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54075         multiarch wcschr for PPc32.
54076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54077         multiarch objects.
54078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54079         (__libc_ifunc_impl_list): Likewise.
54080         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54081         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54082         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54083         sysdeps/powerpc/power6/wcschr.c.
54085         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54086         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54087         file.
54088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54089         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54090         file: multiarch strchr for PPC32.
54091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54092         multiarch objects.
54093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54094         (__libc_ifunc_impl_list): Likewise.
54096         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54097         name.
54098         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54099         file.
54100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54101         file.
54102         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54103         multiarch strchrnul for PPC32.
54104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54105         multiarch objects.
54106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54107         (__libc_ifunc_impl_list): Likewise.
54109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54110         file.
54111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54112         multiarch strncasecmp for PPC32.
54113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54114         file.
54115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54116         multiarch strncasecmp_l for PPC32.
54117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54118         strncasecmp multiarch objects.
54119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54120         (__libc_ifunc_impl_list): Likewise.
54122         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54123         file.
54124         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54125         multiarch strncasecmp for PPC32.
54126         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54127         New file.
54128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54129         multiarch strcasecmp_l for PPC32.
54130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54131         multiarch objects.
54132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54133         (__libc_ifunc_impl_list): Likewise.
54135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54136         file.
54137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54138         file.
54139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54140         multiarch strncmp for PPC32.
54141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54142         multiarch objects.
54143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54144         (__libc_ifunc_impl_list): Likewise.
54146         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54147         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54148         file.
54149         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54150         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54152         multiarch objects.
54153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54154         (__libc_ifunc_impl_list): Likewise.
54156         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54157         file.
54158         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54159         file.
54160         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54162         multiarch objects.
54163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54164         (__libc_ifunc_impl_list): Likewise.
54166         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54167         file.
54168         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54169         file.
54170         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54171         multiarch rawmemchr for PPC32.
54172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54173         multiarch objects.
54174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54175         (__libc_ifunc_impl_list): Likewise.
54177         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54178         file.
54179         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54180         file.
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54182         file: memrchr multiarch for PPC32.
54183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54184         multiarch objects.
54185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54186         (__libc_ifunc_impl_list): Likewise.
54188         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54189         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54190         file.
54191         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54193         multiarch memchr for PPC32.
54194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54195         multiarch objects.
54196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54197         (__libc_ifunc_impl_list): Likewise.
54199         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54200         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54201         file.
54202         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54203         file.
54204         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54205         file: multiarch mempcpy for PPC32.
54206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54207         multiarch objects.
54208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54209         (__libc_ifunc_impl_list): Likewise.
54211         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54212         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54213         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54214         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54215         multiarch bzero for PPC32.
54216         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54217         file.
54218         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54219         file.
54220         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54221         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54222         file: multiarch memset for PPC32.
54223         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54225         memset multiarch objects.
54226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54227         (__libc_ifunc_impl_list): Likewise.
54229         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54230         file.
54231         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54233         memcmp for PPC32.
54234         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54236         multiarch objects.
54237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54238         (__libc_ifunc_impl_list): Likewise.
54240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54243         file.
54244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54245         file.
54246         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54247         file.
54248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54249         multiarch memcpy for PPC32.
54250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54251         multiarch objects.
54252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54253         (__libc_ifunc_impl_list): Likewise.
54255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54256         support multiarch for POWER/PPC32.
54257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54258         Likewise.
54259         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54261         Implies file to make multiarch folder appers before the fpu and
54262         default folder for power4 configuration.
54264 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54266         * scripts/bench.pl: Append volatile keyword to type.
54268 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54270         * sysdeps/sh/sotruss-lib.c: New file.
54271         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54273 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54277 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54279         [BZ #6810]
54280         * math/w_tgamma.c: Include <errno.h>.
54281         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54282         * math/w_tgammaf.c: Include <errno.h>.
54283         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54284         * math/w_tgammal.c: Include <errno.h>.
54285         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54286         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54287         underflow.  Add more tgamma tests.
54288         * math/auto-libm-test-out: Regenerated.
54289         * sysdeps/i386/fpu/libm-test-ulps: Update.
54290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54292         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54293         sin, sinh, tan, tanh, tgamma, y0 and y1.
54294         * math/auto-libm-test-out: Regenerated.
54295         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54296         (TEST_COND_x86): Likewise.
54297         (M_E2l): Remove macro.
54298         (M_E3l): Likewise.
54299         (M_2_SQRT_PIl): Likewise.
54300         (M_SQRT_PIl): Likewise.
54301         (M_1_DIV_El): Likewise.
54302         (log_test_data): Use AUTO_TESTS_f_f.
54303         (log10_test_data): Likewise.
54304         (log1p_test_data): Likewise.
54305         (log2_test_data): Likewise.
54306         (sin_test_data): Likewise.
54307         (sin_tonearest_test_data): Likewise.
54308         (sin_towardzero_test_data): Likewise.
54309         (sin_downward_test_data): Likewise.
54310         (sin_upward_test_data): Likewise.
54311         (sinh_test_data): Likewise.
54312         (sinh_tonearest_test_data): Likewise.
54313         (sinh_towardzero_test_data): Likewise.
54314         (sinh_downward_test_data): Likewise.
54315         (sinh_upward_test_data): Likewise.
54316         (tan_test_data): Likewise.
54317         (tan_tonearest_test_data): Likewise.
54318         (tan_towardzero_test_data): Likewise.
54319         (tan_downward_test_data): Likewise.
54320         (tan_upward_test_data): Likewise.
54321         (tanh_test_data): Likewise.
54322         (tgamma_test_data): Likewise.
54323         (y0_test_data): Likewise.
54324         (y1_test_data): Likewise.
54325         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54326         (special_real_inputs): Add pi/4.
54327         * sysdeps/i386/fpu/libm-test-ulps: Update.
54328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54330 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54332         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54333         "longjmp_target" static probes.
54334         (__longjmp): Rename to __longjmp_symbol.
54335         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54336         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54337         on which longjmp to generate.
54338         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54339         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54340         probe.
54341         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54342         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54343         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54344         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54345         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54346         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54348         __longjmp_symbol based on which __longjmp to generate.
54349         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54350         probe.
54351         (setjmp): Rename to setjmp_symbol.
54352         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54353         (_setjmp): Rename to _setjmp_symbol.
54354         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54355         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54356         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54357         which setjmp to generate.
54358         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54359         "longjmp_target" static probes.
54361 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54363         * benchtests/README: Add note about output arguments.
54364         * benchtests/bench-sincos.c: Remove file.
54365         * benchtests/sincos-inputs: New file.
54366         * scripts/bench.pl: Identify output arguments and define
54367         static variables for them.
54369         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54371         [BZ #15941]
54372         * Makefile (INSTALL): Add install-plain.texi as the primary
54373         dependency.
54374         * manual/install-plain.texi: New file.
54375         * manual/install.texi: Include node directive only for
54376         non-plaintext output.
54378 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54380         * stdlib/longlong.h: Update from GCC.
54382         [BZ #6807]
54383         [BZ #15901]
54384         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54385         * math/w_j0f.c (y0f): Likewise.
54386         * math/w_j0l.c (__y0l): Likewise.
54387         * math/w_j1.c (y1): Likewise.
54388         * math/w_j1f.c (y1f): Likewise.
54389         * math/w_j1l.c (__y1l): Likewise.
54390         * math/w_jn.c (yn): Likewise.
54391         * math/w_jnf.c (ynf): Likewise.
54392         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54393         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54394         value for Bessel function domain errors outside _SVID_ mode.
54395         Adjust sign of return value for yn (negative integer, 0).
54396         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54397         by zero in return for negative x and set sign appropriately for
54398         negative n.
54399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54400         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54401         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54402         expectations in error cases.
54403         (y1_test_data): Likewise.
54404         (yn_test_data): Likewise.
54405         * sysdeps/i386/fpu/libm-test-ulps: Update.
54406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54408 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54410         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54411         "64" to "64-v1".  Add "64-v2".
54412         (abi-64-options): Rename to ...
54413         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54414         (abi-64-condition): Rename to ...
54415         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54416         (abi-64-ld-soname): Rename to ...
54417         (abi-64-v1-ld-soname): ... this.
54418         (abi-64-v2-options): Define.
54419         (abi-64-v2-condition): Likewise.
54420         (abi-64-v2-ld-soname): Likewise.
54421         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54422         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54427 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54428             Alan Modra  <amodra@gmail.com>
54430         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54431         New versions for use with the ELFv2 ABI.
54432         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54433         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54434         declaration.
54435         (struct La_ppc64v2_retval): Likewise.
54436         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54437         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54438         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54439         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54440         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54441         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54442         Do not save or restore CR.
54443         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54444         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54445         return values for ELFv2 ABI.  Fix location of FPR return registers.
54446         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54447         updated values for _CALL_ELF == 2.
54448         (La_regs, La_retval, int_retval): Likewise.
54450 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54452         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54453         (FRAME_MIN_SIZE_PARM): Likewise.
54454         (FRAME_BACKCHAIN): Likewise.
54455         (FRAME_CR_SAVE): Likewise.
54456         (FRAME_LR_SAVE): Likewise.
54457         (FRAME_TOC_SAVE): Likewise.
54458         (FRAME_PARM_SAVE): Likewise.
54459         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54460         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54461         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54462         (call_mcount_parm_offset): New macro.
54463         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54464         (PROF): Use symbolic stack frame offsets.
54465         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54467         Redefine in terms of FRAME_MIN_SIZE.
54468         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54469         (_dl_profile_resolve): Likewise.  Update comment.
54470         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54471         symbols stack frame offsets.
54472         (__sigsetjmp): Likewise.
54473         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54474         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54475         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54476         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54479         (FRAME_BACKCHAIN): Remove.
54480         (FRAME_CR_SAVE): Likewise.
54481         (FRAME_LR_SAVE): Likewise.
54482         (FRAME_COMPILER_DW): Likewise.
54483         (FRAME_LINKER_DW): Likewise.
54484         (FRAME_TOC_SAVE): Likewise.
54485         (FRAME_PARM_SAVE): Likewise.
54486         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54487         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54488         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54490         (CHECK_SP): Use symbolic stack frame offsets.
54491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54492         zone" instead of caller's parameter save area for temp storage.
54493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54494         Likewise.  Also, use symbolic stack frame offsets.
54495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54496         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54497         our own stack frame instead of the caller's.
54498         (__socket): Use symbolic stack frame offsets.
54500 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54501             Alan Modra  <amodra@gmail.com>
54503         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54504         Define.
54505         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54506         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54507         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54508         New function.
54509         (elf_machine_fixup_plt): Call it.
54510         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54511         reloc arguments.
54512         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54514         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54515         r2 before calling target.
54517 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54518             Alan Modra  <amodra@gmail.com>
54520         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54521         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54522         versions of macros to support ELFv2 ABI.
54523         (LOCALENTRY): New macro.
54524         (ENTRY, EALIGN): Use it.
54525         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54526         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54527         fall through into ENTRY entry point.
54528         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54529         Only define if _CALL_ELF != 2.
54531         (elf_machine_matches_host): Verify ABI version matches.
54532         (RTLD_START): Use LOCALENTRY.
54533         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54534         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54535         (PLT_ENTRY_WORDS): New macro.
54536         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54537         (elf_machine_runtime_setup): Support ELFv2 ABI.
54538         (elf_machine_fixup_plt): Likewise.
54539         (elf_machine_plt_conflict): Likewise.
54540         (resolve_ifunc): Likewise.
54541         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54543         Likewise.
54544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54545         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54547         (makecontext): Support ELFv2 ABI.
54548         * elf/elf.h (EF_PPC64_ABI): Define.
54550 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54552         * sysdeps/powerpc/powerpc64/sysdep.h
54553         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54554         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54555         (ENTRY) [ASSEMBLER]: ... but instead here ...
54556         (EALIGN) [ASSEMBLER]: ... and here.
54557         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54558         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54559         (ENTRY_2) [!ASSEMBLER]: Use it.
54560         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54561         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54563         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54564         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54566         Use PPC64_LOAD_FUNCPTR.
54568         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54570 2013-12-04  Alan Modra  <amodra@gmail.com>
54572         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54573         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54574         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54575         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54578         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54579         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54580         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54581         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54582         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54584 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54587         (__makecontext): Fix incorrect CFI when backtracing out of
54588         context created via makecontext.
54589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54590         (__setcontext): Fix incorrect CFI during switch to new context.
54591         (__novec_setcontext): Likewise.
54593 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54595         [BZ #4772]
54596         * time/strptime_l.c (__strptime_internal): Allow modifiers
54597         in strptime.
54598         * time/tst-strptime.c (day_tests): Add testcase.
54600 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54602         * scripts/bench.pl: Skip over blank lines.
54604 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54606         [BZ #926]
54607         * manual/time.texi (Calendar Time): Clarify what timezone functions
54608         use.
54610 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54614 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54616         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54617         implementation.
54618         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54619         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54620         * debug/memset_chk.c (__memset_chk): Likewise.
54621         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54622         * debug/strncpy_chk.c: Likewise.
54624 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #15268]
54627         [BZ #15425]
54628         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54629         (__ieee754_exp): For possibly underflowing results, check size of
54630         result and force underflow exception if required.
54631         * math/auto-libm-test-in: Add more tests of exp.
54632         * math/auto-libm-test-out: Regenerated.
54633         * sysdeps/i386/fpu/libm-test-ulps: Update.
54634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54636         [BZ #16283]
54637         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54638         * math/w_exp2f.c (__exp2f): Likewise.
54639         * math/w_exp2l.c (__exp2l): Likewise.
54640         * math/auto-libm-test-in: Do not allow missing errno on exp2
54641         underflow.
54642         * math/auto-libm-test-out: Regenerated.
54644 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54646         [BZ #16274]
54647         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54648         handle filename validation.
54649         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54650         (do_open): Delete.
54652 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54654         [BZ #6786]
54655         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54656         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54657         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54658         <float.h>.
54659         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54660         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54661         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54663         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54664         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54665         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54666         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54667         Add more erfc tests.
54668         * math/auto-libm-test-out: Regenerated.
54669         * sysdeps/i386/fpu/libm-test-ulps: Update.
54670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54672         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54673         exp2, expm1, j0 and j1.
54674         * math/auto-libm-test-out: Regenerated.
54675         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54676         (erfc_test_data): Likewise.
54677         (exp_test_data): Likewise.
54678         (exp_tonearest_test_data): Likewise.
54679         (exp_towardzero_test_data): Likewise.
54680         (exp_downward_test_data): Likewise.
54681         (exp_upward_test_data): Likewise.
54682         (exp10_test_data): Likewise.
54683         (exp2_test_data): Likewise.
54684         (expm1_test_data): Likewise.
54685         (j0_test_data): Likewise.
54686         (j1_test_data): Likewise.
54687         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54688         (input_flag_type): Add flag_xfail_rounding.
54689         (input_flags): Add xfail-rounding.
54690         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54691         (output_for_one_input_case): Handle flag_xfail_rounding.
54692         * sysdeps/i386/fpu/libm-test-ulps: Update.
54693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54695 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54697         [BZ #16289]
54698         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54699         division by 0.
54701 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54703         [BZ #16195]
54704         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54705         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54706         (STAP_PROBE0): New macro.
54707         (STAP_PROBE1): Likewise.
54708         (STAP_PROBE2): Likewise.
54709         (STAP_PROBE3): Likewise.
54710         (STAP_PROBE4): Likewise.
54712 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54714         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54716 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54718         * benchtests/Makefile (bench): Add sqrt.
54719         (LDLIBS-bench-sqrt): New.
54720         * benchtests/sqrt-input: New.
54722 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54724         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54725         (GAIH_EAI): Likewise.
54726         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54727         (gaih_inet): Likewise.
54728         (getaddrinfo): Don't use GAIH_EAI.
54730         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54731         (struct gaih): Remove definition.
54733 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54735         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54736         Use HERRNOP directly.
54738 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54742 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54744         * math/gen-auto-libm-tests.c (test_functions): Add more
54745         single-argument functions.
54746         (special_fill_pi_2): New function.
54747         (special_fill_minus_pi_2): Likewise.
54748         (special_fill_pi_6): Likewise.
54749         (special_fill_minus_pi_6): Likewise.
54750         (special_fill_pi_3): Likewise.
54751         (special_fill_2pi_3): Likewise.
54752         (special_fill_e): Likewise.
54753         (special_fill_1_e): Likewise.
54754         (special_fill_e_minus_1): Likewise.
54755         (special_real_inputs): Add more special inputs.
54756         (output_for_one_input_case): Do not require ERANGE on underflow to
54757         zero if round-to-nearest result does not underflow to zero, unless
54758         exact results required.
54759         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54760         atan, atanh, cbrt, cos and cosh.
54761         * math/auto-libm-test-out: Regenerated.
54762         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54763         (acos_tonearest_test_data): Likewise.
54764         (acos_towardzero_test_data): Likewise.
54765         (acos_downward_test_data): Likewise.
54766         (acos_upward_test_data): Likewise.
54767         (acosh_test_data): Likewise.
54768         (asin_test_data): Likewise.
54769         (asin_tonearest_test_data): Likewise.
54770         (asin_towardzero_test_data): Likewise.
54771         (asin_upward_test_data): Likewise.
54772         (asinh_test_data): Likewise.
54773         (atan_test_data): Likewise.
54774         (atanh_test_data): Likewise.
54775         (cbrt_test_data): Likewise.
54776         (cos_test_data): Likewise.
54777         (cos_tonearest_test_data): Likewise.
54778         (cos_towardzero_test_data): Likewise.
54779         (cos_downward_test_data): Likewise.
54780         (cos_upward_test_data): Likewise.
54781         (cosh_test_data): Likewise.
54782         (cosh_tonearest_test_data): Likewise.
54783         (cosh_towardzero_test_data): Likewise.
54784         (cosh_downward_test_data): Likewise.
54785         (cosh_upward_test_data): Likewise.
54786         * sysdeps/i386/fpu/libm-test-ulps: Update.
54787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54789 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54791         [BZ #6787]
54792         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54793         * math/w_exp10f.c (__exp10f): Likewise.
54794         * math/w_exp10l.c (__exp10l): Likewise.
54795         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54796         errno settings in existing tests.
54798         [BZ #14032]
54799         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54800         precision control set to double precision.
54801         * sysdeps/i386/fpu/w_sqrt.c: New file.
54802         * math/auto-libm-test-in: Add more tests.
54803         * math/auto-libm-test-out: Update.
54805         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54806         (sqrt_test_tonearest): New function.
54807         (sqrt_towardzero_test_data): New variable.
54808         (sqrt_test_towardzero): New function.
54809         (sqrt_downward_test_data): New variable.
54810         (sqrt_test_downward): New function.
54811         (sqrt_upward_test_data): New variable.
54812         (sqrt_test_upward): New function.
54813         (main): Call the new functions.
54815         * math/gen-auto-libm-tests.c: New file.
54816         * math/auto-libm-test-in: Likewise.
54817         * math/auto-libm-test-out: New generated file.
54818         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54819         variables.
54820         (%beautify): Add generated representations of zero.
54821         (top level): Set $auto_input and call parse_auto_input.
54822         (beautify): Remove trailing "f" from hex float constants.
54823         (parse_args): Handle XFAIL_TEST.
54824         (convert_condition): New function.
54825         (or_value): Likewise.
54826         (or_cond_value): Likewise.
54827         (generate_testfile): Handle AUTO_TESTS_* lines.
54828         (parse_auto_input): New function.
54829         * math/libm-test.inc (XFAIL_TEST): New macro.
54830         (ERRNO_UNCHANGED): Update value.
54831         (ERRNO_EDOM): Likewise.
54832         (ERRNO_ERANGE): Likewise.
54833         (IGNORE_RESULT): Likewise.
54834         (TEST_COND_flt_32): New macro.
54835         (TEST_COND_dbl_64): Likewise.
54836         (TEST_COND_ldbl_96_intel): Likewise.
54837         (TEST_COND_ldbl_96_m68k): Likewise.
54838         (TEST_COND_ldbl_128): Likewise.
54839         (TEST_COND_ldbl_128ibm): Likewise.
54840         (TEST_COND_long32): Likewise.
54841         (TEST_COND_long64): Likewise.
54842         (TEST_COND_before_rounding): Likewise.
54843         (TEST_COND_after_rounding): Likewise.
54844         (enable_test): Handle XFAIL_TEST flag.
54845         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54846         with finite results.
54847         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54848         auto-libm-test-out.
54850 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54851             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54853         [BZ #16214]
54854         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54855         __tls_get_addr_internal instead of __tls_get_offset in order to
54856         avoid GOT pointer dependency.  Make rtld export
54857         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54858         __tls_get_addr since we are a __tls_get_offset platform.
54859         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54860         GOT pointer being set up before.
54861         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54863 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54865         * manual/math.texi (Errors in Math Functions): Document accuracy
54866         goals.
54868         [BZ #15004]
54869         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54870         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54873         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54875         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54878         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54884         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54886         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54887         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54888         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54889         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54890         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54891         Likewise.
54892         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54893         Likewise.
54894         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54895         Likewise.
54896         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54897         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54898         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54899         atomic-feupdateenv and flt-rounds.
54900         * sysdeps/powerpc/nofpu/Versions (libc): Add
54901         __atomic_feholdexcept, __atomic_feclearexcept,
54902         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54903         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54904         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54905         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54906         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54907         here.
54908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54909         Update.
54911         * manual/arith.texi (FP Exceptions): Document that exceptions may
54912         not be raised when matherr is used.
54913         (Math Error Reporting): Document overflow in directed rounding
54914         modes.  Document that errno may not be set when finite values are
54915         returned on overflow.  Document intent to set errno on underflow
54916         only for underflow to zero.
54918         [BZ #16271]
54919         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54920         round-to-nearest then adjust result for other rounding modes.
54921         * include/fenv.h (fegetround): Use libm_hidden_proto.
54922         * math/fegetround.c (fegetround): Use libm_hidden_def.
54923         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54924         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54925         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54927         Likewise.
54928         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54929         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54930         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54931         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54933 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54935         [BZ #16077]
54936         * nss/Versions (libnss_files): Add
54937         _nss_files_gethostbyname3_r.
54938         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54939         New function.
54940         (HOST_DB_LOOKUP): Remove macro.
54941         (_nss_files_gethostbyname_r): Implement function without the
54942         HOST_DB_LOOKUP macro.
54943         (_nss_files_gethostbyname2_r): Likewise.
54945 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54947         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54949 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54951         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54952         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54953         warning.
54955 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54957         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54958         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54959         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54960         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54961         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54962         __fe_nomask_env_priv and attribute_hidden.
54963         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54964         (libc_feupdateenv_test_ppc): Likewise.
54965         (libc_feresetround_ppc): Likewise.
54966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54967         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54968         compat_symbol macro.
54969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54970         (__fe_nomask_env): Likewise.
54971         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54973 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54975         * string/Makefile: Remove ifunc tests.
54976         * string/test-string.h: Define TEST_IFUNC.
54977         * string/test-bcopy-ifunc.c: Remove.
54978         * string/test-bzero-ifunc.c: Likewise.
54979         * string/test-memccpy-ifunc.c: Likewise.
54980         * string/test-memchr-ifunc.c: Likewise.
54981         * string/test-memcmp-ifunc.c: Likewise.
54982         * string/test-memcpy-ifunc.c: Likewise.
54983         * string/test-memmem-ifunc.c: Likewise.
54984         * string/test-memmove-ifunc.c: Likewise.
54985         * string/test-mempcpy-ifunc.c: Likewise.
54986         * string/test-memrchr-ifunc.c: Likewise.
54987         * string/test-memset-ifunc.c: Likewise.
54988         * string/test-rawmemchr-ifunc.c: Likewise.
54989         * string/test-stpcpy-ifunc.c: Likewise.
54990         * string/test-stpncpy-ifunc.c: Likewise.
54991         * string/test-strcasecmp-ifunc.c: Likewise.
54992         * string/test-strcasestr-ifunc.c: Likewise.
54993         * string/test-strcat-ifunc.c: Likewise.
54994         * string/test-strchr-ifunc.c: Likewise.
54995         * string/test-strchrnul-ifunc.c: Likewise.
54996         * string/test-strcmp-ifunc.c: Likewise.
54997         * string/test-strcpy-ifunc.c: Likewise.
54998         * string/test-strcspn-ifunc.c: Likewise.
54999         * string/test-strlen-ifunc.c: Likewise.
55000         * string/test-strncasecmp-ifunc.c: Likewise.
55001         * string/test-strncat-ifunc.c: Likewise.
55002         * string/test-strncmp-ifunc.c: Likewise.
55003         * string/test-strncpy-ifunc.c: Likewise.
55004         * string/test-strnlen-ifunc.c: Likewise.
55005         * string/test-strpbrk-ifunc.c: Likewise.
55006         * string/test-strrchr-ifunc.c: Likewise.
55007         * string/test-strspn-ifunc.c: Likewise.
55008         * string/test-strstr-ifunc.c: Likewise.
55010 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55012         * benchtests/Makefile: Remove ifunc tests.
55013         * benchtests/bench-string.h: Define TEST_IFUNC.
55014         * benchtests/bench-bcopy-ifunc.c: Remove.
55015         * benchtests/bench-bzero-ifunc.c: Likewise.
55016         * benchtests/bench-memccpy-ifunc.c: Likewise.
55017         * benchtests/bench-memchr-ifunc.c: Likewise.
55018         * benchtests/bench-memcmp-ifunc.c: Likewise.
55019         * benchtests/bench-memcpy-ifunc.c: Likewise.
55020         * benchtests/bench-memmem-ifunc.c: Likewise.
55021         * benchtests/bench-memmove-ifunc.c: Likewise.
55022         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55023         * benchtests/bench-memrchr-ifunc.c: Likewise.
55024         * benchtests/bench-memset-ifunc.c: Likewise.
55025         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55026         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55027         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55028         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55029         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55030         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55031         * benchtests/bench-strcat-ifunc.c: Likewise.
55032         * benchtests/bench-strchr-ifunc.c: Likewise.
55033         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55034         * benchtests/bench-strcmp-ifunc.c: Likewise.
55035         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55036         * benchtests/bench-strcpy-ifunc.c: Likewise.
55037         * benchtests/bench-strcspn-ifunc.c: Likewise.
55038         * benchtests/bench-strlen-ifunc.c: Likewise.
55039         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55040         * benchtests/bench-strncat-ifunc.c: Likewise.
55041         * benchtests/bench-strncmp-ifunc.c: Likewise.
55042         * benchtests/bench-strncpy-ifunc.c: Likewise.
55043         * benchtests/bench-strnlen-ifunc.c: Likewise.
55044         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55045         * benchtests/bench-strrchr-ifunc.c: Likewise.
55046         * benchtests/bench-strsep-ifunc.c: Likewise.
55047         * benchtests/bench-strspn-ifunc.c: Likewise.
55048         * benchtests/bench-strstr-ifunc.c: Likewise.
55050 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55052         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55054 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55056         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55057         * rt/aio.h: Likewise.
55058         * sysdeps/gnu/bits/utmp.h: Likewise.
55059         * sysdeps/gnu/bits/utmpx.h: Likewise.
55060         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55061         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55062         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55063         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55064         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55065         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55066         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55067         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55068         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55069         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55070         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55071         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55072         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55074         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55075         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55076         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55077         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55078         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55079         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55080         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55081         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55082         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55083         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55084         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55086         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55087         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55088         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55089         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55090         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55091         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55092         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55093         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55094         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55095         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55096         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55097         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55098         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55099         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55100         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55101         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55103 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55105         [BZ #16245]
55106         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55107         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55109 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55111         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55112         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55113         Likewise.
55115 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55118         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55119         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55120         (__fesetround): Remove define.
55121         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55122         rounding and exceptions handling.
55123         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55124         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55125         (__fe_nomask_env): Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55127         __fegetround instead of fegetround.
55128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55129         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55131 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55133         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55134         it's there.
55136         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55138 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55140         [BZ #11157]
55141         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55142         (encrypt_r): Likewise.
55143         * malloc/obstack.h (obstack_free): Likewise.
55144         * posix/unistd.h (encrypt): Likewise.
55146 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55148         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55149         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55150         DL_CALL_DT_FINI() that call the functions directly.
55151         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55152         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55153         * elf/dl-fini.c: Likewise.
55155 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55157         * malloc/hooks.c (memalign_check): Add alignment rounding.
55158         * malloc/malloc.c (_mid_memalign): New function.
55159         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55160         Implement by calling _mid_memalign.
55161         * manual/probes.texi (Memory Allocation Probes): Remove
55162         memory_valloc_retry and memory_pvalloc_retry.
55164 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55166         * locale/programs/locarchive.c (open_archive): Add const
55167         qualifier to ARCHIVEFNAME and copy default fname to
55168         DEFAULT_FNAME.
55170         [BZ #15601]
55171         * libio/tst-widetext.input: Rename Oriya to Odia.
55172         * locale/iso-639.def: Likewise.
55174         * manual/probes.texi (Mathematical Function Probes): Add
55175         documentation for sin, cos, asin and acos probes.
55176         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55177         (__sin32): Add slowasin probe.
55178         (__cos32): Add slowacos probe.
55179         (__mpsin): Add slowsin probe.
55180         (__mpcos): Add slowcos probe.
55182 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55184         [BZ #15483]
55185         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55186         thread-local __sim_exceptions_thread and global
55187         __sim_exceptions_global.
55188         (__sim_disabled_exceptions): Change to thread-local
55189         __sim_disabled_exceptions_thread and global
55190         __sim_disabled_exceptions_global.
55191         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55192         and global __sim_round_mode_global.
55193         (__simulate_exceptions): Use thread-local floating-point state and
55194         set global state from it as needed.
55195         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55196         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55197         __sim_round_mode_thread.
55198         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55199         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55200         and global __sim_exceptions_global.
55201         (__sim_disabled_exceptions): Change to thread-local
55202         __sim_disabled_exceptions_thread and global
55203         __sim_disabled_exceptions_global.
55204         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55205         and global __sim_round_mode_global.
55206         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55207         (SIM_SET_GLOBAL): Likewise.
55208         * sysdeps/powerpc/soft-fp/sfp-machine.h
55209         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55210         __sim_round_mode_thread.
55211         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55212         __sim_disabled_exceptions_thread.
55213         (__sim_exceptions): Change to __sim_exceptions_thread.
55214         (__sim_disabled_exceptions): Change to
55215         __sim_disabled_exceptions_thread.
55216         (__sim_round_mode): Change to __sim_round_mode_thread.
55217         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55218         thread-local floating-point state and set global state from it as
55219         needed.
55220         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55221         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55222         (__sim_disabled_exceptions): Remove extern declaration.
55223         (feenableexcept): Use thread-local floating-point state and set
55224         global state from it as needed.
55225         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55226         extern declaration.
55227         (__sim_disabled_exceptions): Likewise.
55228         (__sim_round_mode): Likewise.
55229         (__fegetenv): Use thread-local floating-point state.
55230         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55231         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55232         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55233         floating-point state and set global state from it as needed.
55234         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55235         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55236         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55237         Likewise.
55238         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55239         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55240         Likewise.
55241         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55242         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55243         Use __sim_round_mode_thread.
55244         * math/test-fenv-tls.c: New file.
55245         * math/Makefile (tests): Add test-fenv-tls.
55246         ($(objpfx)test-fenv-tls): Depend on
55247         $(common-objpfx)nptl/libpthread.so.
55249 2013-11-19  Andreas Schwab  <schwab@suse.de>
55251         * locale/programs/locale.c (show_info): Decode wordarray elements.
55252         * locale/categories.def (LC_MONETARY): Add element for
55253         _NL_MONETARY_CRNCYSTR.
55254         * locale/C-monetary.c (conversion_rate): New variable.
55255         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55256         element.
55258 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55260         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55261         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55263 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55265         * elf/Makefile (tst-auxv): New test.
55266         * elf/tst-auxv.c: New
55267         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55269 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55271         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55272         (hidden_proto): Caller changed.
55273         (hidden_tls_proto): New macro.
55274         (libc_hidden_tls_proto): Likewise.
55275         (rtld_hidden_tls_proto): Likewise.
55276         (libm_hidden_tls_proto): Likewise.
55277         (libresolv_hidden_tls_proto): Likewise.
55278         (librt_hidden_tls_proto): Likewise.
55279         (libdl_hidden_tls_proto): Likewise.
55280         (libnss_files_hidden_tls_proto): Likewise.
55281         (libnsl_hidden_tls_proto): Likewise.
55282         (libnss_nisplus_hidden_tls_proto): Likewise.
55283         (libutil_hidden_tls_proto): Likewise.
55285 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55287         [BZ #10253]
55288         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55289         (decompose_rpath): Defer expansion to fillin_rpath.
55290         (_dl_init_paths): Pass linkmap to fillin_rpath.
55292 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55294         * benchtests/Makefile: Add strsep.
55295         * benchtests/bench-strsep.c: New file: strsep benchtest.
55296         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55298 2013-11-18  Andreas Schwab  <schwab@suse.de>
55300         * locale/programs/locale.c (show_info) [case byte]: Check for
55301         '\377' instead of '\177'.
55302         * locale/C-monetary.c (not_available): Always use "\377".
55303         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55304         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55305         detect unavailable sign_posn locale elements.
55306         * locale/localeconv.c (__localeconv): For grouping and
55307         mon_grouping handle "\177" and "\377" like no grouping.
55308         (INT_ELEM): New macro.  Use it to set all numeric members.
55309         * locale/programs/ld-monetary.c (monetary_read)
55310         <tok_mon_grouping>: Normalize single -1 to the empty string.
55311         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55312         Likewise.
55314 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55316         [BZ #16055]
55317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55318         when we match (nil).
55319         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55321 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55323         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55324         (NO_TEST_INLINE): Update value.
55325         (ERRNO_UNCHANGED): Likewise.
55326         (ERRNO_EDOM): Likewise.
55327         (ERRNO_ERANGE): Likewise.
55328         (IGNORE_RESULT): Likewise.
55329         (check_float_internal): Check signs of NaN results if
55330         TEST_NAN_SIGN used.
55331         (check_complex): Pass TEST_NAN_SIGN flag through to second
55332         check_float_internal call.
55333         (copysign_test_data): Add tests with quiet NaNs as second
55334         argument.  Use TEST_NAN_SIGN.
55335         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55336         TEST_NAN_SIGN.
55337         (signbit_test_data): Add tests of quiet NaN argument.
55338         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55340         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55341         $ignore_result.
55342         (parse_args): Handle function results specified as IGNORE.
55343         * math/libm-test.inc (IGNORE_RESULT): New macro.
55344         (check_float_internal): Do not check numerical result if flag
55345         IGNORE_RESULT set.
55346         (check_complex): Pass through IGNORE_RESULT to second
55347         check_float_internal call.
55348         (check_int): Do not check numerical result if flag IGNORE_RESULT
55349         set.
55350         (check_long): Likewise.
55351         (check_bool): Likewise.
55352         (check_longlong): Likewise.
55353         (lrint_test_data): Add tests of infinite and NaN arguments.
55354         (lrint_tonearest_test_data): Likewise.
55355         (lrint_towardzero_test_data): Likewise.
55356         (lrint_downward_test_data): Likewise.
55357         (lrint_upward_test_data): Likewise.
55358         (llrint_test_data): Likewise.
55359         (llrint_tonearest_test_data): Likewise.
55360         (llrint_towardzero_test_data): Likewise.
55361         (llrint_downward_test_data): Likewise.
55362         (llrint_upward_test_data): Likewise.
55363         (lround_test_data): Likewise.
55364         (llround_test_data): Likewise.
55366         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55367         (ERRNO_UNCHANGED): Update value.
55368         (ERRNO_EDOM): Likewise.
55369         (ERRNO_ERANGE): Likewise.
55370         (NO_TEST_INLINE_FLOAT): New macro.
55371         (NO_TEST_INLINE_DOUBLE): Likewise.
55372         (enable_test): New function.
55373         (RUN_TEST_f_f): Check enable_test before running test.
55374         (RUN_TEST_2_f): Likewise.
55375         (RUN_TEST_fff_f): Likewise.
55376         (RUN_TEST_c_f): Likewise.
55377         (RUN_TEST_f_f1): Likewise.
55378         (RUN_TEST_fF_f1): Likewise.
55379         (RUN_TEST_fI_f1): Likewise.
55380         (RUN_TEST_ffI_f1): Likewise.
55381         (RUN_TEST_c_c): Likewise.
55382         (RUN_TEST_cc_c): Likewise.
55383         (RUN_TEST_f_i): Likewise.
55384         (RUN_TEST_f_i_tg): Likewise.
55385         (RUN_TEST_ff_i_tg): Likewise.
55386         (RUN_TEST_f_b): Likewise.
55387         (RUN_TEST_f_b_tg): Likewise.
55388         (RUN_TEST_f_l): Likewise.
55389         (RUN_TEST_f_L): Likewise.
55390         (RUN_TEST_fFF_11): Likewise.
55391         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55392         conditionals.
55393         (cosh_test_data): Likewise.
55394         (exp_test_data): Likewise.
55395         (expm1_test_data): Likewise.
55396         (hypot_test_data): Likewise.
55397         (pow_test_data): Likewise.
55398         (sinh_test_data): Likewise.
55399         (tanh_test_data): Likewise.
55400         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55401         flags argument.
55403         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55404         tests with quiet NaN input and output.
55405         (acosh_test_data): Likewise.
55406         (asin_test_data): Likewise.
55407         (asinh_test_data): Likewise.
55408         (atan_test_data): Likewise.
55409         (atanh_test_data): Likewise.
55410         (atan2_test_data): Likewise.
55411         (cbrt_test_data): Likewise.
55412         (cos_test_data): Likewise.
55413         (cosh_test_data): Likewise.
55414         (erf_test_data): Likewise.
55415         (erfc_test_data): Likewise.
55416         (exp_test_data): Likewise.
55417         (exp10_test_data): Likewise.
55418         (exp2_test_data): Likewise.
55419         (expm1_test_data): Likewise.
55420         (hypot_test_data): Likewise.
55421         (j0_test_data): Likewise.
55422         (j1_test_data): Likewise.
55423         (jn_test_data): Likewise.
55424         (lgamma_test_data): Likewise.
55425         (log_test_data): Likewise.
55426         (log10_test_data): Likewise.
55427         (log1p_test_data): Likewise.
55428         (log2_test_data): Likewise.
55429         (pow_test_data): Likewise.
55430         (scalb_test_data): Likewise.
55431         (sin_test_data): Likewise.
55432         (sincos_test_data): Likewise.
55433         (sinh_test_data): Likewise.
55434         (tan_test_data): Likewise.
55435         (tanh_test_data): Likewise.
55436         (tgamma_test_data): Likewise.
55437         (y0_test_data): Likewise.
55438         (y1_test_data): Likewise.
55439         (yn_test_data): Likewise.
55441         [BZ #16167]
55442         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55443         argument being NaN and avoid computations with second argument in
55444         that case.
55445         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55446         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55447         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55449 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55451         * locale/iso-639.def: Add Chitwani Tharu (the).
55453 2013-11-14  Andreas Schwab  <schwab@suse.de>
55455         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55456         word instead of empty string.
55458 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55461         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55463         (__fe_nomask_env): Likewise.
55465 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55467         * benchtests/bench-timing.h: Include time.h.
55469 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55471         [BZ #15997]
55472         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55473         to 3.4.0 for x32.
55474         * sysdeps/unix/sysv/linux/configure: Regenerated.
55476 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55478         [BZ #16151]
55479         * stdlib/strtod_l.c (round_and_return): Do not consider
55480         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55481         exponent one less than half the least subnormal exponent.
55482         * stdlib/test-strtod-round-data: Add more tests.
55483         * stdlib/tst-strtod-round.c (tests): Regenerated.
55485 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55487         [BZ #14143]
55488         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55489         (__fe_mask_env): Likewise.
55490         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55491         libm_hidden_proto and add function prototype.
55492         (__fe_mask_env): Add function prototype.
55493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55494         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55496         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55498         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55500 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55502         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55503         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55505 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55507         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55508         of htab_find_slot().
55510 2013-11-11  David S. Miller  <davem@davemloft.net>
55512         [BZ #16150]
55513         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55514         symbol in the non-vis3 case in static builds.
55515         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55516         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55517         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55518         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55520 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55522         [BZ #387]
55523         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55524         it is empty.
55526 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55528         * benchtests/Makefile: Add bench-strtod.
55529         * benchtests/bench-strtod.c: New file: strtod benchtest
55531 2013-11-11  Andreas Schwab  <schwab@suse.de>
55533         [BZ #16153]
55534         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55535         terminating NUL in key length.
55537 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55540         Add artificial ODP entry for vDSO symbol for PPC64.
55541         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55542         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55544 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55546         [BZ #15374]
55547         * nss/getent.c (services_keys): Recognize services starting with digit.
55549 2013-11-06  David S. Miller  <davem@davemloft.net>
55551         [BZ #15985]
55552         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55553         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55555 2013-11-06  Will Newton  <will.newton@linaro.org>
55557         * manual/memory.texi (Malloc Examples): Remove register
55558         keyword from examples.
55560 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55562         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55564 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55566         [BZ #6981]
55567         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55568         depending on [__GCC_IEC_559 > 0].
55569         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55570         depending on [__GCC_IEC_559_COMPLEX > 0].
55572 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55574         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55575         to iso-639.def.
55577 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55579         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55581 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55583         [BZ #16112]
55584         * malloc/malloc (malloc_info): Do not handle first bin as
55585         special case.
55587 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55589         * locale/iso-639.def: Add Central Nahuatl (nhn).
55591 2013-11-01  Bruno Haible  <bruno@clisp.org>
55593         [BZ #7003]
55594         * manual/math.texi (BSD Random): Specify range upper bound as
55595         in POSIX.
55597 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55599         * locale/iso-639.def: Add Meadow Mari (mhr).
55601 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55603         [BZ #14752], [BZ #15763]
55604         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55605         Validate name.
55606         * rt/tst_shm.c: Add test for escaping directory.
55608 2013-10-31  Andreas Schwab  <schwab@suse.de>
55610         [BZ #15917]
55611         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55612         followed by 'x' as part of digit sequence.
55613         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55615 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55617         [BZ #16037]
55618         * configure.ac: allow GNU Make 4.0 and greater.
55619         * configure: Regenerated.
55621 2013-10-30  Will Newton  <will.newton@linaro.org>
55623         [BZ #16038]
55624         * malloc/hooks.c (memalign_check): Limit alignment to the
55625         maximum representable power of two.
55626         * malloc/malloc.c (__libc_memalign): Likewise.
55627         * malloc/tst-memalign.c (do_test): Add test for very
55628         large alignment values.
55629         * malloc/tst-posix_memalign.c (do_test): Likewise.
55631 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55633         [BZ #11087]
55634         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55635         (munmap_chunk): Likewise.
55636         (mremap_chunk): Likewise.
55638 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55640         [BZ #15799]
55641         * stdlib/div.c (div): Remove obsolete code.
55642         * stdlib/ldiv.c (ldiv): Likewise.
55643         * stdlib/lldiv.c (lldiv): Likewise.
55645 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55647         [BZ #16071]
55648         * nss/nss_files/files-XXX.c (get_contents_ret): New
55649         enumerator.
55650         (get_contents): New function.
55651         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55653 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55655         * configure.in: Moved to ...
55656         * configure.ac: ... here. Change reference to configure.in
55657         to configure.ac.
55658         * sysdeps/arm/preconfigure.ac: ... here.
55659         configure.in to configure.ac.
55660         * sysdeps/gnu/configure.in: Moved to ...
55661         * sysdeps/gnu/configure.ac: ... here.
55662         * sysdeps/i386/configure.in: Moved to ...
55663         * sysdeps/i386/configure.ac: ... here.
55664         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55665         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55666         * sysdeps/mach/configure.in: Moved to ...
55667         * sysdeps/mach/configure.ac: ... here.
55668         * sysdeps/mach/hurd/configure.in: Moved to ...
55669         * sysdeps/mach/hurd/configure.ac: ... here.
55670         * sysdeps/powerpc/configure.in: Moved to ...
55671         * sysdeps/powerpc/configure.ac: ... here.
55672         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55673         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55674         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55675         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55676         * sysdeps/s390/s390-32/configure.in: Moved to ...
55677         * sysdeps/s390/s390-32/configure.ac: ... here.
55678         * sysdeps/s390/s390-64/configure.in: Moved to ...
55679         * sysdeps/s390/s390-64/configure.ac: ... here.
55680         * sysdeps/sh/configure.in: Moved to ...
55681         * sysdeps/sh/configure.ac: ... here.
55682         * sysdeps/sparc/configure.in: Moved to ...
55683         * sysdeps/sparc/configure.ac: ... here.
55684         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55685         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55686         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55687         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55688         * sysdeps/x86_64/configure.in: Moved to ...
55689         * sysdeps/x86_64/configure.ac: ... here.
55690         * sysdeps/x86_64/preconfigure.in: Moved to ...
55691         * sysdeps/x86_64/preconfigure.ac: ... here.
55692         * aclocal.m4: Change reference to configure.in to configure.ac.
55693         * config.h.in: Likewise.
55694         * manual/install.texi: Likewise.
55695         * manual/maint.texi: Likewise.
55696         * Makefile: Likewise.
55697         * malloc/Makefile: Likewise.
55698         * nscd/Makefile: Likewise.
55699         * Makeconfig: Change reference to configure.in and
55700         preconfigure.in to configure.ac and preconfigure.ac
55701         respectively.
55702         * INSTALL: Regenerated.
55703         * configure: Likewise.
55704         * sysdeps/gnu/configure: Likewise.
55705         * sysdeps/i386/configure: Likewise.
55706         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55707         * sysdeps/mach/configure: Likewise.
55708         * sysdeps/mach/hurd/configure: Likewise.
55709         * sysdeps/powerpc/configure: Likewise.
55710         * sysdeps/powerpc/powerpc32/configure: Likewise.
55711         * sysdeps/powerpc/powerpc64/configure: Likewise.
55712         * sysdeps/s390/s390-32/configure: Likewise.
55713         * sysdeps/s390/s390-64/configure: Likewise.
55714         * sysdeps/sh/configure: Likewise.
55715         * sysdeps/sparc/configure: Likewise.
55716         * sysdeps/unix/sysv/linux/configure: Likewise.
55717         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55718         * sysdeps/x86_64/configure: Likewise.
55719         * sysdeps/x86_64/preconfigure: Likewise.
55721 2013-10-29  Andreas Schwab  <schwab@suse.de>
55723         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55725 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55727         * benchtests/pow-inputs: Add new inputs.
55729         * benchtests/exp-inputs: Add new inputs.
55731         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55732         conditional check for return value.
55733         (__cos32): Likewise.
55735 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55737         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55738         to provide a boost for large inputs with word alignment.
55739         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55740         implementation based on optimized PPC64 strcpy.
55741         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55742         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55743         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55744         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55746 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55748         [BZ #2801]
55749         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55751 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55753         [BZ #14876]
55754         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55755         * time/tst-strptime.c (day_tests): Add testcase.
55757 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55759         [BZ #14029]
55760         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55762 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55764         [BZ #16074]
55765         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55766         MAP_FAILED on error.
55768 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55770         [BZ #16072]
55771         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55772         heap for large requests.
55774 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55776         [BZ #9954]
55777         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55778         result if the result has no associated interface.
55779         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55780         interface for all 127.X.Y.Z addresses.
55782 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55784         * locale/iso-639.def: Add Ligurian (lij)
55786 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55788         [BZ #15825]
55789         * sunrpc/rpc_main.c: Document rpcgen -5.
55791 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55793         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55795 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55797         [BZ #10278]
55798         * posix/glob.c: Match only directories when trailing slash is present.
55799         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55800         (main): Add testcase.
55802 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55804         [BZ #15670]
55805         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55807 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55809         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55810         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55811         AUTH_DES and cindex for FIPS 140-2.
55812         (DES Encryption): Add cindex FIPS 46-3.
55814         * locale/locarchive.h (struct locarhandle): Add fname.
55815         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55816         if an optional argument was specified to --list-archive,
55817         otherwise NULL.
55818         * locale/programs/locarchive.c (show_archive_content): Take new
55819         argument fname and pass it via ah.fname to open_archive.
55820         * locale/programs/localedef.h: Update decl.
55821         (open_archive): If AH->fname is non-null, open that file
55822         rather than the default file name, and don't ignore ENOENT.
55823         (create_archive): Set AH.fname to NULL.
55824         (delete_locales_from_archive): Likewise.
55825         (add_locales_to_archive): Likewise.
55826         * locale/programs/locfile.c (write_all_categories): Likewise.
55828 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55829             Aldy Hernandez  <aldyh@redhat.com>
55831         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55832         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55833         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55834         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55835         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55836         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55838         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55839         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55840         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55841         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55842         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55843         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55844         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55845         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55846         Likewise.
55847         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55848         Likewise.
55849         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55850         Likewise.
55851         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55852         Likewise.
55853         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55854         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55855         Likewise.
55856         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55857         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55858         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55859         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55860         Likewise.
55861         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55862         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55863         * sysdeps/powerpc/preconfigure: Likewise.
55864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55865         Likewise.
55866         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55867         Replace contents of file by #include of <fenv_libc.h>.
55868         * sysdeps/powerpc/soft-fp/sfp-machine.h
55869         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55870         and <sys/prctl.h>.
55871         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55872         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55876         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55878         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55884         Allow copysignl PLT reference to be missing.
55886 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55887             Joseph Myers  <joseph@codesourcery.com
55889         [BZ #15948]
55890         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55891         single character.
55892         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55894 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55896         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55897         * elf/tst-tls1.c: Likewise.
55898         * elf/tst-tls10.h: Likewise.
55899         * elf/tst-tls14.c: Likewise.
55900         * elf/tst-tls2.c: Likewise.
55901         * elf/tst-tls3.c: Likewise.
55902         * elf/tst-tls4.c: Likewise.
55903         * elf/tst-tls5.c: Likewise.
55904         * elf/tst-tls6.c: Likewise.
55905         * elf/tst-tls7.c: Likewise.
55906         * elf/tst-tls8.c: Likewise.
55907         * elf/tst-tls9.c: Likewise.
55908         * elf/tst-tlsmod1.c: Likewise.
55909         * elf/tst-tlsmod13.c: Likewise.
55910         * elf/tst-tlsmod13a.c: Likewise.
55911         * elf/tst-tlsmod14a.c: Likewise.
55912         * elf/tst-tlsmod16a.c: Likewise.
55913         * elf/tst-tlsmod16b.c: Likewise.
55914         * elf/tst-tlsmod2.c: Likewise.
55915         * elf/tst-tlsmod3.c: Likewise.
55916         * elf/tst-tlsmod4.c: Likewise.
55917         * elf/tst-tlsmod5.c: Likewise.
55918         * elf/tst-tlsmod6.c: Likewise.
55920 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55922         [BZ #12486]
55923         * malloc/malloc.c: remove checks for statistics.
55925 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55927         [BZ #15277]
55928         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55929         * inet/tst-network.c: Add testcase.
55931 2013-10-17  Andreas Schwab  <schwab@suse.de>
55933         [BZ #15218]
55934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55935         to determine canonical name.
55937 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55939         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55940         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55941         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55942         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55944         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55945         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55946         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55947         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55948         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55949         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55950         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55951         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55952         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55953         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55954         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55957         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55959         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55960         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55961         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55962         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55964         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55965         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55966         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55967         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55968         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55969         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55971         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55972         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55973         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55974         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55975         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55976         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55977         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55978         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55979         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55980         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55981         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55982         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55983         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55984         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55985         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55986         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55987         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55988         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55989         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55990         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55991         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55992         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55993         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55994         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55995         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55996         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55998 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56000         [BZ #16041]
56001         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56002         make result into a quiet NaN.
56004 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56006         * soft-fp/adddf3.c: Fix horizontal whitespace.
56007         * soft-fp/addsf3.c: Likewise.
56008         * soft-fp/addtf3.c: Likewise.
56009         * soft-fp/divdf3.c: Likewise.
56010         * soft-fp/divsf3.c: Likewise.
56011         * soft-fp/divtf3.c: Likewise.
56012         * soft-fp/double.h: Likewise.
56013         * soft-fp/eqdf2.c: Likewise.
56014         * soft-fp/eqsf2.c: Likewise.
56015         * soft-fp/eqtf2.c: Likewise.
56016         * soft-fp/extenddftf2.c: Likewise.
56017         * soft-fp/extended.h: Likewise.
56018         * soft-fp/extendsfdf2.c: Likewise.
56019         * soft-fp/extendsftf2.c: Likewise.
56020         * soft-fp/extendxftf2.c: Likewise.
56021         * soft-fp/fixdfdi.c: Likewise.
56022         * soft-fp/fixdfsi.c: Likewise.
56023         * soft-fp/fixdfti.c: Likewise.
56024         * soft-fp/fixsfdi.c: Likewise.
56025         * soft-fp/fixsfsi.c: Likewise.
56026         * soft-fp/fixsfti.c: Likewise.
56027         * soft-fp/fixtfdi.c: Likewise.
56028         * soft-fp/fixtfsi.c: Likewise.
56029         * soft-fp/fixtfti.c: Likewise.
56030         * soft-fp/fixunsdfdi.c: Likewise.
56031         * soft-fp/fixunsdfsi.c: Likewise.
56032         * soft-fp/fixunsdfti.c: Likewise.
56033         * soft-fp/fixunssfdi.c: Likewise.
56034         * soft-fp/fixunssfsi.c: Likewise.
56035         * soft-fp/fixunssfti.c: Likewise.
56036         * soft-fp/fixunstfdi.c: Likewise.
56037         * soft-fp/fixunstfsi.c: Likewise.
56038         * soft-fp/fixunstfti.c: Likewise.
56039         * soft-fp/floatdidf.c: Likewise.
56040         * soft-fp/floatdisf.c: Likewise.
56041         * soft-fp/floatditf.c: Likewise.
56042         * soft-fp/floatsidf.c: Likewise.
56043         * soft-fp/floatsisf.c: Likewise.
56044         * soft-fp/floatsitf.c: Likewise.
56045         * soft-fp/floattidf.c: Likewise.
56046         * soft-fp/floattisf.c: Likewise.
56047         * soft-fp/floattitf.c: Likewise.
56048         * soft-fp/floatundidf.c: Likewise.
56049         * soft-fp/floatundisf.c: Likewise.
56050         * soft-fp/floatunditf.c: Likewise.
56051         * soft-fp/floatunsidf.c: Likewise.
56052         * soft-fp/floatunsisf.c: Likewise.
56053         * soft-fp/floatunsitf.c: Likewise.
56054         * soft-fp/floatuntidf.c: Likewise.
56055         * soft-fp/floatuntisf.c: Likewise.
56056         * soft-fp/floatuntitf.c: Likewise.
56057         * soft-fp/fmadf4.c: Likewise.
56058         * soft-fp/fmasf4.c: Likewise.
56059         * soft-fp/fmatf4.c: Likewise.
56060         * soft-fp/gedf2.c: Likewise.
56061         * soft-fp/gesf2.c: Likewise.
56062         * soft-fp/getf2.c: Likewise.
56063         * soft-fp/ledf2.c: Likewise.
56064         * soft-fp/lesf2.c: Likewise.
56065         * soft-fp/letf2.c: Likewise.
56066         * soft-fp/muldf3.c: Likewise.
56067         * soft-fp/mulsf3.c: Likewise.
56068         * soft-fp/multf3.c: Likewise.
56069         * soft-fp/negdf2.c: Likewise.
56070         * soft-fp/negsf2.c: Likewise.
56071         * soft-fp/negtf2.c: Likewise.
56072         * soft-fp/op-1.h: Likewise.
56073         * soft-fp/op-2.h: Likewise.
56074         * soft-fp/op-4.h: Likewise.
56075         * soft-fp/op-8.h: Likewise.
56076         * soft-fp/op-common.h: Likewise.
56077         * soft-fp/quad.h: Likewise.
56078         * soft-fp/single.h: Likewise.
56079         * soft-fp/soft-fp.h: Likewise.
56080         * soft-fp/sqrtdf2.c: Likewise.
56081         * soft-fp/sqrtsf2.c: Likewise.
56082         * soft-fp/sqrttf2.c: Likewise.
56083         * soft-fp/subdf3.c: Likewise.
56084         * soft-fp/subsf3.c: Likewise.
56085         * soft-fp/subtf3.c: Likewise.
56086         * soft-fp/truncdfsf2.c: Likewise.
56087         * soft-fp/trunctfdf2.c: Likewise.
56088         * soft-fp/trunctfsf2.c: Likewise.
56089         * soft-fp/trunctfxf2.c: Likewise.
56090         * soft-fp/unorddf2.c: Likewise.
56091         * soft-fp/unordsf2.c: Likewise.
56092         * soft-fp/unordtf2.c: Likewise.
56094 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56096         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56097         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56099 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56101         * elf/dl-libc.c: Clear initfini list after freeing.
56103 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56105         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56106         * soft-fp/addsf3.c: Likewise.
56107         * soft-fp/addtf3.c: Likewise.
56108         * soft-fp/divdf3.c: Likewise.
56109         * soft-fp/divsf3.c: Likewise.
56110         * soft-fp/divtf3.c: Likewise.
56111         * soft-fp/double.h: Likewise.
56112         * soft-fp/eqdf2.c: Likewise.
56113         * soft-fp/eqsf2.c: Likewise.
56114         * soft-fp/eqtf2.c: Likewise.
56115         * soft-fp/extenddftf2.c: Likewise.
56116         * soft-fp/extended.h: Likewise.
56117         * soft-fp/extendsfdf2.c: Likewise.
56118         * soft-fp/extendsftf2.c: Likewise.
56119         * soft-fp/extendxftf2.c: Likewise.
56120         * soft-fp/fixdfdi.c: Likewise.
56121         * soft-fp/fixdfsi.c: Likewise.
56122         * soft-fp/fixdfti.c: Likewise.
56123         * soft-fp/fixsfdi.c: Likewise.
56124         * soft-fp/fixsfsi.c: Likewise.
56125         * soft-fp/fixsfti.c: Likewise.
56126         * soft-fp/fixtfdi.c: Likewise.
56127         * soft-fp/fixtfsi.c: Likewise.
56128         * soft-fp/fixtfti.c: Likewise.
56129         * soft-fp/fixunsdfdi.c: Likewise.
56130         * soft-fp/fixunsdfsi.c: Likewise.
56131         * soft-fp/fixunsdfti.c: Likewise.
56132         * soft-fp/fixunssfdi.c: Likewise.
56133         * soft-fp/fixunssfsi.c: Likewise.
56134         * soft-fp/fixunssfti.c: Likewise.
56135         * soft-fp/fixunstfdi.c: Likewise.
56136         * soft-fp/fixunstfsi.c: Likewise.
56137         * soft-fp/fixunstfti.c: Likewise.
56138         * soft-fp/floatdidf.c: Likewise.
56139         * soft-fp/floatdisf.c: Likewise.
56140         * soft-fp/floatditf.c: Likewise.
56141         * soft-fp/floatsidf.c: Likewise.
56142         * soft-fp/floatsisf.c: Likewise.
56143         * soft-fp/floatsitf.c: Likewise.
56144         * soft-fp/floattidf.c: Likewise.
56145         * soft-fp/floattisf.c: Likewise.
56146         * soft-fp/floattitf.c: Likewise.
56147         * soft-fp/floatundidf.c: Likewise.
56148         * soft-fp/floatundisf.c: Likewise.
56149         * soft-fp/floatunsidf.c: Likewise.
56150         * soft-fp/floatunsisf.c: Likewise.
56151         * soft-fp/floatuntidf.c: Likewise.
56152         * soft-fp/floatuntisf.c: Likewise.
56153         * soft-fp/floatuntitf.c: Likewise.
56154         * soft-fp/fmadf4.c: Likewise.
56155         * soft-fp/fmasf4.c: Likewise.
56156         * soft-fp/fmatf4.c: Likewise.
56157         * soft-fp/gedf2.c: Likewise.
56158         * soft-fp/gesf2.c: Likewise.
56159         * soft-fp/getf2.c: Likewise.
56160         * soft-fp/ledf2.c: Likewise.
56161         * soft-fp/lesf2.c: Likewise.
56162         * soft-fp/letf2.c: Likewise.
56163         * soft-fp/muldf3.c: Likewise.
56164         * soft-fp/mulsf3.c: Likewise.
56165         * soft-fp/multf3.c: Likewise.
56166         * soft-fp/negdf2.c: Likewise.
56167         * soft-fp/negsf2.c: Likewise.
56168         * soft-fp/negtf2.c: Likewise.
56169         * soft-fp/op-1.h: Likewise.
56170         * soft-fp/op-2.h: Likewise.
56171         * soft-fp/op-4.h: Likewise.
56172         * soft-fp/op-8.h: Likewise.
56173         * soft-fp/op-common.h: Likewise.
56174         * soft-fp/quad.h: Likewise.
56175         * soft-fp/single.h: Likewise.
56176         * soft-fp/soft-fp.h: Likewise.
56177         * soft-fp/sqrtdf2.c: Likewise.
56178         * soft-fp/sqrtsf2.c: Likewise.
56179         * soft-fp/sqrttf2.c: Likewise.
56180         * soft-fp/subdf3.c: Likewise.
56181         * soft-fp/subsf3.c: Likewise.
56182         * soft-fp/subtf3.c: Likewise.
56183         * soft-fp/truncdfsf2.c: Likewise.
56184         * soft-fp/trunctfdf2.c: Likewise.
56185         * soft-fp/trunctfsf2.c: Likewise.
56186         * soft-fp/trunctfxf2.c: Likewise.
56187         * soft-fp/unorddf2.c: Likewise.
56188         * soft-fp/unordsf2.c: Likewise.
56189         * soft-fp/unordtf2.c: Likewise.
56191 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56193         [BZ #15672]
56194         * misc/error.c (error_tail): Fix possible buffer overflow.
56196 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56198         [BZ #13028]
56199         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56200         address.
56202 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56204         [BZ #832]
56205         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56206         testing pipefail option.
56208 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56210         * soft-fp/double.h: Indent preprocessor directives inside #if.
56211         * soft-fp/extended.h: Likewise.
56212         * soft-fp/op-2.h: Likewise.
56213         * soft-fp/op-4.h: Likewise.
56214         * soft-fp/op-common.h: Likewise.
56215         * soft-fp/quad.h: Likewise.
56216         * soft-fp/single.h: Likewise.
56217         * soft-fp/soft-fp.h: Likewise.
56219 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56221         * iconv/iconv_prog.c: Fix typos.
56222         * stdio-common/psiginfo-data.h: Likewise.
56224 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56226         [BZ #15764]
56227         * locale/setlocale.c: Fix typo.
56229 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56231         [BZ #16036]
56232         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56233         signaling NaN arguments.
56234         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56235         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56237         [BZ #14910]
56238         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56239         unordered operands.
56240         * soft-fp/gesf2.c (__gesf2): Likewise.
56241         * soft-fp/getf2.c (__getf2): Likewise.
56242         * soft-fp/ledf2.c (__ledf2): Likewise.
56243         * soft-fp/lesf2.c (__lesf2): Likewise.
56244         * soft-fp/letf2.c (__letf2): Likewise.
56246         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56247         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56248         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56249         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56250         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56251         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56252         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56253         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56254         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56255         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56256         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56257         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56258         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56259         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56260         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56261         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56262         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56263         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56264         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56265         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56266         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56267         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56268         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56269         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56270         * soft-fp/floattidf.c (__floattidf): Likewise.
56271         * soft-fp/floattisf.c (__floattisf): Likewise.
56272         * soft-fp/floattitf.c (__floattitf): Likewise.
56273         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56274         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56275         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56276         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56277         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56278         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56279         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56280         * soft-fp/gesf2.c (__gesf2): Likewise.
56281         * soft-fp/getf2.c (__getf2): Likewise.
56282         * soft-fp/ledf2.c (__ledf2): Likewise.
56283         * soft-fp/lesf2.c (__lesf2): Likewise.
56284         * soft-fp/letf2.c (__letf2): Likewise.
56286         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56287         Undefine and redefine.
56288         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56289         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56290         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56291         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56292         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56293         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56294         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56295         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56296         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56297         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56298         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56299         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56300         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56301         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56302         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56304         [BZ #16032]
56305         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56306         without decrementing exponent if mantissa >= that for the
56307         denominator, not >.
56308         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56309         denominator, not >.  Decrement exponent in < case instead of
56310         incrementing in >= case.
56311         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56312         without decrementing exponent if mantissa >= that for the
56313         denominator, not >.
56315         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56316         computing saturated result for unsigned overflow.
56318 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56319             Jeff Law  <law@redhat.com>
56321         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56322         (atan2Mp): Add systemtap probe marker.
56323         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56324         (__ieee754_log): Add systemtap probe marker.
56325         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56326         (atanMp): Add systemtap probe marker.
56327         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56328         (tanMp): Add systemtap probe marker.
56329         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56330         (__slowexp): Add systemtap probe marker.
56331         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56332         (__slowpow): Add systemtap probe marker.
56333         * manual/probes.texi: Document probes.
56335 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56337         [BZ #15362]
56338         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56339         written.
56340         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56341         written.
56342         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56343         written to buffer but not flushed.
56344         * libio/iofwrite_u.c:  Likewise.
56345         * libio/iopadn.c:  Return bytes returned even if EOF was
56346         encountered.
56347         * libio/iowpadn.c:  Likewise.
56348         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56349         if _IO_padn does not write the whole buffer.
56350         [!COMPILE_WPRINTF] (PAD): Likewise.
56352 2013-10-10  David S. Miller  <davem@davemloft.net>
56354         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56355         directory block.
56357 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56359         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56360         instead of FSF address.
56361         * soft-fp/fixdfti.c: Likewise.
56362         * soft-fp/fixsfti.c: Likewise.
56363         * soft-fp/fixtfti.c: Likewise.
56364         * soft-fp/fixunsdfti.c: Likewise.
56365         * soft-fp/fixunssfti.c: Likewise.
56366         * soft-fp/fixunstfti.c: Likewise.
56367         * soft-fp/floattidf.c: Likewise.
56368         * soft-fp/floattisf.c: Likewise.
56369         * soft-fp/floattitf.c: Likewise.
56370         * soft-fp/floatuntidf.c: Likewise.
56371         * soft-fp/floatuntisf.c: Likewise.
56372         * soft-fp/floatuntitf.c: Likewise.
56373         * soft-fp/trunctfxf2.c: Likewise.
56375         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56376         * soft-fp/fixdfti.c: Likewise.
56377         * soft-fp/fixsfti.c: Likewise.
56378         * soft-fp/fixtfti.c: Likewise.
56379         * soft-fp/fixunsdfti.c: Likewise.
56380         * soft-fp/fixunssfti.c: Likewise.
56381         * soft-fp/fixunstfti.c: Likewise.
56382         * soft-fp/floattidf.c: Likewise.
56383         * soft-fp/floattisf.c: Likewise.
56384         * soft-fp/floattitf.c: Likewise.
56385         * soft-fp/floatuntidf.c: Likewise.
56386         * soft-fp/floatuntisf.c: Likewise.
56387         * soft-fp/floatuntitf.c: Likewise.
56388         * soft-fp/trunctfxf2.c: Likewise.
56390 2013-10-10  David S. Miller  <davem@davemloft.net>
56392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56394 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56396         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56397         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56398         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56399         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56400         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56401         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56402         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56405         for NaNs before doing comparisons on argument.
56406         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56407         Likewise.
56409 2013-10-10  Will Newton  <will.newton@linaro.org>
56411         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56412         passed to _int_memalign does not overflow.
56414 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56416         * scripts/bench.pl: Add include-sources directive.
56417         * benchtests/README: Update documentation.
56419 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56421         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56422         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56423         instead of FP_INIT_ROUNDMODE.
56424         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56425         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56427         [BZ #16034]
56428         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56429         copy class of input value.
56430         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56431         not handle exceptions.
56432         * soft-fp/negsf2.c (__negsf2): Likewise.
56433         * soft-fp/negtf2.c (__negtf2): Likewise.
56434         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56436 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56438         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56439         semicolon.  From Linux kernel.
56441 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56443         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56445 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56447         [BZ #156]
56448         * manual/socket.texi: Added statement about buffer
56449         for gethostbyname2_r.
56451 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56453         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56454         Use .p2align directive instead, throughout.
56455         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56456         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56457         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56458         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56459         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56460         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56461         * sysdeps/x86_64/strchr.S: Likewise.
56462         * sysdeps/x86_64/strrchr.S: Likewise.
56464 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56466         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56468         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56470         * sysdeps/generic/math_private.h (__mpsin1): Remove
56471         declaration.
56472         (__mpcos1): Likewise.
56473         (__mpsin): New argument __range_reduce.
56474         (__mpcos): Likewise.
56475         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56476         (slow): Use __mpsin and __mpcos.
56477         (slow1): Likewise.
56478         (slow2): Likewise.
56479         (sloww): Likewise.
56480         (sloww1): Likewise.
56481         (sloww2): Likewise.
56482         (bsloww): Likewise.
56483         (bsloww1): Likewise.
56484         (bsloww2): Likewise.
56485         (cslow2): Likewise.
56486         (csloww): Likewise.
56487         (csloww1): Likewise.
56488         (csloww2): Likewise.
56489         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56490         range_reduce.  Merge in __mpsin1.
56491         (__mpcos): Likewise.
56492         (__mpsin1): Remove.
56493         (__mpcos1): Likewise.
56495 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56497         * locale/loadlocale.c (_nl_intern_locale_data): Use
56498         LOCFILE_ALIGNED_P.
56499         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56500         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56501         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56502         obstack data is appropriately aligned.
56503         (obstack_int32_grow_fast): Likewise.
56504         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56505         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56506         (add_locale_uint32_array): Likewise.
56508 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56510         * benchtests/Makefile: Remove ARGLIST and RET variables.
56511         ($(objpfx)bench-%.c): Pass only function name to the script.
56512         * benchtests/README: Update documentation.
56513         * benchtests/acos-inputs: Add new directives.
56514         * benchtests/acosh-inputs: Likewise.
56515         * benchtests/asin-inputs: Likewise.
56516         * benchtests/asinh-inputs: Likewise.
56517         * benchtests/atan-inputs: Likewise.
56518         * benchtests/atanh-inputs: Likewise.
56519         * benchtests/cos-inputs: Likewise.
56520         * benchtests/cosh-inputs: Likewise.
56521         * benchtests/exp-inputs: Likewise.
56522         * benchtests/log-inputs: Likewise.
56523         * benchtests/pow-inputs: Likewise.
56524         * benchtests/rint-inputs: Likewise.
56525         * benchtests/sin-inputs: Likewise.
56526         * benchtests/sinh-inputs: Likewise.
56527         * benchtests/tan-inputs: Likewise.
56528         * benchtests/tanh-inputs: Likewise.
56529         * scripts/bench.pl: Add support for new directives.
56531 2013-10-07  Alan Modra  <amodra@gmail.com>
56533         * README: Fix careless merge.
56535 2013-10-05  Alan Modra  <amodra@gmail.com>
56537         * NEWS: Mention powerpc64le support and bugs fixed.
56538         * README: Both big-endian and little-endian powerpc64 supported.
56540 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56542         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56543         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56544         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56545         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56547 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56549         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56550         match prototype.
56552 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56554         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56555         Move -mhard-float appending from
56556         ports/sysdeps/powerpc/powerpc32/Makefile.
56557         [$(with-fp) = yes] (ASFLAGS): Likewise.
56558         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56559         * sysdeps/powerpc/nofpu: Move directory from
56560         ports/sysdeps/powerpc/nofpu.
56561         * sysdeps/powerpc/soft-fp: Move directory from
56562         ports/sysdeps/powerpc/soft-fp.
56563         * sysdeps/powerpc/powerpc32/405: Move directory from
56564         ports/sysdeps/powerpc/powerpc32/405.
56565         * sysdeps/powerpc/powerpc32/440: Move directory from
56566         ports/sysdeps/powerpc/powerpc32/440.
56567         * sysdeps/powerpc/powerpc32/464: Move directory from
56568         ports/sysdeps/powerpc/powerpc32/464.
56569         * sysdeps/powerpc/powerpc32/476: Move directory from
56570         ports/sysdeps/powerpc/powerpc32/476.
56571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56572         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56574         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56576         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56578         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56580         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56581         * README: Update for powerpc-*-linux-gnu software floating point
56582         support in libc.
56584         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56585         case to powerpc/powerpc32*.
56586         * sysdeps/unix/sysv/linux/configure: Regenerated.
56588         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56589         (_FPU_MASK_OM): Define as 0x04.
56590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56592         0x00c10080.
56593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56594         0x0000003c.
56595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56598         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56599         getcontext_e500.
56600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56601         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56602         setcontext_e500.
56603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56604         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56605         and setcontext_e500.
56607 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56609         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56611 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56613         * manual/threads.texi (Default Thread Attributes): Fix typo.
56615 2013-10-04  Will Newton  <will.newton@linaro.org>
56617         * malloc/Makefile: Add tst-memalign.
56618         * malloc/tst-memalign.c: New file.
56620         * malloc/tst-posix_memalign.c: Add comments.
56621         (do_test): Add comments and call free on all potentially
56622         allocated pointers. Add space after cast.
56624         * malloc/tst-pvalloc.c: Add comments.
56625         (do_test): Add comments and call free on all potentially
56626         allocated pointers. Remove duplicate check for NULL pointer.
56627         Add space after cast.
56629         * malloc/tst-valloc.c: Add comments.
56630         (do_test): Add comments and call free on all potentially
56631         allocated pointers. Remove duplicate check for NULL pointer.
56632         Add space after cast.
56634 2013-10-04  Alan Modra  <amodra@gmail.com>
56636         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56637         Use stdint types in rather than __attribute__((mode())).
56638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56640 2013-10-04  Alan Modra  <amodra@gmail.com>
56642         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56643         Correct handling of unaligned relocs for little-endian.
56644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56646 2013-10-04  Alan Modra  <amodra@gmail.com>
56648         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56649         * configure: Regenerate.
56650         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56651         * shlib-versions: Likewise.
56653 2013-10-04  Alan Modra  <amodra@gmail.com>
56655         * string/tester.c (test_memrchr): Increment reported test cycle.
56657 2013-10-04  Alan Modra  <amodra@gmail.com>
56659         * string/test-memcpy.c (do_one_test): When reporting errors, print
56660         string address and don't overrun end of string.
56662 2013-10-04  Alan Modra  <amodra@gmail.com>
56664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56665         insrdi.  Make better use of reg selection to speed exit slightly.
56666         Schedule entry path a little better.  Remove useless "are we done"
56667         checks on entry to main loop.  Handle wrapping around zero address.
56668         Correct main loop count.  Handle single left-over word from main
56669         loop inline rather than by using loop_small.  Remove extra word
56670         case in loop_small caused by wrong loop count.  Add little-endian
56671         support.
56672         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56674         cache hint.
56675         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56676         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56677         support.  Avoid rlwimi.
56678         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56680 2013-10-04  Alan Modra  <amodra@gmail.com>
56682         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56683         insrdi.  Formatting.
56684         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56685         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56686         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56687         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56688         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56689         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56691 2013-10-04  Alan Modra  <amodra@gmail.com>
56693         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56695         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56696         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56697         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56698         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56699         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56700         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56701         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56702         use of regs.  Use power7 mtocrf.  Tidy function tails.
56704 2013-10-04  Alan Modra  <amodra@gmail.com>
56706         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56707         Formatting.  Consistently use rXXX register defines or rN defines.
56708         Use early exit labels that avoid restoring unused non-volatile regs.
56709         Make cr field use more consistent with rWORDn compares.  Rename
56710         regs used as shift registers for unaligned loop, using rN defines
56711         for short lifetime/multiple use regs.
56712         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56713         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56714         addi 1,1,64 to pop stack frame.  Simplify return value code.
56715         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56717 2013-10-04  Alan Modra  <amodra@gmail.com>
56719         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56720         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56721         rather than rlwimi.
56722         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56723         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56724         little-endian support.  Correct typos.
56725         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56726         rather than rlwimi.
56727         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56728         in loop and entry code to keep "and." results.
56729         (strchr): Add little-endian support.  Comment.  Move cntlzd
56730         earlier in tail.
56731         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56733 2013-10-04  Alan Modra  <amodra@gmail.com>
56735         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56736         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56737         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56738         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56740 2013-10-04  Alan Modra  <amodra@gmail.com>
56742         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56743         (rTMP): Define as r11.
56744         (strcmp): Add little-endian support.  Optimise tail.
56745         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56746         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56747         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56748         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56749         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56750         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56751         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56753 2013-10-04  Alan Modra  <amodra@gmail.com>
56755         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56756         little-endian support.  Remove unnecessary "are we done" tests.
56757         Handle "s" wrapping around zero and extremely large "size".
56758         Correct main loop count.  Handle single left-over word from main
56759         loop inline rather than by using small_loop.  Correct comments.
56760         Delete "zero" tail, use "end_max" instead.
56761         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56763 2013-10-04  Alan Modra  <amodra@gmail.com>
56765         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56766         support.  Don't branch over align.
56767         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56768         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56769         support.  Rearrange tmp reg use to suit.  Comment.
56770         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56772 2013-10-04  Alan Modra  <amodra@gmail.com>
56774         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56776 2013-10-04  Alan Modra  <amodra@gmail.com>
56778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56779         conditional form of branch and link when obtaining pc.
56780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56782 2013-10-04  Alan Modra  <amodra@gmail.com>
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56785         HIWORD/LOWORD.
56786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56789 2013-10-04  Alan Modra  <amodra@gmail.com>
56791         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56792         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56793         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56794         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56795         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56796         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56797         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56798         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56799         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56800         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56802 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56803             Alistair Popple <alistair@ozlabs.au.ibm.com>
56804             Alan Modra <amodra@gmail.com>
56806         [BZ #15723]
56807         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56808         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56809         _dl_hwcap access for little-endian.
56810         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56811         destroy vmx regs when saving unaligned.
56812         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56814         destroy vmx regs when saving unaligned.
56816 2013-10-04  Alan Modra  <amodra@gmail.com>
56818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56819         Don't use a union to pack hi/low value.
56821 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56823         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56824         for little-endian.
56825         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56826         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56827         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56828         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56829         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56831 2013-10-04  Alan Modra  <amodra@gmail.com>
56833         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56834         constants to usual value for .cst8 section, and remove redundant
56835         high address load.
56836         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56837         constant for 0x1p52.  Load little-endian words of double from
56838         correct stack offsets.
56840 2013-10-04  Alan Modra  <amodra@gmail.com>
56842         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56843         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56844         words of double from correct stack offsets.
56845         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56846         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56847         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56850         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56851         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56852         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56853         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56854         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56855         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56856         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56857         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56858         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56859         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56860         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56861         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56863 2013-10-04  Alan Modra  <amodra@gmail.com>
56865         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56866         64-bit int/double union.
56867         (_FPU_SETCW): Likewise.
56868         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56869         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56871 2013-10-04  Alan Modra  <amodra@gmail.com>
56873         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56874         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56876 2013-10-04  Alan Modra  <amodra@gmail.com>
56878         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56879         use vector int constants.
56880         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56882 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56884         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56885         array with long long.
56886         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56887         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56888         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56889         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56890         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56891         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56892         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56893         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56894         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56895         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56896         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56897         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56898         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56900 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56902         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56903         (__signbit): Likewise.  Correct for little-endian.
56904         (__signbitl): Call __signbit.
56905         (lrint): Correct for little-endian.
56906         (lrintf): Call lrint.
56908 2013-10-04  Alan Modra  <amodra@gmail.com>
56910         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56911         union 32-bit int array member with 64-bit int array.
56912         (t515, tm256): Double rather than long double.
56913         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56915 2013-10-04  Alan Modra  <amodra@gmail.com>
56917         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56918         Delete.
56919         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56921         version of math_ldbl.h.
56923 2013-10-04  Alan Modra  <amodra@gmail.com>
56925         [BZ #15734], [BZ #15735]
56926         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56927         all uses of ieee875 long double macros and unions.  Simplify test
56928         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56929         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56930         normalize after ldbl_extract_mantissa, and don't add hidden bit
56931         already handled.  Don't treat low word of ieee854 mantissa like
56932         low word of IBM long double and mask off bit when testing for
56933         zero.
56934         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56935         all uses of ieee875 long double macros and unions.  Simplify tests
56936         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56937         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56938         two1022, instead use their values.  Recognise that tests for large
56939         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56940         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56941         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56942         test for 0.0L and nan.  Correct negation.
56943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56944         ieee875 long double macros and unions.  Correct output for large
56945         magnitude x.  Correct absolute value calculation.
56946         (__erfcl): Likewise.
56947         * math/libm-test.inc: Add tests for errors discovered in IBM long
56948         double versions of fmodl, remainderl, erfl and erfcl.
56950 2013-10-04  Alan Modra  <amodra@gmail.com>
56952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56953         all uses of ieee854 long double macros and unions.  Simplify tests
56954         for long doubles that are fully specified by the high double.
56955         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56956         Likewise.
56957         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56958         Remove dead code too.
56959         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56960         (__ieee754_ynl): Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56964         Remove dead code too.
56965         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56969         Simplify.
56970         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56971         Simplify.
56972         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56973         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56975         Comment on variable precision.
56976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56978         Likewise.
56979         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56981         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56983         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56985 2013-10-04  Alan Modra  <amodra@gmail.com>
56987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56988         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56989         all uses of ieee854 long double macros and unions.
56990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56991         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56992         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56993         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56994         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56995         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56996         Likewise.
56997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56998         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56999         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57000         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57003         Simplify sign and nan test too.
57004         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57005         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57006         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57007         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57008         Likewise.
57009         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57010         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57011         Likewise.
57012         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57013         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57014         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57015         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57016         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57019 2013-10-04  Alan Modra  <amodra@gmail.com>
57021         * stdio-common/printf_size.c (__printf_size): Don't use
57022         union ieee854_long_double in fpnum union.
57023         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57024         signbit macro to retrieve sign from long double.
57025         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57026         retrieve sign from long double.
57027         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57028         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57029         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57030         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57031         * math/test-misc.c (main): Don't use union ieee854_long_double.
57033 2013-10-04  Alan Modra  <amodra@gmail.com>
57035         [BZ #15680]
57036         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57037         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57038         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57039         calculation.  Remove unnecessary test for denormal exponent.
57040         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57041         Correct handling of denormals.  Avoid undefined shift behaviour.
57042         Correct normalisation of low mantissa when low double is denormal.
57043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57044         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57045         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57046         Correct normalisation of low mantissa.  Test for overflow of high
57047         mantissa and normalise.
57048         (ldbl_nearbyint): Use more readable constant for two52.
57049         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57050         (__mpn_construct_long_double): Fix test for overflow of high
57051         mantissa and correct normalisation.  Avoid undefined shift.
57053 2013-10-04  Alan Modra  <amodra@gmail.com>
57055         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57056         (union ibm_extended_long_double): Define as an array of ieee754_double.
57057         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57059         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57060         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57064         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57069 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57071         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57072         page size instead of calling getpagesize.
57074         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57075         (LOCFILE_ALIGN_MASK): Likewise.
57076         (LOCFILE_ALIGN_UP): Likewise.
57077         (LOCFILE_ALIGNED_P): Likewise.
57078         * locale/programs/ld-collate.c (collate_output): Use the new
57079         macros instead of __alignof__ (int32_t).
57080         * locale/weight.h (findidx): Likewise.
57082 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57084         [BZ #431]
57085         * manual/string.texi: Fix strncat and wcsncat.
57087 2013-10-03  Brooks Moses  <bmoses@google.com>
57089         [BZ #15915]
57090         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57091         * Makerules: ...here, and adjust associated comments.
57093 2013-10-02  Will Newton  <will.newton@linaro.org>
57095         * malloc/Makefile: Add tst-pvalloc.
57096         * malloc/tst-pvalloc.c: New file.
57098 2013-10-02  Will Newton  <will.newton@linaro.org>
57100         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57101         improve test coverage.
57103 2013-10-02  Will Newton  <will.newton@linaro.org>
57105         * malloc/Makefile: Add tst-posix_memalign.
57106         * malloc/tst-posix_memalign.c: New file.
57108 2013-10-01  Eric Blake  <eblake@redhat.com>
57110         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57111         Use __THROWNL rather than __THROW on static functions.
57113 2013-09-30  Petr Machata  <pmachata@redhat.com>
57115         * elf/elf.h (R_AARCH64_ABS16): New macro.
57116         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57117         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57118         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57119         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57120         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57121         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57122         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57123         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57124         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57125         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57126         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57127         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57128         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57129         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57130         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57131         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57132         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57133         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57134         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57135         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57136         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57137         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57138         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57139         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57140         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57141         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57142         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57143         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57144         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57145         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57146         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57147         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57148         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57149         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57150         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57151         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57152         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57153         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57154         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57155         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57156         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57157         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57158         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57159         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57160         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57161         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57162         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57163         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57164         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57165         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57166         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57167         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57168         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57169         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57170         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57171         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57172         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57173         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57174         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57175         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57176         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57177         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57178         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57179         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57180         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57181         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57182         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57183         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57184         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57185         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57186         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57187         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57188         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57189         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57190         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57191         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57192         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57193         (R_AARCH64_TLSDESC_LDR): Likewise.
57194         (R_AARCH64_TLSDESC_ADD): Likewise.
57195         (R_AARCH64_TLSDESC_CALL): Likewise.
57197 2013-09-30  Andreas Schwab  <schwab@suse.de>
57199         [BZ #15048]
57200         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57201         the nss database lookup.
57202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57205 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57207         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57209 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57211         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57212         ${Bash-specific parameter/pattern/string} parameter expansion.
57213         * sysdeps/unix/make-syscalls.sh: Likewise.
57215 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57217         * sysdeps/sh/stackguard-macros.h: New file.
57219 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57223         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57224         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57225         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57226         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57228 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57230         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57231         Fix thread ID register.
57233 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57235         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57236         [POSIX || UNIX98]: Require rather than permitting all symbols from
57237         <time.h>.
57238         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57239         element of struct sched_param.
57240         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57241         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57242         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57243         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57244         constant.
57246 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57248         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57249         argument calculation.
57251 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57253         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57254         Expect macro.
57255         [POSIX] (pthread_attr_t): Do not require type.
57256         [POSIX] (pthread_cond_t): Likewise.
57257         [POSIX] (pthread_condattr_t): Likewise.
57258         [POSIX] (pthread_key_t): Likewise.
57259         [POSIX] (pthread_mutex_t): Likewise.
57260         [POSIX] (pthread_mutexattr_t): Likewise.
57261         [POSIX] (pthread_once_t): Likewise.
57262         [POSIX] (pthread_t): Likewise.
57263         [POSIX-based standards] (pthread_atfork): Expect function.
57265 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57266             Richard Sandiford  <richard@codesourcery.com>
57268         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57269         (swap_endianness_p): New extern variable.
57270         (set_big_endian): New inline function.
57271         (maybe_swap_uint32): Likewise.
57272         (maybe_swap_uint32_array): Likewise.
57273         (maybe_swap_uint32_obstack): Likewise.
57274         * locale/programs/locfile.c: Include <stdbool.h>.
57275         (swap_endianness_p): New variable.
57276         (add_locale_uint32): Call maybe_swap_uint32.
57277         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57278         (write_locale_data): Call maybe_swap_uint32_array.
57279         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57280         maybe_swap_uint32.
57281         (obstack_int32_grow_fast): Likewise.
57282         (output_weightwc): Call maybe_swap_uint32_obstack.
57283         (collate_output): Likewise.
57284         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57285         (OPT_LITTLE_ENDIAN): Likewise.
57286         (options): Add --little-endian and --big-endian options.
57287         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57288         * locale/programs/locarchive.c: Include "locfile.h".
57289         (GET): New macro.
57290         (SET): Likewise.
57291         (INC): Likewise.
57292         (create_archive): Use the new macros to access fields of
57293         structures directly mapped from or written to locale archives.
57294         (oldlocrecentcmp): Likewise.
57295         (enlarge_archive): Likewise.
57296         (insert_name): Likewise.
57297         (add_alias): Likewise.
57298         (add_locale): Likewise.
57299         (delete_locales_from_archive): Likewise.
57300         (show_archive_content): Likewise.
57301         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57302         locale data.
57304 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57306         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57307         http://www.gnu.org/doc/freemanuals.texi.
57308         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57310 2013-09-24  Will Newton  <will.newton@linaro.org>
57312         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57313         macro.
57315 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57317         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57318         unsigned char.
57320 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57322         * manual/threads.texi (POSIX Threads): Fix a typo.
57324 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57326         [BZ #14547]
57327         * string/tst-strcoll-overflow.c: New test case.
57328         * string/Makefile (xtests): Add tst-strcoll-overflow.
57329         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57330         cache if string sizes may cause integer overflow.
57332         [BZ #14547]
57333         * string/strcoll_l.c (coll_seq): New members rule, idx,
57334         save_idx and back_us.
57335         (get_next_seq_nocache): New function.
57336         (do_compare_nocache): New function.
57337         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57338         when malloc fails.
57340 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57342         [BZ #15754]
57343         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57344         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57345         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57347         [BZ #15754]
57348         * elf/Makefile (tests): Add tst-ptrguard1.
57349         (tests-static): Add tst-ptrguard1-static.
57350         (tst-ptrguard1-ARGS): Define.
57351         (tst-ptrguard1-static-ARGS): Define.
57352         * elf/tst-ptrguard1.c: New file.
57353         * elf/tst-ptrguard1-static.c: New file.
57354         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57355         * sysdeps/i386/stackguard-macros.h: Likewise.
57356         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57357         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57358         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57359         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57360         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57361         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57363 2013-09-23  Hector Marco  <hecmargi@upv.es>
57364             Ismael Ripoll  <iripoll@disca.upv.es>
57365             Carlos O'Donell  <carlos@redhat.com>
57367         [BZ #15754]
57368         * sysdeps/generic/stackguard-macros.h: Define
57369         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57370         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57371         Define __pointer_chk_guard_local.
57372         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57373         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57375 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57377         [BZ #15859]
57378         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57380 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57382         * include/string.h (__ffs): Declare as hidden.
57383         * string/ffs.c (__ffs): Define as hidden.
57384         * sysdeps/i386/ffs.c (__ffs): Likewise.
57385         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57386         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57387         * sysdeps/s390/ffs.c (__ffs): Likewise.
57388         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57390 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57392         * NEWS: Mention malloc probes.
57394         * malloc/arena.c (new_heap): New memory_heap_new probe.
57395         (grow_heap): New memory_heap_more probe.
57396         (shrink_heap): New memory_heap_less probe.
57397         (heap_trim): New memory_heap_free probe.
57398         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57399         (systrim): New memory_sbrk_less probe.
57400         * manual/probes.texi: Document them.
57402         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57403         * manual/probes.texi: Document it.
57405         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57406         (__libc_realloc): Add memory_realloc_retry probe.
57407         (__libc_memalign): Add memory_memalign_retry probe.
57408         (__libc_valloc): Add memory_valloc_retry probe.
57409         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57410         (__libc_calloc): Add memory_calloc_retry probe.
57411         * manual/probes.texi: Document them.
57413         * malloc/arena.c (get_free_list): Add probe
57414         memory_arena_reuse_free_list.
57415         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57416         and memory_arena_reuse.
57417         (arena_get2) [!PER_THREAD]: Likewise.
57418         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57419         memory_arena_reuse_realloc.
57420         * manual/probes.texi: Document them.
57422         * malloc/malloc.c (__libc_free): Add
57423         memory_mallopt_free_dyn_thresholds probe.
57424         (__libc_mallopt): Add multiple memory_mallopt probes.
57425         * manual/probes.texi: Document them.
57427         * malloc/malloc.c: Include stap-probe.h.
57428         (__libc_mallopt): Add memory_mallopt probe.
57429         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57430         * manual/probes.texi: New.
57431         * manual/Makefile (chapters): Add probes.
57432         * manual/threads.texi: Set next node.
57434 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57436         [BZ #15963, #13985]
57437         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57438         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57439         Add `Chinese' to `nan' entry name.
57441 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57443         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57444         (POLYNOMIAL): Likewise.
57445         (TAYLOR_SINCOS): Likewise.
57446         (TAYLOR_SLOW): Likewise.
57447         (__sin): Use TAYLOR_SINCOS.
57448         (__cos): Likewise.
57449         (slow): Use TAYLOR_SLOW.
57450         (sloww): Likewise.
57451         (bsloww): Likewise.
57452         (csloww): Likewise.
57454 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57456         * stdlib/strtod_l.c: Fix buffer overrun.
57458 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57460         * benchtests/Makefile (bench): Add sincos.
57461         * benchtests/bench-sincos.c: New file.
57463         * math/libm-test.inc (cos_test_data): New test inputs.
57464         (sin_test_data): Likewise.
57466         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57467         macro.
57468         (__sin): Use it.
57469         (__cos): Likewise.
57470         (slow1): Likewise.
57471         (slow2): Likewise.
57472         (sloww1): Likewise.
57473         (sloww2): Likewise.
57474         (bsloww1): Likewise.
57475         (bsloww2): Likewise.
57476         (cslow2): Likewise.
57477         (csloww1): Likewise.
57478         (csloww2): Likewise.
57480         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57481         function.
57482         (__sin): Use it.
57483         (__cos): Likewise.
57485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57486         gotos.
57487         (__cos): Likewise.
57489 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57491         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57492         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57493         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57494         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57495         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57496         * elf/cache.c (print_entry): Handle the new cache flags.
57498 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57499             Aldy Hernandez  <aldyh@redhat.com>
57501         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57502         Change condition to [_SOFT_FLOAT].
57503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57515         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57518         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57519         declaration.
57521 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57523         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57524         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57525         (__longjmp): Use LOAD_GP to load saved GPRs.
57526         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57527         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57528         (__sigsetjmp): Use SAVE_GP to save GPRs.
57530         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57531         Do not append -msoft-float.
57532         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57534 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57536         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57538 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57540         [BZ #15966]
57541         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57542         (_FPU_GETCW): Use initial "__" on variable and field names but not
57543         on macro parameter name.
57544         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57545         parentheses around reference to macro parameter.
57547 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57549         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57550         prototype.
57551         (ctype_startup): Use uint32_t in cast and sizeof for
57552         ctype->charnames.
57554 2013-09-11  Jia Liu  <proljc@gmail.com>
57556         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57557         __daddr_t_defined.
57558         [__FreeBSD__]: Likewise.
57560 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57563         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57564         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57565         (strchr): Remove __strchr_sse42 ifunc selection.
57566         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57567         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57569 2013-09-11  Will Newton  <will.newton@linaro.org>
57571         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57572         parameter to RES. Remove hardcoded 1000 value.
57573         * benchtests/bench-skeleton.c (main): Pass RES parameter
57574         to TIMING_INIT and multiply result by 1000.
57576 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57580 2013-09-11  Andreas Schwab  <schwab@suse.de>
57582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57583         if not defined.
57584         (O_TMPFILE) [__USE_GNU]: Define.
57585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57586         Define.
57588 2013-09-11  Will Newton  <will.newton@linaro.org>
57590         [BZ #15857]
57591         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57592         does not overflow.
57594 2013-09-11  Will Newton  <will.newton@linaro.org>
57596         [BZ #15856]
57597         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57598         does not overflow.
57600 2013-09-11  Will Newton  <will.newton@linaro.org>
57602         [BZ #15855]
57603         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57604         does not overflow.
57606 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57608         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57609         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57612         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57614 2013-09-10  Allan McRae  <allan@archlinux.org>
57616         [BZ #15748]
57617         * manual/arith.texi (Parsing of Floats): Clarify
57618         cross-reference.
57620         [BZ #15849]
57621         * manual/install.texi (Running make install): Mention
57622         --enable-pt-chown.
57623         * INSTALL: Regenerated.
57625 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57627         * csu/init-first.c (_init): Remove the !SHARED condition around
57628         FPU control word initialization.
57629         * elf/dl-support.c (_dl_fpu_control): New variable.
57630         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57631         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57632         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57633         * math/test-fpucw-static.c: New file.
57634         * math/test-fpucw-ieee.c: New file.
57635         * math/test-fpucw-ieee-static.c: New file.
57636         * math/Makefile (tests): Add `test-fpucw-ieee' and
57637         `$(tests-static)'.
57638         (tests-static): New variable.
57639         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57640         dependency to...
57641         [($(build-shared),yes)]
57642         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57643         ... this.
57644         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57645         New dependency.
57647 2013-09-09  Allan McRae  <allan@archlinux.org>
57649         [BZ #15939]
57650         * manual/string.texi (Collation Functions): Fix typo in
57651         strcoll example.
57652         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57654         [BZ #15893]
57655         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57657         [BZ #15892]
57658         * libio/memstream.c (open_memstream): Fix memory leak.
57659         * libio/wmemstream.c (open_wmemstream): Likewise.
57661         [BZ #15895]
57662         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57664 2013-09-09  Will Newton  <will.newton@linaro.org>
57666         * malloc/Makefile: Add tst-realloc to tests.
57667         * malloc/tst-realloc.c: New file.
57669 2013-09-09  Allan McRae  <allan@archlinux.org>
57671         [BZ #15844]
57672         * COPYING: Update from GNU website to fix FSF address.
57673         * COPYING.LIB: Likewise.
57675 2013-09-06  David S. Miller  <davem@davemloft.net>
57677         * po/zh_TW.po: Update Chinese (traditional) translation from
57678         translation project.
57680 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57681             Joseph Myers  <joseph@codesourcery.com>
57683         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57684         "localeinfo.h".
57685         (obstack_chunk_alloc): New macro.
57686         (obstack_chunk_free): Likewise.
57687         (record_offset): New function.
57688         (init_locale_data): Likewise.
57689         (align_locale_data): Likewise.
57690         (add_locale_empty): Likewise.
57691         (add_locale_raw_data): Likewise.
57692         (add_locale_raw_obstack): Likewise.
57693         (add_locale_string): Likewise.
57694         (add_locale_wstring): Likewise.
57695         (add_locale_uint32): Likewise.
57696         (add_locale_uint32_array): Likewise.
57697         (add_locale_char): Likewise.
57698         (start_locale_structure): Likewise.
57699         (end_locale_structure): Likewise.
57700         (start_locale_prelude): Likewise.
57701         (end_locale_prelude): Likewise.
57702         (write_locale_data): Take locale_file structure rather than an
57703         iovec.
57704         * locale/programs/locfile.h: Include "obstack.h".
57705         (struct locale_file): Change to store locale file contents instead
57706         of header.
57707         (init_locale_data): New prototype.
57708         (align_locale_data): Likewise.
57709         (add_locale_empty): Likewise.
57710         (add_locale_raw_data): Likewise.
57711         (add_locale_raw_obstack): Likewise.
57712         (add_locale_string): Likewise.
57713         (add_locale_wstring): Likewise.
57714         (add_locale_uint32): Likewise.
57715         (add_locale_uint32_array): Likewise.
57716         (add_locale_char): Likewise.
57717         (start_locale_structure): Likewise.
57718         (end_locale_structure): Likewise.
57719         (start_locale_prelude): Likewise.
57720         (end_locale_prelude): Likewise.
57721         (write_locale_data): Update prototype.
57722         * locale/programs/3level.h (struct TABLE): Remove result field.
57723         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57724         Use new locale_file interface.
57725         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57726         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57727         * locale/programs/ld-address.c (address_output): Use new
57728         locale_file interface.
57729         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57730         NO_ADD_LOCALE.
57731         (collate_finish): Don't call collseq_table_finalize.
57732         (collate_output): Use new locale_file interface.
57733         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57734         in file.
57735         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57736         (TABLE): Move defines earlier in file.
57737         (ELEMENT): Likewise.
57738         (DEFAULT): Likewise.
57739         (wctrans_table_add): Move macro and inline function earlier in
57740         file.
57741         (struct wctype_table): Move type earlier in file.
57742         (add_locale_wctype_table): New static prototype.
57743         (struct locale_ctype_t): Use logical types instead of struct iovec
57744         pointers for members.
57745         (ctype_output): Use new locale_file interface.
57746         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57747         new locale_file interface.
57748         (allocate_arrays): Update for use of new locale_file interface.
57749         * locale/programs/ld-identification.c (identification_output): Use
57750         new locale_file interface.
57751         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57752         * locale/programs/ld-messages.c (messages_output): Likewise.
57753         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57754         * locale/programs/ld-name.c (name_output): Likewise.
57755         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57756         * locale/programs/ld-paper.c (paper_output): Likewise.
57757         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57758         * locale/programs/ld-time.c (time_output): Likewise.
57760 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57762         * benchtests/Makefile: Add memrchr benchmark.
57763         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57764         benchmark as memrchr.
57765         * benchtests/bench-memrchr-ifunc.c: New file.
57766         * benchtests/bench-memrchr.c: New file.
57768 2013-09-06   Will Newton  <will.newton@linaro.org>
57770         * benchtests/Makefile (string-bench): Add memcpy.
57772 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57773             Cong Wang  <amwang@redhat.com>
57775         [BZ #15850]
57776         * sysdeps/unix/sysv/linux/bits/in.h
57777         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57778         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57779         before __USE_KERNEL_IPV6_DEFS uses.
57780         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57781         IPPROTO_BEETPH.
57782         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57783         sockaddr_in6, or ipv6_mreq.
57785 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57787         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57788         memory access for final bytes in some large inputs.
57789         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57791 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57793         * string/test-memrchr.c: New file.
57794         * string/test-memrchr-ifunc.c: New file.
57795         * string/Makefile: Add new memrchr testcase.
57797 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57799         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57800         fanotify_init returns EPERM.
57802 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57804         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57805         errors.
57806         (top level): Treat second token from macro or constant entries for
57807         allowed headers as allowed.
57808         * include/complex.h: Condition internal declarations on
57809         [!_ISOMAC].
57810         * include/fenv.h: Condition include of <stdbool.h> and internal
57811         declarations on [!_ISOMAC].
57813 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57815         [BZ #15923]
57816         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57818 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57820         * configure.in (--enable-versioning): Remove configure option.
57821         (libc_cv_asm_symver_directive): Remove configure test.
57822         (libc_cv_ld_version_script_option): Likewise.
57823         (VERSIONING): Remove variable and AC_SUBST.
57824         (DO_VERSIONING): Remove AC_DEFINE.
57825         * configure: Regenerated.
57826         * config.h.in (DO_VERSIONING): Remove macro.
57827         * Makerules [$(versioning) = yes]: Change conditionals to
57828         [$(build-shared) = yes].
57829         * config.make.in (versioning): Remove variable.
57830         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57831         [$(build-shared) = yes].
57832         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57833         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57834         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57835         [$(build-shared) = yes].
57836         * extra-lib.mk [$(versioning) = yes]: Likewise.
57837         * hurd/Makefile [$(versioning) = yes]: Likewise.
57838         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57839         [SHARED].
57840         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57841         [SHARED].
57842         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57843         [SHARED && !NO_HIDDEN].
57844         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57845         [SHARED].
57846         [SHARED && DO_VERSIONING]: Likewise..
57847         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57848         [$(build-shared) = yes].
57849         * manual/install.texi (--disable-versioning): Remove
57850         documentation.
57851         * INSTALL: Regenerated.
57852         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57853         to [SHARED].
57854         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57855         [$(build-shared) = yes].
57856         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57857         * sysdeps/i386/i686/multiarch/strstr-c.c
57858         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57859         [SHARED && !NO_HIDDEN].
57860         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57861         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57862         * sysdeps/powerpc/powerpc32/dl-machine.c
57863         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57864         * sysdeps/powerpc/powerpc32/sysdep.h
57865         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57866         to [SHARED && PIC && !NO_HIDDEN].
57867         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57868         conditional to [SHARED].
57870 2013-09-04   Will Newton  <will.newton@linaro.org>
57872         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57873         * benchtests/bench-string.h: Include bench-timing.h instead
57874         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57875         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57876         call to HP_TIMING_DIFF_INIT.
57877         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57878         instead of hp-timing.h macros.
57879         * benchtests/bench-memchr.c: Likewise.
57880         * benchtests/bench-memcmp.c: Likewise.
57881         * benchtests/bench-memcpy.c: Likewise.
57882         * benchtests/bench-memmem.c: Likewise.
57883         * benchtests/bench-memmove.c: Likewise.
57884         * benchtests/bench-memset.c: Likewise.
57885         * benchtests/bench-rawmemchr.c: Likewise.
57886         * benchtests/bench-strcasecmp.c: Likewise.
57887         * benchtests/bench-strcasestr.c: Likewise.
57888         * benchtests/bench-strcat.c: Likewise.
57889         * benchtests/bench-strchr.c: Likewise.
57890         * benchtests/bench-strcmp.c: Likewise.
57891         * benchtests/bench-strcpy.c: Likewise.
57892         * benchtests/bench-strcpy_chk.c: Likewise.
57893         * benchtests/bench-strlen.c: Likewise.
57894         * benchtests/bench-strncasecmp.c: Likewise.
57895         * benchtests/bench-strncat.c: Likewise.
57896         * benchtests/bench-strncmp.c: Likewise.
57897         * benchtests/bench-strncpy.c: Likewise.
57898         * benchtests/bench-strnlen.c: Likewise.
57899         * benchtests/bench-strpbrk.c: Likewise.
57900         * benchtests/bench-strrchr.c: Likewise.
57901         * benchtests/bench-strspn.c: Likewise.
57902         * benchtests/bench-strstr.c: Likewise.
57904 2013-09-04  Will Newton  <will.newton@linaro.org>
57906         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57908 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57910         [BZ #15427]
57911         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57912         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57913         * math/libm-test.inc (lgamma_test_data): Add more tests.
57914         * sysdeps/i386/fpu/libm-test-ulps: Update.
57915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57917 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57919         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57921         Add ifunc.
57922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57923         Add strcmp-sse2-unaligned
57924         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57926 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57928         * Versions.def (libc): Add GLIBC_2.19.
57930 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57932         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57933         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57935 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57937         [BZ #14155]
57938         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57939         intermediate calculations in recurrence.
57940         (__ieee754_ynf): Likewise.
57941         * math/libm-test.inc (jn_test_data): Do not allow spurious
57942         underflow exception.  Add more tests.
57943         (yn_test_data): Add more tests.
57944         * sysdeps/i386/fpu/libm-test-ulps: Update.
57945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57947 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57949         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57951 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57953         * csu/init-first.c: Fix then/than typos.
57954         * locale/programs/ld-collate.c: Likewise.
57955         * locale/programs/linereader.h: Likewise.
57956         * manual/charset.texi: Likewise.
57957         * manual/filesys.texi: Likewise.
57958         * manual/stdio.texi: Likewise.
57959         * manual/string.texi: Likewise.
57960         * stdlib/fmtmsg.c: Likewise.
57961         * sysdeps/i386/stpncpy.S: Likewise.
57962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57963         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57964         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57965         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57967 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57969         * elf/dl-open.c: Fix typos.
57970         * iconvdata/gbbig5.c: Likewise.
57971         * iconvdata/iso-2022-jp.c: Likewise.
57972         * iconv/gconv_int.h: Likewise.
57973         * iconv/loop.c: Likewise.
57974         * nis/rpcsvc/nis.h: Likewise.
57975         * resolv/ns_name.c: Likewise.
57976         * stdio-common/vfscanf.c: Likewise.
57977         * streams/stropts.h: Likewise.
57978         * sunrpc/rpc_thread.c: Likewise.
57979         * sysdeps/i386/strpbrk.S: Likewise.
57980         * sysdeps/ieee754/k_standard.c: Likewise.
57981         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57982         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57983         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57984         * sysdeps/mach/hurd/profil.c: Likewise.
57985         * sysdeps/s390/dl-procinfo.h: Likewise.
57986         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57987         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57988         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57989         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57992 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57994         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57997 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57999         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58000         aix specific files.
58001         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58002         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58003         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58004         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58005         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58006         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58007         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58008         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58010 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58011             Roland McGrath  <roland@hack.frob.com>
58013         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58014         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58016 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58018         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58019         __executable_start symbol instead of _start.
58021 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58023         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58024         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58025         Move macros to...
58026         * sysdeps/gnu/ldsodefs.h: ... this new file.
58028         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58029         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58030         instead of ELFOSABI_LINUX.
58032         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58033         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58034         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58035         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58036         Likewise.
58037         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58038         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58039         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58040         Likewise.
58041         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58042         (ibm_extended_long_double): Add ieee_nan member.
58043         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58044         (do_test): New function.
58046         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58047         TEST_TRUNC.
58048         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58049         functions, renamed from truncdfsf_test, trunctfsf_test,
58050         trunctfdf_test.
58051         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58052         functions.
58053         (do_test): Run all these.
58055 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58057         * argp/argp-help.c: Fix typos.
58058         * argp/argp-parse.c: Likewise.
58059         * debug/backtracesyms.c: Likewise.
58060         * elf/elf.h: Likewise.
58061         * malloc/malloc.c: Likewise.
58062         * nis/nis_print.c: Likewise.
58063         * resolv/res_comp.c: Likewise.
58064         * stdlib/stdlib.h: Likewise.
58065         * sunrpc/clnt_tcp.c: Likewise.
58066         * sunrpc/clnt_udp.c: Likewise.
58067         * sunrpc/clnt_unix.c: Likewise.
58068         * sysdeps/unix/bsd/ptsname.c: Likewise.
58069         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58070         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58072         Likewise.
58073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58074         Likewise.
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58076         Likewise.
58077         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58079 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58081         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58084 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58086         [BZ #15897]
58087         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58088         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58089         ($(objpfx)bug-dl-leaf): New rule.
58090         ($(objpfx)bug-dl-leaf.so): Likewise.
58091         ($(objpfx)bug-dl-leaf.out): Likewise.
58092         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58093         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58094         * dlfcn/bug-dl-leaf.c: New test.
58095         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58096         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58097         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58098         (dlclose): Likewise.
58099         (dlmopen): Likewise.
58101 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58103         * include/netdb.h [!_ISOMAC]:
58104         Don't include <tls.h>.
58105         (h_errno, __libc_h_errno): Move declaration and macros out of
58106         [_LIBC_REENTRANT].
58108         * include/resolv.h [_RESOLV_H_]:
58109         Don't include <tls.h>.
58110         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58111         * resolv/res_libc.c: Don't include <tls.h>.
58112         (_res): Use __attribute__ ((nocommon)) in place of
58113         __attribute__ ((section (".bss"))).
58115         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58116         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58118         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58120         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58121         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58123         * resolv/res_mkquery.c: Include <sys/time.h>.
58125         * inet/ifreq.c: Moved to ...
58126         * sysdeps/unix/ifreq.c: ... here.
58127         * inet/ifreq.c: New file, true stub version.
58129         * socket/sa_len.c: New file.
58130         * socket/Makefile (aux): Add it.
58131         * sysdeps/unix/sysv/linux/Makefile
58132         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58133         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58134         and #include <socket/sa_len.c>.
58135         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58136         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58138         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58139         * bits/socket.h: ... here.
58141         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58142         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58143         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58145 2013-08-27  Andreas Schwab  <schwab@suse.de>
58147         [BZ #15736]
58148         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58149         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58150         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58151         * string/test-strcasecmp.c (test_main): Run tests in several
58152         locales.
58153         * string/test-strncasecmp.c (test_main): Likewise.
58155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58156         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58157         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58159         (__strncasecmp_ssse3) [PIC]: Likewise.
58161 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58163         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58165         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58166         instead of explicitly declaring xdecrypt.
58167         * nis/nss_nis/nis-publickey.c: Likewise.
58169 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58171         [BZ #15890]
58172         * nscd/aicache.c: Include res_hconf.h.
58173         (addhstaiX): Initialize res_hconf.
58175 2013-08-26  Andreas Schwab  <schwab@suse.de>
58177         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58178         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58180 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58182         * nscd/aicache.c (addhstaiX): Fix indentation.
58184 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58186         * configure.ac: Quote $build_pt_chown test.
58187         * configure: Regenerated.
58189 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58191         [BZ #15532]
58192         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58193         * math/s_cexpf.c (__cexpf): Likewise.
58194         * math/s_cexpl.c (__cexpl): Likewise.
58195         * math/libm-test.inc (cexp_test_data): Correct expected return
58196         value for NaN + i0.  Add another test.
58198 2013-08-22  David S. Miller  <davem@davemloft.net>
58200         * po/ca.po: Update Catalan translation from translation project.
58201         * po/uk.po: Add Ukrainian translations from translation project.
58203 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58205         [BZ #15797]
58206         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58207         is infinite, not alongside NaN test.
58208         * math/s_fdimf.c (__fdimf): Likewise.
58209         * math/s_fdiml.c (__fdiml): Likewise.
58210         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58211         errno is unchanged.
58213 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58215         * argp/argp-help.c: Fix typos.
58216         * crypt/speeds.c: Likewise.
58217         * csu/check_fds.c: Likewise.
58218         * elf/dl-load.c: Likewise.
58219         * elf/dl-open.c: Likewise.
58220         * elf/reldep3.c: Likewise.
58221         * elf/reldep.c: Likewise.
58222         * elf/sprof.c: Likewise.
58223         * iconv/iconv_charmap.c: Likewise.
58224         * iconv/skeleton.c: Likewise.
58225         * iconv/strtab.c: Likewise.
58226         * io/lockf64.c: Likewise.
58227         * libio/libioP.h: Likewise.
58228         * resolv/gai_notify.c: Likewise.
58229         * resolv/ns_name.c: Likewise.
58230         * resolv/ns_samedomain.c: Likewise.
58231         * resolv/res_send.c: Likewise.
58232         * stdlib/random.c: Likewise.
58233         * sunrpc/rpc/xdr.h: Likewise.
58234         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58235         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58236         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58237         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58238         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58240         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58241         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58242         * sysdeps/mach/hurd/check_fds.c: Likewise.
58243         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58245         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58247         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58248         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58249         * sysdeps/pthread/aio_notify.c: Likewise.
58250         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58251         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58252         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58253         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58254         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58256 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58258         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58259         version if bit_Slow_SSE4_2 is set.
58260         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58263 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58265         [BZ #15867]
58266         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58267         trampoline stack frame information.
58268         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58269         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58270         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58271         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58272         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58273         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58274         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58275         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58276         sa_flags value.
58277         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58278         interrupting a syscall and set with option SA_SIGINFO.
58280 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58282         [BZ #15531]
58283         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58284         argument is infinite.
58285         * math/s_cprojf.c (__cprojf): Likewise.
58286         * math/s_cprojl.c (__cprojl): Likewise.
58287         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58288         * math/libm-test.inc (cproj_test_data): Add more tests.
58290         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58292         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58293         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58294         size.  Use __ffs to determine corresponding shift.
58296 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58297             Roland McGrath  <roland@hack.frob.com>
58299         * Makefile (INSTALL): Remove trailing blank lines from output of
58300         makeinfo.
58302 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58304         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58305         Align 32 bit compat elf_greg to 8 bytes.
58307 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58309         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58311 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58313         * string/strcoll_l.c (coll_seq): New structure.
58314         (get_next_seq_cached): New function.
58315         (get_next_seq): New function.
58316         (do_compare): New function.
58317         (STRCOLL): Use GNU style definition.  Simplify implementation
58318         by using get_next_seq, get_next_seq_cached and do_compare.
58320 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58322         [BZ #14699]
58323         CVE-2013-4237
58324         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58325         member.
58326         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58327         member.
58328         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58329         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58330         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58331         conditional.
58332         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58333         GETDENTS_64BIT_ALIGNED.
58334         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58335         * manual/filesys.texi (Reading/Closing Directory): Document
58336         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58337         strongly.
58338         * manual/conf.texi (Limits for Files): Add portability note to
58339         NAME_MAX, PATH_MAX.
58340         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58342 2013-08-13  Andreas Schwab  <schwab@suse.de>
58344         [BZ #15749]
58345         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58346         of fabs.
58347         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58348         LDBL_MAX_EXP >= 16384]: Add tests for it.
58350 2013-08-12  David S. Miller  <davem@davemloft.net>
58352         * version.h (RELEASE): Set to "development".
58353         (VERSION): Set to "2.18.90".
58354         * NEWS: Add 2.19 section.
58356 2013-08-03  David S. Miller  <davem@davemloft.net>
58358         * po/ko.po: Update Korean translation from translation project.
58360 2013-08-01  David S. Miller  <davem@davemloft.net>
58362         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58363         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58364         Bilka.
58366 2013-07-30  David S. Miller  <davem@davemloft.net>
58368         * po/fr.po: Update French translation from translation project.
58370 2013-07-28  David S. Miller  <davem@davemloft.net>
58372         * po/cs.po: Update Czech translation from translation project.
58374         * po/sv.po: Update Swedish translation from translation project.
58376 2013-07-27  David S. Miller  <davem@davemloft.net>
58378         * po/eo.po: Update Esperanto translation from translation project.
58380         * po/vi.po: Update Vietnamese translation from translation project.
58382         * po/de.po: Update German translation from translation project.
58384 2013-07-26  David S. Miller  <davem@davemloft.net>
58386         * po/bg.po: Update Bulgarian translation from translation project.
58388         * po/nl.po: Update Dutch translation from translation project.
58389         * po/pl.po: Update Polish translation from translation project.
58390         * po/ru.po: Update Russian translation from translation project.
58392 2013-07-24  David S. Miller  <davem@davemloft.net>
58394         * po/libc.pot: Update.
58396 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58398         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58399         variable page size.
58400         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58401         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58402         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58404 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58406         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58408 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58409             Andreas Schwab  <schwab@suse.de>
58410             Roland McGrath  <roland@hack.frob.com>
58411             Joseph Myers  <joseph@codesourcery.com>
58412             Carlos O'Donell  <carlos@redhat.com>
58414         [BZ #15755]
58415         * config.h.in: Define HAVE_PT_CHOWN.
58416         * config.make.in (build-pt-chown): New variable.
58417         * configure.in (--enable-pt_chown): New configure option.
58418         * configure: Regenerate.
58419         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58420         build-pt-chown is enabled.
58421         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58422         pt_chown to fix pty ownership.
58423         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58424         CLOSE_ALL_FDS.
58425         * manual/install.texi (Configuring and compiling): Mention
58426         --enable-pt_chown. Add @findex for grantpt.
58427         * INSTALL: Regenerate.
58429 2013-07-20  David S. Miller  <davem@davemloft.net>
58431         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58432         difference between 32-bit and 64-bit.
58434 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58436         [BZ #15711]
58437         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58438         Avoid system header dependency with -ffreestanding.
58439         ($(objpfx)bits/syscall%d): Likewise.
58441 2013-07-13  David S. Miller  <davem@davemloft.net>
58443         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58444         underflows from atanl/atan2l due to bug 15319.
58445         (casinh_test_data): Likewise.
58447 2013-07-07  David S. Miller  <davem@davemloft.net>
58449         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58451 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58453         * sysdeps/i386/fpu/libm-test-ulps: Update.
58454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58456 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58458         * configure.in (--enable-lock-elision): Fix message text.
58459         * INSTALL: Regenerate.
58460         * configure: Regenerate.
58462 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58466 2013-07-03  Andreas Jaeger  <aj@suse.de>
58468         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58469         define.
58470         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58471         (ptrace_peeksiginfo_args): Add.
58472         (__ptrace_peeksiginfo_flags): Add.
58473         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58474         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58475         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58477 2013-07-03  Allan McRae  <allan@archlinux.org>
58479         * sysdeps/i386/fpu/libm-test-ulps: Update.
58481 2013-07-02  David S. Miller  <davem@davemloft.net>
58483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58485 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58489 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58491         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58494 2013-07-02  Andi Kleen <ak@linux.intel.com>
58496         * config.h.in (ENABLE_LOCK_ELISION): Add.
58497         * configure.in (--enable-lock-elision): Add option.
58498         * manual/install.texi: Document --enable lock elision.
58499         * configure: Regenerate
58500         * INSTALL: Regenerate.
58502 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58504         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58505         SSE4.2 strcasecmp for libc.a.
58506         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58508 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58510         [BZ #13304]
58511         * soft-fp/op-common.h (_FP_FMA): New macro.
58512         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58513         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58514         (_FP_MUL_MEAT_1_imm): ... here.
58515         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58516         (_FP_MUL_MEAT_1_wide): ... here.
58517         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58518         (_FP_MUL_MEAT_1_hard): ... here.
58519         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58520         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58521         (_FP_MUL_MEAT_2_wide): ... here.
58522         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58523         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58524         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58525         (_FP_MUL_MEAT_2_gmp): ... here.
58526         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58527         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58528         (_FP_MUL_MEAT_4_wide): ... here.
58529         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58530         (_FP_MUL_MEAT_4_gmp): ... here.
58531         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58532         (_FP_WFRACBITS_DW_S): Likewise.
58533         (_FP_WFRACXBITS_DW_S): Likewise.
58534         (_FP_HIGHBIT_DW_S): Likewise.
58535         (FP_FMA_S): Likewise.
58536         (_FP_FRAC_HIGH_DW_S): Likewise.
58537         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58538         (_FP_WFRACBITS_DW_D): Likewise.
58539         (_FP_WFRACXBITS_DW_D): Likewise.
58540         (_FP_HIGHBIT_DW_D): Likewise.
58541         (FP_FMA_D): Likewise.
58542         (_FP_FRAC_HIGH_DW_D): Likewise.
58543         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58544         (_FP_WFRACBITS_DW_E): Likewise.
58545         (_FP_WFRACXBITS_DW_E): Likewise.
58546         (_FP_HIGHBIT_DW_E): Likewise.
58547         (FP_FMA_E): Likewise.
58548         (_FP_FRAC_HIGH_DW_E): Likewise.
58549         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58550         (_FP_WFRACBITS_DW_Q): Likewise.
58551         (_FP_WFRACXBITS_DW_Q): Likewise.
58552         (_FP_HIGHBIT_DW_Q): Likewise.
58553         (FP_FMA_Q): Likewise.
58554         (_FP_FRAC_HIGH_DW_Q): Likewise.
58555         * soft-fp/fmasf4.c: New file.
58556         * soft-fp/fmadf4.c: Likewise.
58557         * soft-fp/fmatf4.c: Likewise.
58559 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58562         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58563         Silvermont.
58564         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58565         macro.
58566         (index_Slow_SSE4_2): Likewise.
58567         (index_Prefer_PMINUB_for_stringop): Likewise.
58568         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58569         bit_Slow_SSE4_2 is set.
58570         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58571         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58573 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58575         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58576         rtld_global._dl_hwcap2.
58577         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58578         POWER8.
58579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58580         POWER8 feature descriptions defined in _dl_hwcap2.
58581         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58582         string handling for POWER8 feature bits.
58583         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58584         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58585         _dl_powerpc_cap_flags.
58586         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58587         * sysdeps/powerpc/rtld-global-offsets.sym
58588         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58589         _dl_hwcap2 in the rtld_global_ro structure.
58591 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58593         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58594         hardware capabilities in support of AT_HWCAP2.
58595         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58596         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58597         GLRO(dl_hwcap2).
58598         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58599         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58600         explicitly the unknown a_type display mechanism is used.
58601         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58602         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58603         struct member.
58604         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58605         to macro prototype for AT_HWCAP2 support.
58606         * sysdeps/i386/dl-procinfo.h: Likewise.
58607         * sysdeps/s390/dl-procinfo.h: Likewise.
58608         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58609         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58610         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58611         return -1 for unknown a_type display fallback.
58612         * sysdeps/sparc/dl-procinfo.h: Likewise.
58613         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58614         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58616 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58618         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58619         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58621 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58623         [BZ #12492]
58624         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58625         mprotect making __stack_prot writable.
58627 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58628             Joseph Myers  <joseph@codesourcery.com>
58630         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58631         as being properly aligned.
58633 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58635         * dlfcn/modstatic5.c: New file.
58636         * dlfcn/tststatic5.c: New file.
58637         * dlfcn/Makefile (tests): Add tststatic5.
58638         (tests-static): Likewise.
58639         (modules-names): Add modstatic5.
58640         (tststatic5-ENV): New variable.
58641         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58643         [BZ #15022]
58644         * elf/dl-support.c (_dl_main_map): New variable.
58645         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58646         (_dl_nns, _dl_load_adds): Set to 1.
58647         (_dl_initial_searchlist): Refer to _dl_main_map.
58648         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58649         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58650         call to _dl_get_origin.
58651         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58652         around call_map.
58653         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58654         * dlfcn/modstatic3.c: New file.
58655         * dlfcn/tststatic3.c: New file.
58656         * dlfcn/tststatic4.c: New file.
58657         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58658         (tests-static): Likewise.
58659         (modules-names): Add modstatic3.
58660         (tststatic3-ENV, tststatic4-ENV): New variables.
58661         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58662         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58664 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58666         * configure.in (CC): Require GCC version 4.4 or later.
58667         * configure: Regenerated.
58668         * manual/install.texi (Tools for Compilation): Update GCC version
58669         requirement.
58670         * INSTALL: Regenerated.
58672 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58674         [BZ #15674]
58675         * string/test-memcmp.c (check2): New.
58676         (main): Call check2.
58678         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58680 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58682         [BZ #15022]
58683         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58684         over to...
58685         (dl_open_worker) [!SHARED]: ... here.
58687 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58689         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58691 2013-06-25  Richard Henderson  <rth@redhat.com>
58693         * locale/programs/locarchive.c: Include <libc-internal.h>
58695 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58697         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58698         trailing whitespace removed.
58700 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58702         [BZ #10283]
58703         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58704         * locale/programs/locarchive.c: Include libc-mmap.h.
58705         (prepare_address_space): Take two new outputs (the mmap base and len).
58706         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58707         values.
58708         (create_archive): Declare new mmap base and len values for
58709         prepare_address_space, and store the result in ah.
58710         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58711         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58712         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58713         Declare new mmap base and len values for
58714         prepare_address_space, and store the result in new_ah.
58715         (open_archive): Declare new mmap base and len values for
58716         prepare_address_space, and store the result in ah.
58717         (close_archive): If ah->mmap_base is not NULL, use that and
58718         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58719         * sysdeps/generic/libc-mmap.h: New file.
58721 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58723         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58724         (ALIGN_UP): Likewise.
58725         (PTR_ALIGN_DOWN): Likewise.
58726         (PTR_ALIGN_UP): Likewise.
58728 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58730         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58731         entry mapped to PPC_PLATFORM_POWER8.
58732         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58733         POWER8.
58734         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58735         (_dl_string_platform): Add case for exporting platform position for
58736         POWER8.
58737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58738         search path to sysdeps/powerpc/powerpc32/power8 directory.
58739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58740         search path to sysdeps/powerpc/powerpc64/power8 directory.
58741         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58742         power7 directories.
58743         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58744         power7 directories.
58746 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58748         * INSTALL: Regenerate.
58750         * nscd/connections.c (nscd_init): Fix comment.
58752 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58754         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58756         [BZ #15667]
58757         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58758         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58760 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58762         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58763         DL_DST_REQ_STATIC.
58764         (DL_DST_REQ_STATIC): Remove macro.
58766 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58768         [BZ #7006]
58769         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58770         with a shift of 0 bits.
58772 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58774         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58775         $(tststatic-ENV).
58777 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58779         [BZ #15655]
58780         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58782 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58784         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58785         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58786         accepts -fno-tree-loop-distribute-patterns.
58787         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58788         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58789         recursive call.
58790         * string/memset.c (memset): Likewise.
58791         * string/test-memmove.c (simple_memmove): Disable loop transformation
58792         to library calls.
58793         * string/test-memset.c (simple_memset): Likewise.
58794         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58795         * benchtests/bench-memset.c (simple_memset): Likewise.
58796         * configure: Regenerated.
58798 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58800         * math/test-misc.c (main): Ignore fesetround failure when failures
58801         of subsequent rounding tests would be ignored.
58803         [BZ #15654]
58804         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58805         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58806         * math/fegetenv.c (__fegetenv): Return 0.
58807         * math/fegetexcept.c (fegetexcept): Return 0.
58808         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58809         FE_TONEAREST.
58810         * math/feholdexcpt.c (feholdexcept): Return 0.
58811         * math/fesetenv.c (__fesetenv): Return 0.
58812         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58813         argument FE_TONEAREST.
58814         * math/feupdateenv.c (__feupdateenv): Return 0.
58815         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58817 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58819         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58820         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58821         ($(objpfx)rtld-%.os rules): Use them.
58823 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58825         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58826         fields.
58828 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58830         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58831         length of target pattern, then descending length of dependency pattern.
58832         * configure.in (AWK): Require gawk 3.1.2 or newer.
58833         * manual/install.texi (Tools for Compilation): Say that we do.
58834         * configure: Regenerated.
58836         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58837         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58838         * scripts/sysd-rules.awk: ... this new script.
58839         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58840         than a glob-style pattern.
58842 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58844         * math/test-misc.c (main): Do not treat incorrectly rounded
58845         conversions as failure unless ROUNDING_TESTS passes.
58847 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58849         [BZ #15631]
58850         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58851         restore exception state around main square root computation, then
58852         check for inexactness explicitly.
58854         * math/libm-test.inc (fma_test_data): Add another test.
58856 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58858         * manual/threads.texi (Non-POSIX Extensions): New document
58859         node.  Document pthread_getattr_default_np and
58860         pthread_setattr_default_np.
58862         * Versions.def (libpthread): Add GLIBC_2.18.
58863         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58865         Likewise.
58866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58867         Likewise.
58868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58869         Likewise.
58870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58871         Likewise.
58872         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58873         Likewise.
58874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58875         Likewise.
58876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58877         Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58879         Likewise.
58880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58881         Likewise.
58883 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58886         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58888 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58889             H.J. Lu  <hjl.tools@gmail.com>
58891         [BZ #15627]
58892         * sysdeps/x86_64/rtld-memset.c: Remove file.
58893         * sysdeps/x86_64/rtld-memset.S: New file.
58895 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58897         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58898         (test_in_one_mode): Take arguments for whether the rounding mode
58899         is supported for each floating-point type.
58900         (do_test): Pass new arguments to test_in_one_mode using
58901         ROUNDING_TESTS.
58903 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58905         * posix/tst-waitid.c (do_test): Distinguish different instances of
58906         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58907         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58908         before entering the kernel for waitpid.
58910 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58912         * NEWS: Fix note on clock function precision.  Text by Roland
58913         McGrath.
58915 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58917         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58918         it into place only when and if the sanity check passes.
58920 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58922         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58923         output for whether conversion result is exact.  Take argument
58924         indicating whether type is IBM long double.
58925         (round_for_all): Change need_exact field to ibm_ld.
58926         * stdlib/tst-strtod-round.c (struct exactness): New type.
58927         (struct test): Change bool ld_ok field to struct exactness exact.
58928         (TEST): Update all definitions for change to field.
58929         (tests): Regenerate array contents.
58930         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58931         field value.  Check for IBM long double here.
58932         (do_test): Update calls to test_in_one_mode.
58934 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58936         [BZ #12515]
58937         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58938         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58940 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58942         [BZ #15605]
58943         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58944         generated by the compiler on loop optimizations.
58945         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58946         general definitions.
58948 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58950         * math/bug-nextafter.c: Include <math-tests.h>.
58951         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58952         the relevant type.
58953         * math/bug-nexttoward.c: Include <math-tests.h>.
58954         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58955         the relevant type.
58956         * math/test-misc.c: Include <math-tests.h>.
58957         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58958         the relevant type.
58960 2013-06-12  Andreas Jaeger  <aj@suse.de>
58962         * po/ia.po: Update Interlingua translation from translation
58963         project.
58965 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58967         * include/fenv.h: Include stdbool.h.
58968         (struct rm_ctx): New structure.
58969         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58970         Define macro.
58971         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58972         (SET_RESTORE_ROUNDF): Likewise.
58973         (SET_RESTORE_ROUNDL): Likewise.
58974         (SET_RESTORE_ROUND_NOEX): Likewise.
58975         (SET_RESTORE_ROUND_NOEXF): Likewise.
58976         (SET_RESTORE_ROUND_NOEXL): Likewise.
58977         (SET_RESTORE_ROUND_53BIT): Likewise.
58978         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58979         (libc_feresetround_noexf_ctx): Likewise.
58980         (libc_feresetround_noexl_ctx): Likewise.
58981         (libc_feholdsetround_53bit_ctx): Likewise.
58982         (libc_feresetround_53bit_ctx): Likewise.
58983         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58984         (libc_feholdexcept_setround_sse_ctx): New function.
58985         (libc_fesetenv_sse_ctx): Likewise.
58986         (libc_feupdateenv_sse_ctx): Likewise.
58987         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58988         (libc_feholdexcept_setround_387_ctx): Likewise.
58989         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58990         (libc_feholdsetround_387_prec_ctx): Likewise.
58991         (libc_feholdsetround_387_ctx): Likewise.
58992         (libc_feholdsetround_387_53bit_ctx): Likewise.
58993         (libc_feholdsetround_sse_ctx): Likewise.
58994         (libc_feresetround_sse_ctx): Likewise.
58995         (libc_feresetround_387_ctx): Likewise.
58996         (libc_feupdateenv_387_ctx): Likewise.
58997         (libc_feholdexcept_setroundf_ctx): Define macro.
58998         (libc_fesetenvf_ctx): Likewise.
58999         (libc_feupdateenvf_ctx): Likewise.
59000         (libc_feholdsetroundf_ctx): Likewise.
59001         (libc_feresetroundf_ctx): Likewise.
59002         (libc_feholdexcept_setround_ctx): Likewise.
59003         (libc_fesetenv_ctx): Likewise.
59004         (libc_feupdateenv_ctx): Likewise.
59005         (libc_feholdsetround_ctx): Likewise.
59006         (libc_feresetround_ctx): Likewise.
59007         (libc_feholdexcept_setroundl_ctx): Likewise.
59008         (libc_feupdateenvl_ctx): Likewise.
59009         (libc_feholdsetroundl_ctx): Likewise.
59010         (libc_feresetroundl_ctx): Likewise.
59011         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59012         (libc_feresetround_53bit_ctx): Likewise.
59014 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59016         * locale/iso-639.def: Convert to UTF-8.
59018 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59020         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59021         (EXCEPTION_TESTS_double): Likewise.
59022         (EXCEPTION_TESTS_long_double): Likewise.
59023         (EXCEPTION_TESTS): Likewise.
59024         * math/libm-test.inc (test_exceptions): Only test exceptions if
59025         EXCEPTION_TESTS (FLOAT).
59027 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59029         * benchtests/Makefile (string-bench): Add strcpy_chk and
59030         stpcpy_chk.
59031         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59032         * benchtests/bench-stpcpy_chk.c: New file.
59033         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59034         * benchtests/bench-strcpy_chk.c: New file.
59035         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59036         code.
59037         (do_test): Likewise.
59039 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59041         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59042         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59043         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59044         with tabs where appropriate.
59045         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59046         dl-procinfo.h.
59047         [PPC_PLATFORM_PPC440]: Likewise.
59048         [PPC_PLATFORM_PPC464]: Likewise.
59049         [PPC_PLATFORM_PPC476]: Likewise.
59050         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59051         ppc464, and ppc476 platform strings merging from ports/
59052         dl-procinfo.h.
59054 2013-06-11  Andreas Schwab  <schwab@suse.de>
59056         [BZ #14991]
59057         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59058         (from_ucs4_idx): Regenerate.
59059         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59060         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59061         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59062         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59063         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59064         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59065         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59066         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59067         from FROM_LOOP and TO_LOOP specific macros.
59068         (BODY): Handle combining characters.
59069         * iconvdata/BIG5HKSCS.irreversible: Update.
59070         * iconvdata/BIG5HKSCS.precomposed: New file.
59071         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59072         characters.
59073         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59075 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59077         * include/sys/time.h: Fix indentation and add copyright header.
59079         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59080         (do_test): Likewise.
59081         * string/test-memchr.c (do_one_test): Likewise.
59082         (do_test): Likewise.
59083         * string/test-memcmp.c (do_one_test): Likewise.
59084         (do_test): Likewise.
59085         * string/test-memcpy.c (do_one_test): Likewise.
59086         (do_test): Likewise.
59087         * string/test-memmem.c (do_one_test): Likewise.
59088         (do_test): Likewise.
59089         (do_random_tests): Likewise.
59090         * string/test-memmove.c (do_one_test): Likewise.
59091         (do_test): Likewise.
59092         * string/test-memset.c (do_one_test): Likewise.
59093         (do_test): Likewise.
59094         * string/test-rawmemchr.c (do_one_test): Likewise.
59095         (do_test): Likewise.
59096         * string/test-strcasecmp.c (do_one_test): Likewise.
59097         (do_test): Likewise.
59098         * string/test-strcasestr.c (do_one_test): Likewise.
59099         (do_test): Likewise.
59100         * string/test-strcat.c (do_one_test): Likewise.
59101         (do_test): Likewise.
59102         * string/test-strchr.c (do_one_test): Likewise.
59103         (do_test): Likewise.
59104         * string/test-strcmp.c (do_one_test): Likewise.
59105         (do_test): Likewise.
59106         * string/test-strcpy.c (do_one_test): Likewise.
59107         (do_test): Likewise.
59108         * string/test-string.h: Likewise.
59109         (test_init): Likewise.
59110         * string/test-strlen.c (do_one_test): Likewise.
59111         (do_test): Likewise.
59112         * string/test-strncasecmp.c (do_one_test): Likewise.
59113         (do_test): Likewise.
59114         * string/test-strncat.c (do_one_test): Likewise.
59115         (do_test): Likewise.
59116         * string/test-strncmp.c (do_one_test): Likewise.
59117         (do_test_limit): Likewise.
59118         (do_test): Likewise.
59119         * string/test-strncpy.c (do_one_test): Likewise.
59120         (do_test): Likewise.
59121         * string/test-strnlen.c (do_one_test): Likewise.
59122         (do_test): Likewise.
59123         * string/test-strpbrk.c (do_one_test): Likewise.
59124         (do_test): Likewise.
59125         * string/test-strrchr.c (do_one_test): Likewise.
59126         (do_test): Likewise.
59127         * string/test-strspn.c (do_one_test): Likewise.
59128         (do_test): Likewise.
59129         * string/test-strstr.c (do_one_test): Likewise.
59130         (do_test): Likewise.
59132         * benchtests/Makefile (string-bench): Add string benchmarks.
59133         * benchtests/bench-bcopy-ifunc.c: New file.
59134         * benchtests/bench-bcopy.c: New file.
59135         * benchtests/bench-bzero-ifunc.c: New file.
59136         * benchtests/bench-bzero.c: New file.
59137         * benchtests/bench-memccpy-ifunc.c: New file.
59138         * benchtests/bench-memccpy.c: New file.
59139         * benchtests/bench-memchr-ifunc.c: New file.
59140         * benchtests/bench-memchr.c: New file.
59141         * benchtests/bench-memcmp-ifunc.c: New file.
59142         * benchtests/bench-memcmp.c: New file.
59143         * benchtests/bench-memmem-ifunc.c: New file.
59144         * benchtests/bench-memmem.c: New file.
59145         * benchtests/bench-memmove-ifunc.c: New file.
59146         * benchtests/bench-memmove.c: New file.
59147         * benchtests/bench-mempcpy-ifunc.c: New file.
59148         * benchtests/bench-mempcpy.c: New file.
59149         * benchtests/bench-memset-ifunc.c: New file.
59150         * benchtests/bench-memset.c: New file.
59151         * benchtests/bench-rawmemchr-ifunc.c: New file.
59152         * benchtests/bench-rawmemchr.c: New file.
59153         * benchtests/bench-stpcpy-ifunc.c: New file.
59154         * benchtests/bench-stpcpy.c: New file.
59155         * benchtests/bench-stpncpy-ifunc.c: New file.
59156         * benchtests/bench-stpncpy.c: New file.
59157         * benchtests/bench-strcasecmp-ifunc.c: New file.
59158         * benchtests/bench-strcasecmp.c: New file.
59159         * benchtests/bench-strcasestr-ifunc.c: New file.
59160         * benchtests/bench-strcasestr.c: New file.
59161         * benchtests/bench-strcat-ifunc.c: New file.
59162         * benchtests/bench-strcat.c: New file.
59163         * benchtests/bench-strchr-ifunc.c: New file.
59164         * benchtests/bench-strchr.c: New file.
59165         * benchtests/bench-strchrnul-ifunc.c: New file.
59166         * benchtests/bench-strchrnul.c: New file.
59167         * benchtests/bench-strcmp-ifunc.c: New file.
59168         * benchtests/bench-strcmp.c: New file.
59169         * benchtests/bench-strcpy-ifunc.c: New file.
59170         * benchtests/bench-strcpy.c: New file.
59171         * benchtests/bench-strcspn-ifunc.c: New file.
59172         * benchtests/bench-strcspn.c: New file.
59173         * benchtests/bench-strlen-ifunc.c: New file.
59174         * benchtests/bench-strlen.c: New file.
59175         * benchtests/bench-strncasecmp-ifunc.c: New file.
59176         * benchtests/bench-strncasecmp.c: New file.
59177         * benchtests/bench-strncat-ifunc.c: New file.
59178         * benchtests/bench-strncat.c: New file.
59179         * benchtests/bench-strncmp-ifunc.c: New file.
59180         * benchtests/bench-strncmp.c: New file.
59181         * benchtests/bench-strncpy-ifunc.c: New file.
59182         * benchtests/bench-strncpy.c: New file.
59183         * benchtests/bench-strnlen-ifunc.c: New file.
59184         * benchtests/bench-strnlen.c: New file.
59185         * benchtests/bench-strpbrk-ifunc.c: New file.
59186         * benchtests/bench-strpbrk.c: New file.
59187         * benchtests/bench-strrchr-ifunc.c: New file.
59188         * benchtests/bench-strrchr.c: New file.
59189         * benchtests/bench-strspn-ifunc.c: New file.
59190         * benchtests/bench-strspn.c: New file.
59191         * benchtests/bench-strstr-ifunc.c: New file.
59192         * benchtests/bench-strstr.c: New file.
59194         * benchtests/Makefile: Disable parallel execution of targets.
59195         (string-bench): Add memcpy.
59196         (benchset): New variable to store a list of benchmark sets.
59197         (bench-func): Renamed from bench.
59198         (bench-set): New target.
59199         (bench): Depend on bench-func and bench-set.
59200         * benchtests/README: Add section on benchmark sets.
59201         * benchtests/bench-memcpy-ifunc.c: New file.
59202         * benchtests/bench-memcpy.c: New file.
59203         * benchtests/bench-string.h: New file.
59205 2013-06-11  Andreas Schwab  <schwab@suse.de>
59207         [BZ #15577]
59208         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59209         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59210         values in the triple.
59211         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59212         terminator in the group key.
59214 2013-06-11  Andreas Jaeger  <aj@suse.de>
59216         * po/zh_TW.po: Update Chinese (traditional) translation from
59217         translation project.
59219 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59221         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59222         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59223         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59225         (clock_getcpuclockid): Likewise.
59226         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59227         Add weak_alias and libc_hidden_def.
59228         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59229         * rt/clock_gettime.c (clock_gettime): Rename to
59230         __clock_gettime.  Add weak_alias and libc_hidden_def.
59231         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59232         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59233         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59234         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59235         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59236         Likewise.
59237         * rt/clock_settime.c (clock_settime): Rename to
59238         __clock_settime.  Add weak_alias and libc_hidden_def.
59239         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59241 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59243         * mach/err_boot.sub: Remove trailing whitespace.
59244         * mach/err_ipc.sub: Likewise.
59245         * mach/err_mach.sub: Likewise.
59247         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59248         (ROUNDING_TESTS_double): Likewise.
59249         (ROUNDING_TESTS_long_double): Likewise.
59250         (ROUNDING_TESTS): Likewise.
59251         * math/libm-test.inc: Include <math-tests.h>.
59252         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59253         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59254         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59255         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59257 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59259         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59260         of assigning.
59262 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59264         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59265         otherwise empty TRANS lines.
59266         * sysdeps/gnu/errlist.c: Regenerated.
59268         * catgets/gencat.c (error_print): Use (void) in function
59269         definition.
59270         * crypt/crypt_util.c (__init_des): Likewise.
59271         * crypt/speeds.c (Stop): Likewise.
59272         (main): Likewise.
59273         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59274         * inet/ruserpass.c (token): Likewise.
59275         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59276         * intl/localealias.c (extend_alias_table): Likewise.
59277         * intl/plural-exp.c (init_germanic_plural): Likewise.
59278         * libio/fcloseall.c (__fcloseall): Likewise.
59279         * libio/genops.c (_IO_flush_all): Likewise.
59280         (_IO_flush_all_linebuffered): Likewise.
59281         (_IO_cleanup): Likewise.
59282         (_IO_iter_begin): Likewise.
59283         (_IO_iter_end): Likewise.
59284         (_IO_list_lock): Likewise.
59285         (_IO_list_unlock): Likewise.
59286         (_IO_list_resetlock): Likewise.
59287         * libio/getchar.c (getchar): Likewise.
59288         * libio/getchar_u.c (getchar_unlocked): Likewise.
59289         * libio/getwchar.c (getwchar): Likewise.
59290         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59291         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59292         * login/getpt.c (__getpt): Likewise.
59293         * login/tst-utmp.c (main): Likewise.
59294         * malloc/hooks.c (__malloc_check_init): Likewise.
59295         * malloc/malloc.c (__malloc_stats): Likewise.
59296         * malloc/mtrace.c (tr_break): Likewise.
59297         (mtrace): Likewise.
59298         (muntrace): Likewise.
59299         * misc/fstab.c (endfsent): Likewise.
59300         * misc/getclktck.c (__getclktck): Likewise.
59301         * misc/getdtsz.c (__getdtablesize): Likewise.
59302         * misc/gethostid.c (gethostid): Likewise.
59303         * misc/getpagesize.c (__getpagesize): Likewise.
59304         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59305         (__get_nprocs): Likewise.
59306         (__get_phys_pages): Likewise.
59307         (__get_avphys_pages): Likewise.
59308         * misc/getttyent.c (getttyent): Likewise.
59309         (setttyent): Likewise.
59310         (endttyent): Likewise.
59311         * misc/getusershell.c (getusershell): Likewise.
59312         (endusershell): Likewise.
59313         (setusershell): Likewise.
59314         (initshells): Likewise.
59315         * misc/hsearch.c (__hdestroy): Likewise.
59316         * misc/sync.c (sync): Likewise.
59317         * misc/syslog.c (closelog_internal): Likewise.
59318         (closelog): Likewise.
59319         * misc/ttyslot.c (ttyslot): Likewise.
59320         * misc/vhangup.c (vhangup): Likewise.
59321         * posix/fork.c (__fork): Likewise.
59322         * posix/getegid.c (__getegid): Likewise.
59323         * posix/geteuid.c (__geteuid): Likewise.
59324         * posix/getgid.c (__getgid): Likewise.
59325         * posix/getpid.c (__getpid): Likewise.
59326         * posix/getppid.c (__getppid): Likewise.
59327         * posix/getuid.c (__getuid): Likewise.
59328         * posix/pause.c (pause): Likewise.
59329         * posix/setpgrp.c (setpgrp): Likewise.
59330         * posix/setsid.c (__setsid): Likewise.
59331         * posix/test-vfork.c (noop): Likewise.
59332         * resolv/gethnamaddr.c (_endhtent): Likewise.
59333         (_gethtent): Likewise.
59334         (ht_endhostent): Likewise.
59335         (gethostent): Likewise.
59336         (dns_service): Likewise.
59337         * stdlib/drand48.c (drand48): Likewise.
59338         * stdlib/lrand48.c (lrand48): Likewise.
59339         * stdlib/mrand48.c (mrand48): Likewise.
59340         * stdlib/rand.c (rand): Likewise.
59341         * stdlib/random.c (__random): Likewise.
59342         * stdlib/setenv.c (clearenv): Likewise.
59343         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59344         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59345         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59346         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59347         (__get_nprocs): Likewise.
59348         (__get_phys_pages): Likewise.
59349         (__get_avphys_pages): Likewise.
59350         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59351         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59352         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59353         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59354         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59355         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59356         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59357         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59358         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59359         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59360         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59361         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59362         * sysdeps/posix/clock.c (clock): Likewise.
59363         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59364         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59365         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59366         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59367         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59368         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59369         (__get_nprocs_conf): Likewise.
59370         (__get_phys_pages): Likewise.
59371         (__get_avphys_pages): Likewise.
59372         * time/clock.c (clock): Likewise.
59373         * time/tzset.c (__tzname_max): Likewise.
59375 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59377         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59378         (__bswap_32): Do not use "register".
59379         * crypt/crypt.c (_ufc_doit_r): Likewise.
59380         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59381         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59382         * gmon/gmon.c (__monstartup): Likewise.
59383         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59384         * hurd/hurdmalloc.c (more_memory): Likewise.
59385         (malloc): Likewise.
59386         (free): Likewise.
59387         (realloc): Likewise.
59388         (malloc_fork_prepare): Likewise.
59389         (malloc_fork_parent): Likewise.
59390         (malloc_fork_child): Likewise.
59391         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59392         (_svcauth_des): Likewise.
59393         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59394         * inet/inet_net.c (inet_network): Likewise.
59395         * inet/inet_netof.c (inet_netof): Likewise.
59396         * inet/rcmd.c (__validuser2_sa): Likewise.
59397         * io/fts.c (fts_open): Likewise.
59398         (fts_load): Likewise.
59399         (fts_close): Likewise.
59400         (fts_read): Likewise.
59401         (fts_children): Likewise.
59402         (fts_build): Likewise.
59403         (fts_stat): Likewise.
59404         (fts_sort): Likewise.
59405         (fts_alloc): Likewise.
59406         (fts_lfree): Likewise.
59407         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59408         (_IO_file_xsgetn): Likewise.
59409         (_IO_file_xsgetn_mmap): Likewise.
59410         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59411         (_IO_cookie_write): Likewise.
59412         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59413         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59414         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59415         * malloc/obstack.c (_obstack_begin): Likewise.
59416         (_obstack_begin_1): Likewise.
59417         (_obstack_newchunk): Likewise.
59418         (_obstack_allocated_p): Likewise.
59419         (obstack_free): Likewise.
59420         (_obstack_memory_used): Likewise.
59421         * misc/getttyent.c (getttynam): Likewise.
59422         (getttyent): Likewise.
59423         (skip): Likewise.
59424         (value): Likewise.
59425         * misc/getusershell.c (initshells): Likewise.
59426         * misc/syslog.c (__vsyslog_chk): Likewise.
59427         * misc/ttyslot.c (ttyslot): Likewise.
59428         * nis/nis_hash.c (__nis_hash): Likewise.
59429         * posix/fnmatch_loop.c (FCT): Likewise.
59430         * posix/getconf.c (print_all): Likewise.
59431         (main): Likewise.
59432         * posix/getopt.c (exchange): Likewise.
59433         * posix/glob.c (globfree): Likewise.
59434         (prefix_array): Likewise.
59435         (__glob_pattern_type): Likewise.
59436         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59437         (NS_GET32): Likewise.
59438         (NS_PUT16): Likewise.
59439         (NS_PUT32): Likewise.
59440         * resolv/gethnamaddr.c (getanswer): Likewise.
59441         (gethostbyname2): Likewise.
59442         (gethostbyaddr): Likewise.
59443         (_gethtent): Likewise.
59444         (_gethtbyname2): Likewise.
59445         (_gethtbyaddr): Likewise.
59446         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59447         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59448         * resolv/res_init.c (__res_vinit): Likewise.
59449         (net_mask): Likewise.
59450         * resolv/res_mkquery.c (outchar): Likewise.
59451         (PRINT): Likewise.
59452         * stdio-common/printf_fp.c (outchar): Likewise.
59453         (PRINT): Likewise.
59454         * stdio-common/printf_fphex.c (outchar): Likewise.
59455         (PRINT): Likewise.
59456         * stdio-common/printf_size.c (outchar): Likewise.
59457         (PRINT): Likewise.
59458         * stdio-common/test_rdwr.c (main): Likewise.
59459         * stdio-common/tfformat.c (matches): Likewise.
59460         * stdio-common/vfprintf.c (outchar): Likewise.
59461         (printf_unknown): Likewise.
59462         (buffered_vfprintf): Likewise.
59463         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59464         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59465         (ReadFile): Likewise.
59466         * stdlib/qsort.c (SWAP): Likewise.
59467         (_quicksort): Likewise.
59468         * stdlib/setenv.c (__add_to_environ): Likewise.
59469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59470         * stdlib/strtol_l.c (__strtol_l): Likewise.
59471         * stdlib/tst-strtod.c (main): Likewise.
59472         * stdlib/tst-strtol.c (main): Likewise.
59473         * stdlib/tst-strtoll.c (main): Likewise.
59474         * string/bits/string2.h (__strcmp_cc): Likewise.
59475         (__strcmp_cg): Likewise.
59476         (__strcspn_c1): Likewise.
59477         (__strcspn_c2): Likewise.
59478         (__strcspn_c3): Likewise.
59479         (__strspn_c1): Likewise.
59480         (__strspn_c2): Likewise.
59481         (__strspn_c3): Likewise.
59482         (__strsep_1c): Likewise.
59483         (__strsep_2c): Likewise.
59484         (__strsep_3c): Likewise.
59485         * string/memccpy.c (__memccpy): Likewise.
59486         * string/stpcpy.c (__stpcpy): Likewise.
59487         * string/strcmp.c (strcmp): Likewise.
59488         * string/strrchr.c (strrchr): Likewise.
59489         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59490         Likewise.
59491         * sysdeps/mach/hurd/getcwd.c
59492         (_hurd_canonicalize_directory_name_internal): Likewise.
59493         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59494         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59495         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59496         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59497         Likewise, in both definitions.
59498         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59499         definitions.
59500         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59501         64] (__bswap_64): Likewise.
59502         * time/test_time.c (main): Likewise.
59503         * time/tzfile.c (__tzfile_read): Likewise.
59504         (__tzfile_compute): Likewise.
59505         * time/tzset.c (__tzset_parse_tz): Likewise.
59506         (tzset_internal): Likewise.
59507         (compute_change): Likewise.
59508         * wcsmbs/wcscat.c (__wcscat): Likewise.
59509         * wcsmbs/wcschr.c (wcschr): Likewise.
59510         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59511         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59512         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59513         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59514         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59515         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59516         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59517         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59518         * wcsmbs/wmemset.c (wmemset): Likewise.
59520 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59522         * scripts/config.guess: Update to version 2013-05-16.
59523         * scripts/config.sub: Update to version 2013-04-24.
59524         * scripts/install-sh: Update to version 2011-11-20.07.
59525         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59526         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59528 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59530         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59531         * elf/sln.c: Likewise.
59532         * hurd/hurd/ioctl.h: Likewise.
59533         * hurd/hurdmalloc.c: Likewise.
59534         * hurd/xattr.c: Likewise.
59535         * include/shlib-compat.h: Likewise.
59536         * inet/ruserpass.c: Likewise.
59537         * libio/iofgets_u.c: Likewise.
59538         * libio/iofgetws_u.c: Likewise.
59539         * locale/programs/ld-identification.c: Likewise.
59540         * locale/programs/ld-time.c: Likewise.
59541         * mach/msg-destroy.c: Likewise.
59542         * nss/nss_files/files-netgrp.c: Likewise.
59543         * resolv/res_data.c: Likewise.
59544         * soft-fp/op-1.h: Likewise.
59545         * soft-fp/op-2.h: Likewise.
59546         * soft-fp/op-4.h: Likewise.
59547         * soft-fp/op-common.h: Likewise.
59548         * stdio-common/printf_fphex.c: Likewise.
59549         * stdlib/strtod_l.c: Likewise.
59550         * sunrpc/rpc/clnt.h: Likewise.
59551         * sysdeps/generic/framestate.c: Likewise.
59552         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59553         * sysdeps/i386/bsd-setjmp.S: Likewise.
59554         * sysdeps/i386/__longjmp.S: Likewise.
59555         * sysdeps/i386/setjmp.S: Likewise.
59556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59557         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59558         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59559         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59560         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59561         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59562         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59563         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59564         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59565         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59566         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59567         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59568         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59569         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59570         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59571         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59572         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59573         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59574         * sysdeps/ieee754/support.c: Likewise.
59575         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59576         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59577         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59578         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59579         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59580         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59581         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59582         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59583         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59584         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59585         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59586         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59587         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59588         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59589         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59590         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59591         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59594 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59596         * posix/transbug.c: Remove executable mode.
59598 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59600         * crypt/speeds.c: Remove trailing whitespace.
59601         * dlfcn/default.c: Likewise.
59602         * elf/ifuncdep2.c: Likewise.
59603         * elf/ifuncmain1.c: Likewise.
59604         * elf/ifuncmain1vis.c: Likewise.
59605         * elf/testobj.h: Likewise.
59606         * elf/tst-stackguard1.c: Likewise.
59607         * gmon/sys/gmon.h: Likewise.
59608         * hurd/hurdmsg.c: Likewise.
59609         * hurd/new-fd.c: Likewise.
59610         * hurd/ports-get.c: Likewise.
59611         * iconvdata/ibm1008_420.c: Likewise.
59612         * inet/tst-getni1.c: Likewise.
59613         * inet/tst-getni2.c: Likewise.
59614         * libio/ioungetc.c: Likewise.
59615         * libio/wfiledoalloc.c: Likewise.
59616         * manual/libm-err-tab.pl: Likewise.
59617         * math/w_dremf.c: Likewise.
59618         * misc/ftruncate.c: Likewise.
59619         * posix/bug-glob2.c: Likewise.
59620         * posix/tst-pcre.c: Likewise.
59621         * posix/wait4.c: Likewise.
59622         * resolv/README: Likewise.
59623         * resolv/res_debug.h: Likewise.
59624         * resolv/tst-inet_ntop.c: Likewise.
59625         * setjmp/bug269-setjmp.c: Likewise.
59626         * soft-fp/extended.h: Likewise.
59627         * soft-fp/op-1.h: Likewise.
59628         * soft-fp/op-2.h: Likewise.
59629         * soft-fp/op-4.h: Likewise.
59630         * soft-fp/op-8.h: Likewise.
59631         * soft-fp/testit.c: Likewise.
59632         * stdio-common/bug16.c: Likewise.
59633         * stdlib/random.c: Likewise.
59634         * sunrpc/rpcsvc/rquota.x: Likewise.
59635         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59640         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59641         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59642         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59643         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59644         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59645         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59662         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59663         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59664         * sysdeps/ieee754/s_lib_version.c: Likewise.
59665         * sysdeps/mach/hurd/check_fds.c: Likewise.
59666         * sysdeps/mach/hurd/getsockname.c: Likewise.
59667         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59668         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59669         * sysdeps/powerpc/bits/link.h: Likewise.
59670         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59671         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59672         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59673         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59674         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59675         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59676         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59677         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59678         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59679         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59680         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59681         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59682         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59683         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59684         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59685         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59686         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59687         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59689         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59690         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59691         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59693         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59694         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59695         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59696         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59697         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59699         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59700         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59701         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59703         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59704         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59705         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59706         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59707         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59708         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59709         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59710         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59711         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59712         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59713         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59714         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59715         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59716         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59717         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59718         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59719         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59720         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59723         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59724         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59725         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59726         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59727         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59728         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59729         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59730         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59731         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59732         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59733         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59734         * sysdeps/powerpc/sysdep.h: Likewise.
59735         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59736         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59737         * sysdeps/sh/dl-trampoline.S: Likewise.
59738         * sysdeps/sh/memset.S: Likewise.
59739         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59740         * sysdeps/sh/strlen.S: Likewise.
59741         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59742         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59743         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59744         * sysdeps/sparc/sparc32/rem.S: Likewise.
59745         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59746         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59747         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59748         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59749         * sysdeps/sparc/sparc32/urem.S: Likewise.
59750         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59751         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59752         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59753         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59754         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59755         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59756         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59757         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59758         * sysdeps/unix/bsd/times.c: Likewise.
59759         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59760         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59764         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59765         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59766         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59767         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59768         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59769         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59770         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59771         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59772         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59773         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59774         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59775         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59776         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59777         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59778         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59779         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59780         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59781         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59782         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59783         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59784         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59785         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59786         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59787         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59788         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59789         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59790         * sysdeps/x86_64/strcspn.S: Likewise.
59792 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59794         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59795         generated file.  Regenerate properly from gen-translit.pl.
59796         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59797         locale/C-translit.h.
59799 2013-06-05  Andreas Schwab  <schwab@suse.de>
59801         [BZ #15100]
59802         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59803         week as 6 instead of -1.
59804         * time/tst-strptime.c (day_tests): Add test case.
59806 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59808         * sysdeps/generic/math_private.h
59809         (libc_feholdexcept_setround_53bit): Replace with
59810         libc_feholdsetround_53bit.
59811         (libc_feupdateenv_53bit): Replace with
59812         libc_feresetround_53bit.
59813         (SET_RESTORE_ROUND_53BIT): Adjust.
59815 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59817         * string/test-strchrnul.c: Add copyright header.
59819         * posix/tst-getaddrinfo4.c: Increase test timeout.
59821 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59823         [BZ #15536]
59824         * math/libm-test.inc (MAX_EXP): Remove
59825         (MIN_EXP): Define.
59826         (ulp): Use MIN_EXP - MANT_DIG.
59827         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59829 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59831         * po/be.po: Revert last change.
59832         * po/zh_CN.po: Likewise.
59833         * po/header.pot: Likewise.
59835 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59837         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59838         link-libc-deps to empty as target-specific variable.
59839         * Makerules (link-libc-args): New variable.
59840         (libc-for-link): Likewise.
59841         (link-libc-deps): Likewise.
59842         (lib%.so): Depend on $(link-libc-deps).  Link with
59843         $(link-libc-args).
59844         (build-module): Link with $(link-libc-args).
59845         (build-module-asneeded): Likewise.
59846         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59847         list of objects.
59848         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59849         target-specific variable.
59850         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59851         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59852         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59853         libc.
59854         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59855         libc and ld.so.
59856         ($(objpfx)libpcprofile.so): Likewise.
59857         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59858         libc_nonshared.a.
59859         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59860         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59861         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59862         $(link-libc-deps).
59863         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59864         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59865         * login/Makefile ($(objpfx)libutil.so): Likewise.
59866         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59867         * math/Makefile ($(objpfx)libm.so): Likewise.
59868         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59869         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59870         variable instead of depending directly on libc.
59871         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59872         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59873         $(link-libc-deps).
59874         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59875         libc.
59876         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59877         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59878         ($(objpfx)libanl.so): Likewise.
59879         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59880         ld.so.
59881         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59882         $(link-libc-deps).
59883         * sysdeps/i386/fpu/Makefile: Remove file.
59884         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59885         ($(objpfx)libm.so): Remove dependency on ld.so.
59887 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59889         [BZ # 15553]
59890         * nis/yp_xdr.c (XDRMAXNAME): Define.
59891         (XDRMAXRECORD): Define.
59892         (xdr_domainname): Use XDRMAXNAME.
59893         (xdr_mapname): Likewise.
59894         (xdr_peername): Likewise.
59895         (xdr_keydat): Use XDRMAXRECORD.
59896         (xdr_valdat): Likewise.
59898 2013-05-30  Jeff Law  <law@redhat.com>
59900         [BZ #14256]
59901         * manual/errno.texi (ESTALE): Update to account for more than
59902         just NFS file systems.
59903         * sysdeps/gnu/errlist.c: Regenerated.
59905 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59907         [BZ #15465]
59908         * elf/Makefile (tests): Add tst-null-argv.
59909         (modules-names):  Add tst-null-argv-lib.
59910         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59911         (tst-null-argv-ENV): Set environment for tst-null-argv.
59912         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59913         (RTLD_PROGNAME): New macro.
59914         * elf/tst-null-argv.c: New test case.
59915         * elf/tst-null-argv-lib.c: Library for test case.
59916         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59917         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59918         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59919         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59920         * elf/dl-init.c (call_init): Likewise.
59921         (_dl_init): Likewise.
59922         * elf/dl-load.c (print_search_path): Likewise.
59923         (_dl_map_object): Likewise.
59924         * elf/dl-lookup.c (do_lookup_x): Likewise.
59925         (add_dependency): Likewise.
59926         (_dl_lookup_symbol_x): Likewise.
59927         (_dl_debug_bindings): Likewise.
59928         * elf/dl-open.c (_dl_show_scope): Likewise.
59929         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59930         * elf/dl-version.c (match_symbol): Likewise.
59931         (_dl_check_map_versions): Likewise.
59932         * elf/rtld.c (dl_main): Likewise.
59933         (print_unresolved): Use RTLD_PROGNAME.
59934         (print_missing_version): Likewise.
59935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59936         (elf_machine_rela): Likewise.
59937         * sysdeps/powerpc/powerpc32/dl-machine.c
59938         (__process_machine_rela): Likewise.
59939         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59940         Likewise.
59941         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59942         Likewise.
59943         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59944         Likewise.
59945         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59947         Likewise.
59948         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59949         Likewise.
59950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59952 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59954         * po/be.po: Add descriptive title.
59955         * po/zh_CN.po: Likewise.
59956         * po/header.pot: Likewise.
59958 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59960         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59961         error message.
59962         (enlarge_archive): Likewise.
59964 2013-05-28  Ben North  <ben@redfrontdoor.org>
59966         * manual/arith.texi (frexp): It is the magnitude of the return
59967         value which lies in [0.5, 1), not the return value itself.
59969 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59973 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59975         * stdio-common/bug26.c (main): Correct fscanf template.
59977         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59978         declare _dl_skip_args.
59980         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59981         Don't declare.
59983         * manual/platform.texi: Add missing @end deftypefun.
59985 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59987         [BZ #15529]
59988         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59989         bit of mantissa of 2^16382.
59990         * math/libm-test.inc (hypot_test_data): Add more tests.
59992         * math/libm-test.inc: Add drem and pow10 to list of tested
59993         functions.
59994         (pow10_test): New function.
59995         (drem_test): Likewise.
59996         (drem_test_tonearest): Likewise.
59997         (drem_test_towardzero): Likewise.
59998         (drem_test_downward): Likewise.
59999         (drem_test_upward): Likewise.
60000         (main): Call the new functions.
60002         * math/libm-test.inc (finite_test_data): Remove.
60003         (finite_test): Run tests from isfinite_test_data.
60004         (gamma_test_data): Remove.
60005         (gamma_test): Run tests from lgamma_test_data.
60006         * sysdeps/i386/fpu/libm-test-ulps: Update.
60007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60009 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60011         * manual/platform.texi: Add PowerPC PPR function set documentation.
60012         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60013         implementation.
60015 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60017         * math/libm-test.inc (MAX_EXP): Define.
60018         (ULPDIFF): Define.
60019         (ulp): New function.
60020         (check_float_internal): Use ULPDIFF.
60021         (cpow_test): Disable failing test.
60022         (check_ulp): Test ulp() implementation.
60023         (main): Call check_ulp before starting tests.
60025 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60027         * math/gen-libm-test.pl (generate_testfile): Do not handle
60028         START_DATA and END_DATA.
60029         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60030         END_DATA.
60031         (acos_tonearest_test_data): Likewise.
60032         (acos_towardzero_test_data): Likewise.
60033         (acos_downward_test_data): Likewise.
60034         (acos_upward_test_data): Likewise.
60035         (acosh_test_data): Likewise.
60036         (asin_test_data): Likewise.
60037         (asin_tonearest_test_data): Likewise.
60038         (asin_towardzero_test_data): Likewise.
60039         (asin_downward_test_data): Likewise.
60040         (asin_upward_test_data): Likewise.
60041         (asinh_test_data): Likewise.
60042         (atan_test_data): Likewise.
60043         (atanh_test_data): Likewise.
60044         (atan2_test_data): Likewise.
60045         (cabs_test_data): Likewise.
60046         (cacos_test_data): Likewise.
60047         (cacosh_test_data): Likewise.
60048         (carg_test_data): Likewise.
60049         (casin_test_data): Likewise.
60050         (casinh_test_data): Likewise.
60051         (catan_test_data): Likewise.
60052         (catanh_test_data): Likewise.
60053         (cbrt_test_data): Likewise.
60054         (ccos_test_data): Likewise.
60055         (ccosh_test_data): Likewise.
60056         (ceil_test_data): Likewise.
60057         (cexp_test_data): Likewise.
60058         (cimag_test_data): Likewise.
60059         (clog_test_data): Likewise.
60060         (clog10_test_data): Likewise.
60061         (conj_test_data): Likewise.
60062         (copysign_test_data): Likewise.
60063         (cos_test_data): Likewise.
60064         (cos_tonearest_test_data): Likewise.
60065         (cos_towardzero_test_data): Likewise.
60066         (cos_downward_test_data): Likewise.
60067         (cos_upward_test_data): Likewise.
60068         (cosh_test_data): Likewise.
60069         (cosh_tonearest_test_data): Likewise.
60070         (cosh_towardzero_test_data): Likewise.
60071         (cosh_downward_test_data): Likewise.
60072         (cosh_upward_test_data): Likewise.
60073         (cpow_test_data): Likewise.
60074         (cproj_test_data): Likewise.
60075         (creal_test_data): Likewise.
60076         (csin_test_data): Likewise.
60077         (csinh_test_data): Likewise.
60078         (csqrt_test_data): Likewise.
60079         (ctan_test_data): Likewise.
60080         (ctan_tonearest_test_data): Likewise.
60081         (ctan_towardzero_test_data): Likewise.
60082         (ctan_downward_test_data): Likewise.
60083         (ctan_upward_test_data): Likewise.
60084         (ctanh_test_data): Likewise.
60085         (ctanh_tonearest_test_data): Likewise.
60086         (ctanh_towardzero_test_data): Likewise.
60087         (ctanh_downward_test_data): Likewise.
60088         (ctanh_upward_test_data): Likewise.
60089         (erf_test_data): Likewise.
60090         (erfc_test_data): Likewise.
60091         (exp_test_data): Likewise.
60092         (exp_tonearest_test_data): Likewise.
60093         (exp_towardzero_test_data): Likewise.
60094         (exp_downward_test_data): Likewise.
60095         (exp_upward_test_data): Likewise.
60096         (exp10_test_data): Likewise.
60097         (exp2_test_data): Likewise.
60098         (expm1_test_data): Likewise.
60099         (fabs_test_data): Likewise.
60100         (fdim_test_data): Likewise.
60101         (finite_test_data): Likewise.
60102         (floor_test_data): Likewise.
60103         (fma_test_data): Likewise.
60104         (fma_towardzero_test_data): Likewise.
60105         (fma_downward_test_data): Likewise.
60106         (fma_upward_test_data): Likewise.
60107         (fmax_test_data): Likewise.
60108         (fmin_test_data): Likewise.
60109         (fmod_test_data): Likewise.
60110         (fpclassify_test_data): Likewise.
60111         (frexp_test_data): Likewise.
60112         (gamma_test_data): Likewise.
60113         (hypot_test_data): Likewise.
60114         (ilogb_test_data): Likewise.
60115         (isfinite_test_data): Likewise.
60116         (isgreater_test_data): Likewise.
60117         (isgreaterequal_test_data): Likewise.
60118         (isinf_test_data): Likewise.
60119         (isless_test_data): Likewise.
60120         (islessequal_test_data): Likewise.
60121         (islessgreater_test_data): Likewise.
60122         (isnan_test_data): Likewise.
60123         (isnormal_test_data): Likewise.
60124         (issignaling_test_data): Likewise.
60125         (isunordered_test_data): Likewise.
60126         (j0_test_data): Likewise.
60127         (j1_test_data): Likewise.
60128         (jn_test_data): Likewise.
60129         (ldexp_test_data): Likewise.
60130         (lgamma_test_data): Likewise.
60131         (lrint_test_data): Likewise.
60132         (lrint_tonearest_test_data): Likewise.
60133         (lrint_towardzero_test_data): Likewise.
60134         (lrint_downward_test_data): Likewise.
60135         (lrint_upward_test_data): Likewise.
60136         (llrint_test_data): Likewise.
60137         (llrint_tonearest_test_data): Likewise.
60138         (llrint_towardzero_test_data): Likewise.
60139         (llrint_downward_test_data): Likewise.
60140         (llrint_upward_test_data): Likewise.
60141         (log_test_data): Likewise.
60142         (log10_test_data): Likewise.
60143         (log1p_test_data): Likewise.
60144         (log2_test_data): Likewise.
60145         (logb_test_data): Likewise.
60146         (logb_downward_test_data): Likewise.
60147         (lround_test_data): Likewise.
60148         (llround_test_data): Likewise.
60149         (modf_test_data): Likewise.
60150         (nearbyint_test_data): Likewise.
60151         (nextafter_test_data): Likewise.
60152         (nexttoward_test_data): Likewise.
60153         (pow_test_data): Likewise.
60154         (pow_tonearest_test_data): Likewise.
60155         (pow_towardzero_test_data): Likewise.
60156         (pow_downward_test_data): Likewise.
60157         (pow_upward_test_data): Likewise.
60158         (remainder_test_data): Likewise.
60159         (remainder_tonearest_test_data): Likewise.
60160         (remainder_towardzero_test_data): Likewise.
60161         (remainder_downward_test_data): Likewise.
60162         (remainder_upward_test_data): Likewise.
60163         (remquo_test_data): Likewise.
60164         (rint_test_data): Likewise.
60165         (rint_tonearest_test_data): Likewise.
60166         (rint_towardzero_test_data): Likewise.
60167         (rint_downward_test_data): Likewise.
60168         (rint_upward_test_data): Likewise.
60169         (round_test_data): Likewise.
60170         (scalb_test_data): Likewise.
60171         (scalbn_test_data): Likewise.
60172         (scalbln_test_data): Likewise.
60173         (signbit_test_data): Likewise.
60174         (sin_test_data): Likewise.
60175         (sin_tonearest_test_data): Likewise.
60176         (sin_towardzero_test_data): Likewise.
60177         (sin_downward_test_data): Likewise.
60178         (sin_upward_test_data): Likewise.
60179         (sincos_test_data): Likewise.
60180         (sinh_test_data): Likewise.
60181         (sinh_tonearest_test_data): Likewise.
60182         (sinh_towardzero_test_data): Likewise.
60183         (sinh_downward_test_data): Likewise.
60184         (sinh_upward_test_data): Likewise.
60185         (sqrt_test_data): Likewise.
60186         (tan_test_data): Likewise.
60187         (tan_tonearest_test_data): Likewise.
60188         (tan_towardzero_test_data): Likewise.
60189         (tan_downward_test_data): Likewise.
60190         (tan_upward_test_data): Likewise.
60191         (tanh_test_data): Likewise.
60192         (tgamma_test_data): Likewise.
60193         (trunc_test_data): Likewise.
60194         (y0_test_data): Likewise.
60195         (y1_test_data): Likewise.
60196         (yn_test_data): Likewise.
60197         (significand_test_data): Likewise.
60199         * math/gen-libm-test.pl (@functions): Remove variable.
60200         (generate_testfile): Don't handle START and END lines.
60201         * math/libm-test.inc (START): New macro.
60202         (END): Likewise.
60203         (END_COMPLEX): Likewise.
60204         (acos_test): Use END macro without arguments.
60205         (acos_test_tonearest): Likewise.
60206         (acos_test_towardzero): Likewise.
60207         (acos_test_downward): Likewise.
60208         (acos_test_upward): Likewise.
60209         (acosh_test): Likewise.
60210         (asin_test): Likewise.
60211         (asin_test_tonearest): Likewise.
60212         (asin_test_towardzero): Likewise.
60213         (asin_test_downward): Likewise.
60214         (asin_test_upward): Likewise.
60215         (asinh_test): Likewise.
60216         (atan_test): Likewise.
60217         (atanh_test): Likewise.
60218         (atan2_test): Likewise.
60219         (cabs_test): Likewise.
60220         (cacos_test): Use END_COMPLEX macro without arguments.
60221         (cacosh_test): Likewise.
60222         (carg_test): Use END macro without arguments.
60223         (casin_test): Use END_COMPLEX macro without arguments.
60224         (casinh_test): Likewise.
60225         (catan_test): Likewise.
60226         (catanh_test): Likewise.
60227         (cbrt_test): Use END macro without arguments.
60228         (ccos_test): Use END_COMPLEX macro without arguments.
60229         (ccosh_test): Likewise.
60230         (ceil_test): Use END macro without arguments.
60231         (cexp_test): Use END_COMPLEX macro without arguments.
60232         (cimag_test): Use END macro without arguments.
60233         (clog_test): Use END_COMPLEX macro without arguments.
60234         (clog10_test): Likewise.
60235         (conj_test): Likewise.
60236         (copysign_test): Use END macro without arguments.
60237         (cos_test): Likewise.
60238         (cos_test_tonearest): Likewise.
60239         (cos_test_towardzero): Likewise.
60240         (cos_test_downward): Likewise.
60241         (cos_test_upward): Likewise.
60242         (cosh_test): Likewise.
60243         (cosh_test_tonearest): Likewise.
60244         (cosh_test_towardzero): Likewise.
60245         (cosh_test_downward): Likewise.
60246         (cosh_test_upward): Likewise.
60247         (cpow_test): Use END_COMPLEX macro without arguments.
60248         (cproj_test): Likewise.
60249         (creal_test): Use END macro without arguments.
60250         (csin_test): Use END_COMPLEX macro without arguments.
60251         (csinh_test): Likewise.
60252         (csqrt_test): Likewise.
60253         (ctan_test): Likewise.
60254         (ctan_test_tonearest): Likewise.
60255         (ctan_test_towardzero): Likewise.
60256         (ctan_test_downward): Likewise.
60257         (ctan_test_upward): Likewise.
60258         (ctanh_test): Likewise.
60259         (ctanh_test_tonearest): Likewise.
60260         (ctanh_test_towardzero): Likewise.
60261         (ctanh_test_downward): Likewise.
60262         (ctanh_test_upward): Likewise.
60263         (erf_test): Use END macro without arguments.
60264         (erfc_test): Likewise.
60265         (exp_test): Likewise.
60266         (exp_test_tonearest): Likewise.
60267         (exp_test_towardzero): Likewise.
60268         (exp_test_downward): Likewise.
60269         (exp_test_upward): Likewise.
60270         (exp10_test): Likewise.
60271         (exp2_test): Likewise.
60272         (expm1_test): Likewise.
60273         (fabs_test): Likewise.
60274         (fdim_test): Likewise.
60275         (finite_test): Likewise.
60276         (floor_test): Likewise.
60277         (fma_test): Likewise.
60278         (fma_test_towardzero): Likewise.
60279         (fma_test_downward): Likewise.
60280         (fma_test_upward): Likewise.
60281         (fmax_test): Likewise.
60282         (fmin_test): Likewise.
60283         (fmod_test): Likewise.
60284         (fpclassify_test): Likewise.
60285         (frexp_test): Likewise.
60286         (gamma_test): Likewise.
60287         (hypot_test): Likewise.
60288         (ilogb_test): Likewise.
60289         (isfinite_test): Likewise.
60290         (isgreater_test): Likewise.
60291         (isgreaterequal_test): Likewise.
60292         (isinf_test): Likewise.
60293         (isless_test): Likewise.
60294         (islessequal_test): Likewise.
60295         (islessgreater_test): Likewise.
60296         (isnan_test): Likewise.
60297         (isnormal_test): Likewise.
60298         (issignaling_test): Likewise.
60299         (isunordered_test): Likewise.
60300         (j0_test): Likewise.
60301         (j1_test): Likewise.
60302         (jn_test): Likewise.
60303         (ldexp_test): Likewise.
60304         (lgamma_test): Likewise.
60305         (lrint_test): Likewise.
60306         (lrint_test_tonearest): Likewise.
60307         (lrint_test_towardzero): Likewise.
60308         (lrint_test_downward): Likewise.
60309         (lrint_test_upward): Likewise.
60310         (llrint_test): Likewise.
60311         (llrint_test_tonearest): Likewise.
60312         (llrint_test_towardzero): Likewise.
60313         (llrint_test_downward): Likewise.
60314         (llrint_test_upward): Likewise.
60315         (log_test): Likewise.
60316         (log10_test): Likewise.
60317         (log1p_test): Likewise.
60318         (log2_test): Likewise.
60319         (logb_test): Likewise.
60320         (logb_test_downward): Likewise.
60321         (lround_test): Likewise.
60322         (llround_test): Likewise.
60323         (modf_test): Likewise.
60324         (nearbyint_test): Likewise.
60325         (nextafter_test): Likewise.
60326         (nexttoward_test): Likewise.
60327         (pow_test): Likewise.
60328         (pow_test_tonearest): Likewise.
60329         (pow_test_towardzero): Likewise.
60330         (pow_test_downward): Likewise.
60331         (pow_test_upward): Likewise.
60332         (remainder_test): Likewise.
60333         (remainder_test_tonearest): Likewise.
60334         (remainder_test_towardzero): Likewise.
60335         (remainder_test_downward): Likewise.
60336         (remainder_test_upward): Likewise.
60337         (remquo_test): Likewise.
60338         (rint_test): Likewise.
60339         (rint_test_tonearest): Likewise.
60340         (rint_test_towardzero): Likewise.
60341         (rint_test_downward): Likewise.
60342         (rint_test_upward): Likewise.
60343         (round_test): Likewise.
60344         (scalb_test): Likewise.
60345         (scalbn_test): Likewise.
60346         (scalbln_test): Likewise.
60347         (signbit_test): Likewise.
60348         (sin_test): Likewise.
60349         (sin_test_tonearest): Likewise.
60350         (sin_test_towardzero): Likewise.
60351         (sin_test_downward): Likewise.
60352         (sin_test_upward): Likewise.
60353         (sincos_test): Likewise.
60354         (sinh_test): Likewise.
60355         (sinh_test_tonearest): Likewise.
60356         (sinh_test_towardzero): Likewise.
60357         (sinh_test_downward): Likewise.
60358         (sinh_test_upward): Likewise.
60359         (sqrt_test): Likewise.
60360         (tan_test): Likewise.
60361         (tan_test_tonearest): Likewise.
60362         (tan_test_towardzero): Likewise.
60363         (tan_test_downward): Likewise.
60364         (tan_test_upward): Likewise.
60365         (tanh_test): Likewise.
60366         (tgamma_test): Likewise.
60367         (trunc_test): Likewise.
60368         (y0_test): Likewise.
60369         (y1_test): Likewise.
60370         (yn_test): Likewise.
60371         (significand_test): Likewise.
60373 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60375         [BZ #15381]
60376         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60378 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60380         [BZ #14894]
60381         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60382         __ppc_mdoio and __ppc_mdoom.
60383         * manual/platform.texi: Document new functions __ppc_yield,
60384         __ppc_mdoio and __ppc_mdoom.
60386 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60388         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60389         (main): Mention "tls" pseudo-hwcap is legacy.
60390         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60392 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60394         * math/gen-libm-test.pl (parse_args): Output only string of
60395         arguments as text for test name, not full call or descriptions of
60396         tests for extra outputs.
60397         (generate_testfile): Do not pass function name to parse_args.
60398         Generate this_func variable from START.
60399         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60400         field to arg_str.
60401         (struct test_ff_f_data): Likewise.
60402         (test_ff_f_data_nexttoward): Likewise.
60403         (struct test_fi_f_data): Likewise.
60404         (struct test_fl_f_data): Likewise.
60405         (struct test_if_f_data): Likewise.
60406         (struct test_fff_f_data): Likewise.
60407         (struct test_c_f_data): Likewise.
60408         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60409         (struct test_fF_f1_data): Likewise.
60410         (struct test_ffI_f1_data): Likewise.
60411         (struct test_c_c_data): Rename test_name field to arg_str.
60412         (struct test_cc_c_data): Likewise.
60413         (struct test_f_i_data): Likewise.
60414         (struct test_ff_i_data): Likewise.
60415         (struct test_f_l_data): Likewise.
60416         (struct test_f_L_data): Likewise.
60417         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60418         and extra2_name.
60419         (COMMON_TEST_SETUP): New macro.
60420         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60421         (COMMON_TEST_CLEANUP): Likewise.
60422         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60423         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60424         macros.
60425         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60426         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60427         macros.
60428         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60429         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60430         cleanup macros.
60431         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60432         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60433         macros.
60434         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60435         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60436         macros.
60437         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60438         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60439         cleanup macros.
60440         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60441         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60442         cleanup macros.
60443         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60444         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60445         cleanup macros.
60446         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60447         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60448         macros.
60449         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60450         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60451         macros.
60452         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60453         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60454         macros.
60455         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60456         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60457         cleanup macros.
60458         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60459         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60460         cleanup macros.
60461         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60462         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60463         macros.
60464         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60465         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60466         cleanup macros.
60467         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60468         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60469         macros.
60470         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60471         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60472         macros.
60473         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60474         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60475         cleanup macros.
60476         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60478 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60480         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60481         to _sifields.sigfault.
60482         (si_addr_lsb): Define new macro.
60483         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60484         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60485         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60487 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60489         [BZ #15441]
60490         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60491         returns -1.
60492         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60493         null return -1.
60494         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60495         loading the domain.
60497 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60499         * math/gen-libm-test.pl (parse_args): Do not include expected
60500         result in test name.
60501         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60502         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60503         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60504         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60505         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60508 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60510         * benchtests/Makefile: Sort function entries.
60512         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60513         tanh, asinh, acosh, atanh.
60514         * benchtests/acos-inputs: New file.
60515         * benchtests/acosh-inputs: New file.
60516         * benchtests/asin-inputs: New file.
60517         * benchtests/asinh-inputs: New file.
60518         * benchtests/atanh-inputs: New file.
60519         * benchtests/cosh-inputs: New file.
60520         * benchtests/log-inputs: New file.
60521         * benchtests/sinh-inputs: New file.
60522         * benchtests/tanh-inputs: New file.
60524 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60526         [BZ #15339]
60527         * posix/tst-getaddrinfo4.c: New test.
60528         * posix/Makefile (tests): Add it.
60530 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60532         [BZ #15339]
60533         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60534         when no services were used.
60535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60536         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60538 2013-05-21  Andreas Schwab  <schwab@suse.de>
60540         [BZ #15014]
60541         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60542         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60543         successful.
60544         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60545         redundant variable declarations and reallocation of buffer when
60546         parsing as IPv6 address.  Always set NSS status when called from
60547         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60548         buffer too small.  Correct computation of needed size.
60549         * nss/Makefile (tests): Add test-digits-dots.
60550         * nss/test-digits-dots.c: New test.
60552 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60554         * benchtests/Makefile: Remove instructions for adding
60555         benchmark tests.
60556         * benchtests/README: New file to explain how to execute and
60557         enhance the benchmark tests.
60559 2013-05-21  Andreas Schwab  <schwab@suse.de>
60561         [BZ #15493]
60562         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60563         * setjmp/tst-sigsetjmp.c: New test.
60565 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60567         * sysdeps/x86_64/memset.S (memset): New implementation.
60568         (__bzero): Likewise.
60569         (__memset_tail): New function.
60571 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60573         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60574         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60575         __memcpy_sse2_unaligned ifunc selection.
60576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60577         Add memcpy-sse2-unaligned.S.
60578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60579         Add: __memcpy_sse2_unaligned.
60581 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60583         [BZ #15490]
60584         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60585         math_force_eval before restoring floating-point envrionment.
60586         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60587         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60588         Likewise.
60589         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60590         <math_private.h>.
60591         (__nearbyintl): Use math_force_eval before restoring
60592         floating-point environment.
60593         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60595         * math/gen-libm-test.pl (special_functions): Remove.
60596         (parse_args): Don't handle TEST_extra.  Handle functions with no
60597         return value.
60598         * math/libm-test.inc (struct test_sincos_data): Replace with
60599         struct test_fFF_11_data.
60600         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60601         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60602         (sincos_test_data): Change element type to struct
60603         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60604         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60605         RUN_TEST_LOOP_sincos.
60606         * math/README.libm-test: Don't mention special handling of
60607         individual functions.
60608         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60610         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60611         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60612         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60615         * math/gen-libm-test.pl (get_variable): Remove function.
60616         (parse_args): Don't show pointer parameters to call in test
60617         names.  Use "extra output N" in test names for extra outputs
60618         rather than naming variables.
60620 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60622         [BZ #15488]
60623         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60624         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60625         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60626         double tests.
60627         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60628         disable.
60629         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60630         check_long_double.
60632         * math/gen-libm-test.pl (@tests): Remove variable.
60633         ($count): Likewise.
60634         (new_test): Remove function.
60635         (show_exceptions): New function.
60636         (special_functions): Use show_exceptions instead of new_test.
60637         (parse_args): Likewise.
60638         (generate_testfile): Pass only function name in generated call to
60639         print_max_error or print_complex_max_error.
60640         (get_ulps): Do not handle complex tests specially.
60641         (output_test): Rename to ...
60642         (get_all_ulps_for_test): ... this.  Return a string rather than
60643         printing to a file.  Require ulps to be present.
60644         (output_ulps): Generate arrays rather than #defines.
60645         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60646         (struct ulp_data): New type.
60647         (BUILD_COMPLEX_ULP): Remove macro.
60648         (compare_ulp_data): New function.
60649         (find_ulps): Likewise.
60650         (find_test_ulps): Likewise.
60651         (find_function_ulps): Likewise.
60652         (find_complex_function_ulps): Likewise.
60653         (print_max_error): Determine allowed ulps using
60654         find_function_ulps.
60655         (print_complex_max_error): Determine allowed ulps using
60656         find_complex_function_ulps.
60657         (check_float_internal): Determine max ulps using find_test_ulps.
60658         (check_float): Do not take max_ulp parameter.  Update call to
60659         check_float_internal.
60660         (check_complex): Likewise.
60661         (check_int): Do not take max_ulp parameter.
60662         (check_long): Likewise.
60663         (check_bool): Likewise.
60664         (check_longlong): Likewise.
60665         (struct test_f_f_data): Remove max_ulp field.
60666         (struct test_ff_f_data): Likewise.
60667         (struct test_ff_f_data_nexttoward): Likewise.
60668         (struct test_fi_f_data): Likewise.
60669         (struct test_fl_f_data): Likewise.
60670         (struct test_if_f_data): Likewise.
60671         (struct test_fff_f_data): Likewise.
60672         (struct test_c_f_data): Likewise.
60673         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60674         (struct test_fF_f1_data): Likewise.
60675         (struct test_ffI_f1_data): Likewise.
60676         (struct test_c_c_data): Remove max_ulp field.
60677         (struct test_cc_c_data): Likewise.
60678         (struct test_f_i_data): Likewise.
60679         (struct test_ff_i_data): Likewise.
60680         (struct test_f_l_data): Likewise.
60681         (struct test_f_L_data): Likewise.
60682         (struct test_sincos_data): Likewise.
60683         (RUN_TEST_f_f): Do not handle ulps.
60684         (RUN_TEST_LOOP_f_f): Likewise.
60685         (RUN_TEST_2_f): Likewise.
60686         (RUN_TEST_LOOP_2_f): Likewise.
60687         (RUN_TEST_fff_f): Likewise.
60688         (RUN_TEST_LOOP_fff_f): Likewise.
60689         (RUN_TEST_c_f): Likewise.
60690         (RUN_TEST_LOOP_c_f): Likewise.
60691         (RUN_TEST_f_f1): Likewise.
60692         (RUN_TEST_LOOP_f_f1): Likewise.
60693         (RUN_TEST_fF_f1): Likewise.
60694         (RUN_TEST_LOOP_fF_f1): Likewise.
60695         (RUN_TEST_fI_f1): Likewise.
60696         (RUN_TEST_LOOP_fI_f1): Likewise.
60697         (RUN_TEST_ffI_f1): Likewise.
60698         (RUN_TEST_LOOP_ffI_f1): Likewise.
60699         (RUN_TEST_c_c): Likewise.
60700         (RUN_TEST_LOOP_c_c): Likewise.
60701         (RUN_TEST_cc_c): Likewise.
60702         (RUN_TEST_LOOP_cc_c): Likewise.
60703         (RUN_TEST_f_i): Likewise.
60704         (RUN_TEST_LOOP_f_i): Likewise.
60705         (RUN_TEST_f_i_tg): Likewise.
60706         (RUN_TEST_LOOP_f_i_tg): Likewise.
60707         (RUN_TEST_ff_i_tg): Likewise.
60708         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60709         (RUN_TEST_f_b): Likewise.
60710         (RUN_TEST_LOOP_f_b): Likewise.
60711         (RUN_TEST_f_b_tg): Likewise.
60712         (RUN_TEST_LOOP_f_b_tg): Likewise.
60713         (RUN_TEST_f_l): Likewise.
60714         (RUN_TEST_LOOP_f_l): Likewise.
60715         (RUN_TEST_f_L): Likewise.
60716         (RUN_TEST_LOOP_f_L): Likewise.
60717         (RUN_TEST_sincos): Likewise.
60718         (RUN_TEST_LOOP_sincos): Likewise.
60720 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60722         [BZ #15480]
60723         [BZ #15485]
60724         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60725         main case of finite arguments, set rounding mode to FE_TONEAREST
60726         and discard exceptions.
60727         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60728         exceptions.
60729         (remainder_tonearest_test_data): New variable.
60730         (remainder_test_tonearest): New function.
60731         (remainder_towardzero_test_data): New variable.
60732         (remainder_test_towardzero): New function.
60733         (remainder_downward_test_data): New variable.
60734         (remainder_test_downward): New function.
60735         (remainder_upward_test_data): New variable.
60736         (remainder_test_upward): New function.
60737         (main): Call the new test functions.
60739         * math/libm-test.inc (struct test_f_f1_data): Remove field
60740         extra_init.
60741         (struct test_fF_f1_data): Likewise.
60742         (struct test_ffI_f1_data): Likewise.
60743         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60744         based on value of EXTRA_EXPECTED.
60745         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60746         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60747         EXTRA_VAR based on value of EXTRA_EXPECTED.
60748         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60749         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60750         EXTRA_VAR based on value of EXTRA_EXPECTED.
60751         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60752         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60753         EXTRA_VAR based on value of EXTRA_EXPECTED.
60754         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60755         * math/gen-libm-test.pl (parse_args): Don't output initializers
60756         for extra output values.
60758         * math/libm-test.inc (check_int): Expect result to be exactly
60759         equal to expected value and do not handle ulps.
60760         (check_long): Likewise.
60761         (check_longlong): Likewise.
60763         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60764         exceptions.
60765         (cimag_test_data): Likewise.
60766         (conj_test_data): Likewise.
60767         (copysign_test_data): Likewise.
60768         (cproj_test_data): Likewise.
60769         (creal_test_data): Likewise.
60770         (fabs_test_data): Likewise.
60771         (fdim_test_data): Likewise.
60772         (finite_test_data): Likewise.
60773         (floor_test_data): Likewise.
60774         (fmax_test_data): Likewise.
60775         (fmin_test_data): Likewise.
60776         (fmod_test_data): Likewise.
60777         (fpclassify_test_data): Likewise.
60778         (frexp_test_data): Likewise.
60779         (ilogb_test_data): Likewise.
60780         (isfinite_test_data): Likewise.
60781         (isgreater_test_data): Likewise.
60782         (isgreaterequal_test_data): Likewise.
60783         (isinf_test_data): Likewise.
60784         (isless_test_data): Likewise.
60785         (islessequal_test_data): Likewise.
60786         (islessgreater_test_data): Likewise.
60787         (isnan_test_data): Likewise.
60788         (isnormal_test_data): Likewise.
60789         (issignaling_test_data): Likewise.
60790         (isunordered_test_data): Likewise.
60791         (ldexp_test_data): Likewise.
60792         (lrint_test_data): Likewise.
60793         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60794         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60795         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60796         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60797         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60798         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60799         test input.
60800         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60801         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60802         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60803         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60804         that test input.
60805         (lrint_downward_test_data): Test for "inexact" exceptions.
60806         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60807         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60808         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60809         test input.
60810         (lrint_upward_test_data): Test for "inexact" exceptions.
60811         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60812         test input.
60813         (llrint_test_data): Test for "inexact" exceptions.
60814         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60815         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60816         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60817         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60818         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60819         (llrint_downward_test_data): Test for "inexact" exceptions.
60820         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60821         (llrint_upward_test_data): Test for "inexact" exceptions.
60822         (logb_test_data): Likewise.
60823         (logb_downward_test_data): Likewise.
60824         (nextafter_test_data): Likewise.
60825         (nexttoward_test_data): Likewise.
60826         (remainder_test_data): Likewise.
60827         (remquo_test_data): Likewise.
60828         (scalbn_test_data): Likewise.
60829         (scalbln_test_data): Likewise.
60830         (signbit_test_data): Likewise.
60831         (sqrt_test_data): Likewise.
60832         (significand_test_data): Likewise.
60834 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60836         [BZ #15424]
60837         * benchtests/bench-modf.c (struct args): Mark arg0 as
60838         volatile.
60839         * scripts/bench.pl: Mark members of struct args as volatile.
60841 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60843         [BZ # 15497]
60844         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60845         negative infinity on POWER6 or lower.
60846         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60848 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60850         [BZ #15442]
60851         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60852         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60853         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60854         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60855         (_FP_SETQNAN): New macro.
60856         (_FP_SETQNAN_SEMIRAW): Likewise.
60857         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60858         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60859         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60860         (FP_EXTEND): Use _FP_FRAC_SNANP.
60861         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60862         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60863         into account.
60864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60865         New macro.
60866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60867         Likewise.
60869 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60871         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60872         with DIVIDE_BY_ZERO_EXCEPTION.
60873         (gamma_test_data): Likewise.
60874         (lgamma_test_data): Likewise.
60875         (log_test_data): Likewise.
60876         (log10_test_data): Likewise.
60877         (log2_test_data): Likewise.
60878         (tgamma_test_data): Likewise.
60880         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60881         (acos_test_tonearest): Likewise.
60882         (acos_test_towardzero): Likewise.
60883         (acos_test_downward): Likewise.
60884         (acos_test_upward): Likewise.
60885         (acosh_test): Likewise.
60886         (asin_test): Likewise.
60887         (asin_test_tonearest): Likewise.
60888         (asin_test_towardzero): Likewise.
60889         (asin_test_downward): Likewise.
60890         (asin_test_upward): Likewise.
60891         (asinh_test): Likewise.
60892         (atan_test): Likewise.
60893         (atanh_test): Likewise.
60894         (atan2_test): Likewise.
60895         (cabs_test): Likewise.
60896         (cacos_test): Likewise.
60897         (cacosh_test): Likewise.
60898         (casin_test): Likewise.
60899         (casinh_test): Likewise.
60900         (catan_test): Likewise.
60901         (catanh_test): Likewise.
60902         (cbrt_test): Likewise.
60903         (ccos_test): Likewise.
60904         (ccosh_test): Likewise.
60905         (cexp_test): Likewise.
60906         (clog_test): Likewise.
60907         (clog10_test): Likewise.
60908         (cos_test): Likewise.
60909         (cos_test_tonearest): Likewise.
60910         (cos_test_towardzero): Likewise.
60911         (cos_test_downward): Likewise.
60912         (cos_test_upward): Likewise.
60913         (cosh_test): Likewise.
60914         (cosh_test_tonearest): Likewise.
60915         (cosh_test_towardzero): Likewise.
60916         (cosh_test_downward): Likewise.
60917         (cosh_test_upward): Likewise.
60918         (cpow_test): Likewise.
60919         (csin_test): Likewise.
60920         (csinh_test): Likewise.
60921         (csqrt_test): Likewise.
60922         (ctan_test): Likewise.
60923         (ctan_test_tonearest): Likewise.
60924         (ctan_test_towardzero): Likewise.
60925         (ctan_test_downward): Likewise.
60926         (ctan_test_upward): Likewise.
60927         (ctanh_test): Likewise.
60928         (ctanh_test_tonearest): Likewise.
60929         (ctanh_test_towardzero): Likewise.
60930         (ctanh_test_downward): Likewise.
60931         (ctanh_test_upward): Likewise.
60932         (erf_test): Likewise.
60933         (erfc_test): Likewise.
60934         (exp_test): Likewise.
60935         (exp_test_tonearest): Likewise.
60936         (exp_test_towardzero): Likewise.
60937         (exp_test_downward): Likewise.
60938         (exp_test_upward): Likewise.
60939         (exp10_test): Likewise.
60940         (exp2_test): Likewise.
60941         (expm1_test): Likewise.
60942         (fmod_test): Likewise.
60943         (gamma_test): Likewise.
60944         (hypot_test): Likewise.
60945         (j0_test): Likewise.
60946         (j1_test): Likewise.
60947         (jn_test): Likewise.
60948         (lgamma_test): Likewise.
60949         (log_test): Likewise.
60950         (log10_test): Likewise.
60951         (log1p_test): Likewise.
60952         (log2_test): Likewise.
60953         (logb_test_downward): Likewise.
60954         (pow_test): Likewise.
60955         (pow_test_tonearest): Likewise.
60956         (pow_test_towardzero): Likewise.
60957         (pow_test_downward): Likewise.
60958         (pow_test_upward): Likewise.
60959         (remainder_test): Likewise.
60960         (remquo_test): Likewise.
60961         (sin_test): Likewise.
60962         (sin_test_tonearest): Likewise.
60963         (sin_test_towardzero): Likewise.
60964         (sin_test_downward): Likewise.
60965         (sin_test_upward): Likewise.
60966         (sincos_test): Likewise.
60967         (sinh_test): Likewise.
60968         (sinh_test_tonearest): Likewise.
60969         (sinh_test_towardzero): Likewise.
60970         (sinh_test_downward): Likewise.
60971         (sinh_test_upward): Likewise.
60972         (sqrt_test): Likewise.
60973         (tan_test): Likewise.
60974         (tan_test_tonearest): Likewise.
60975         (tan_test_towardzero): Likewise.
60976         (tan_test_downward): Likewise.
60977         (tan_test_upward): Likewise.
60978         (tanh_test): Likewise.
60979         (tgamma_test): Likewise.
60980         (y0_test): Likewise.
60981         (y1_test): Likewise.
60982         (yn_test): Likewise.
60984         * math/gen-libm-test.pl (adjust_arg): Remove function.
60985         (special_function): Remove argument $in_func.  Only handle
60986         generating output for tables of tests, not inside functions.
60987         (parse_args): Likewise.
60988         (generate_testfile): Remove variable $in_func.  Update call to
60989         parse_args.
60990         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60991         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60992         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60993         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60994         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60995         (MAX_VALUE_INIT): Rename macro to max_value.
60996         (MIN_VALUE_INIT): Rename macro to min_value.
60997         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60998         (plus_zero): Remove variable.
60999         (minus_zero): Likewise.
61000         (plus_infty): Likewise.
61001         (minus_infty): Likewise.
61002         (qnan_value): Likewise.
61003         (max_value): Likewise.
61004         (min_value): Likewise.
61005         (min_subnorm_value): Likewise.
61007 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61009         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61010         uint64_t or uint32_t usage.
61011         * crypt/sha256-block.c: Likewise.
61012         * crypt/sha256-crypt.c: Likewise.
61013         * crypt/sha256.c: Likewise.
61014         * crypt/sha512-block.c: Likewise.
61015         * crypt/sha512-crypt.c: Likewise.
61016         * crypt/sha512.c: Likewise.
61017         * debug/backtrace-tst.c: Likewise.
61018         * debug/pcprofiledump.c: Likewise.
61019         * elf/cache.c: Likewise.
61020         * elf/dl-cache.c: Likewise.
61021         * elf/dl-misc.c: Likewise.
61022         * elf/dl-profile.c: Likewise.
61023         * elf/dl-support.c: Likewise.
61024         * elf/ldconfig.c: Likewise.
61025         * elf/sprof.c: Likewise.
61026         * iconv/dummy-repertoire.c: Likewise.
61027         * iconv/iconv_charmap.c: Likewise.
61028         * iconv/skeleton.c: Likewise.
61029         * iconvdata/8bit-generic.c: Likewise.
61030         * iconvdata/cp737.h: Likewise.
61031         * iconvdata/cp775.h: Likewise.
61032         * iconvdata/ibm1008.h: Likewise.
61033         * iconvdata/ibm1025.h: Likewise.
61034         * iconvdata/ibm1046.h: Likewise.
61035         * iconvdata/ibm1097.h: Likewise.
61036         * iconvdata/ibm1112.h: Likewise.
61037         * iconvdata/ibm1122.h: Likewise.
61038         * iconvdata/ibm1123.h: Likewise.
61039         * iconvdata/ibm1124.h: Likewise.
61040         * iconvdata/ibm1129.h: Likewise.
61041         * iconvdata/ibm1130.h: Likewise.
61042         * iconvdata/ibm1132.h: Likewise.
61043         * iconvdata/ibm1133.h: Likewise.
61044         * iconvdata/ibm1137.h: Likewise.
61045         * iconvdata/ibm1140.h: Likewise.
61046         * iconvdata/ibm1141.h: Likewise.
61047         * iconvdata/ibm1142.h: Likewise.
61048         * iconvdata/ibm1143.h: Likewise.
61049         * iconvdata/ibm1144.h: Likewise.
61050         * iconvdata/ibm1145.h: Likewise.
61051         * iconvdata/ibm1146.h: Likewise.
61052         * iconvdata/ibm1147.h: Likewise.
61053         * iconvdata/ibm1148.h: Likewise.
61054         * iconvdata/ibm1149.h: Likewise.
61055         * iconvdata/ibm1153.h: Likewise.
61056         * iconvdata/ibm1154.h: Likewise.
61057         * iconvdata/ibm1155.h: Likewise.
61058         * iconvdata/ibm1156.h: Likewise.
61059         * iconvdata/ibm1157.h: Likewise.
61060         * iconvdata/ibm1158.h: Likewise.
61061         * iconvdata/ibm1160.h: Likewise.
61062         * iconvdata/ibm1161.h: Likewise.
61063         * iconvdata/ibm1162.h: Likewise.
61064         * iconvdata/ibm1163.h: Likewise.
61065         * iconvdata/ibm1164.h: Likewise.
61066         * iconvdata/ibm1166.h: Likewise.
61067         * iconvdata/ibm1167.h: Likewise.
61068         * iconvdata/ibm12712.h: Likewise.
61069         * iconvdata/ibm1390.h: Likewise.
61070         * iconvdata/ibm1399.h: Likewise.
61071         * iconvdata/ibm16804.h: Likewise.
61072         * iconvdata/ibm4517.h: Likewise.
61073         * iconvdata/ibm4899.h: Likewise.
61074         * iconvdata/ibm4909.h: Likewise.
61075         * iconvdata/ibm4971.h: Likewise.
61076         * iconvdata/ibm5347.h: Likewise.
61077         * iconvdata/ibm803.h: Likewise.
61078         * iconvdata/ibm856.h: Likewise.
61079         * iconvdata/ibm901.h: Likewise.
61080         * iconvdata/ibm902.h: Likewise.
61081         * iconvdata/ibm9030.h: Likewise.
61082         * iconvdata/ibm9066.h: Likewise.
61083         * iconvdata/ibm921.h: Likewise.
61084         * iconvdata/ibm922.h: Likewise.
61085         * iconvdata/ibm9448.h: Likewise.
61086         * iconvdata/isiri-3342.h: Likewise.
61087         * iconvdata/jis0201.h: Likewise.
61088         * include/link.h: Likewise.
61089         * include/netdb.h: Likewise.
61090         * inet/check_native.c: Likewise.
61091         * inet/check_pf.c: Likewise.
61092         * inet/getipv4sourcefilter.c: Likewise.
61093         * inet/getnameinfo.c: Likewise.
61094         * inet/getsourcefilter.c: Likewise.
61095         * inet/htonl.c: Likewise.
61096         * inet/setipv4sourcefilter.c: Likewise.
61097         * inet/setsourcefilter.c: Likewise.
61098         * inet/test-inet6_opt.c: Likewise.
61099         * inet/tst-network.c: Likewise.
61100         * locale/C-collate.c: Likewise.
61101         * locale/C-ctype.c: Likewise.
61102         * locale/C-time.c: Likewise.
61103         * locale/C-translit.h: Likewise.
61104         * locale/loadarchive.c: Likewise.
61105         * locale/programs/3level.h: Likewise.
61106         * locale/programs/charmap.c: Likewise.
61107         * locale/programs/charmap.h: Likewise.
61108         * locale/programs/ld-address.c: Likewise.
61109         * locale/programs/ld-collate.c: Likewise.
61110         * locale/programs/ld-ctype.c: Likewise.
61111         * locale/programs/ld-identification.c: Likewise.
61112         * locale/programs/ld-measurement.c: Likewise.
61113         * locale/programs/ld-messages.c: Likewise.
61114         * locale/programs/ld-monetary.c: Likewise.
61115         * locale/programs/ld-name.c: Likewise.
61116         * locale/programs/ld-numeric.c: Likewise.
61117         * locale/programs/ld-paper.c: Likewise.
61118         * locale/programs/ld-telephone.c: Likewise.
61119         * locale/programs/ld-time.c: Likewise.
61120         * locale/programs/linereader.c: Likewise.
61121         * locale/programs/locale.c: Likewise.
61122         * locale/programs/locarchive.c: Likewise.
61123         * locale/programs/locfile.h: Likewise.
61124         * locale/programs/repertoire.c: Likewise.
61125         * locale/programs/simple-hash.c: Likewise.
61126         * locale/programs/simple-hash.h: Likewise.
61127         * malloc/memusage.c: Likewise.
61128         * malloc/memusagestat.c: Likewise.
61129         * nis/nis_defaults.c: Likewise.
61130         * nis/nis_hash.c: Likewise.
61131         * nis/nis_print.c: Likewise.
61132         * nis/nis_xdr.c: Likewise.
61133         * nscd/connections.c: Likewise.
61134         * nscd/hstcache.c: Likewise.
61135         * nscd/nscd_gethst_r.c: Likewise.
61136         * nscd/nscd_getserv_r.c: Likewise.
61137         * nscd/nscd_helper.c: Likewise.
61138         * nscd/servicescache.c: Likewise.
61139         * nss/makedb.c: Likewise.
61140         * nss/nss_db/db-XXX.c: Likewise.
61141         * nss/nss_db/db-initgroups.c: Likewise.
61142         * nss/nss_db/db-netgrp.c: Likewise.
61143         * nss/nss_files/files-network.c: Likewise.
61144         * nss/nss_files/files-parse.c: Likewise.
61145         * posix/bug-regex5.c: Likewise.
61146         * posix/fnmatch_loop.c: Likewise.
61147         * posix/regcomp.c: Likewise.
61148         * posix/regexec.c: Likewise.
61149         * posix/tst-rfc3484-2.c: Likewise.
61150         * posix/tst-rfc3484-3.c: Likewise.
61151         * posix/tst-rfc3484.c: Likewise.
61152         * resolv/nss_dns/dns-canon.c: Likewise.
61153         * resolv/nss_dns/dns-network.c: Likewise.
61154         * resolv/res_init.c: Likewise.
61155         * resolv/res_mkquery.c: Likewise.
61156         * resolv/tst-aton.c: Likewise.
61157         * stdlib/cxa_atexit.c: Likewise.
61158         * stdlib/cxa_finalize.c: Likewise.
61159         * stdlib/gen-fpioconst.c: Likewise.
61160         * stdlib/strtol_l.c: Likewise.
61161         * string/tst-endian.c: Likewise.
61162         * sunrpc/auth_des.c: Likewise.
61163         * sunrpc/clnt_udp.c: Likewise.
61164         * sunrpc/rtime.c: Likewise.
61165         * sunrpc/svcauth_des.c: Likewise.
61166         * sunrpc/xdr.c: Likewise.
61167         * sunrpc/xdr_intXX_t.c: Likewise.
61168         * sunrpc/xdr_rec.c: Likewise.
61169         * sysdeps/generic/ldconfig.h: Likewise.
61170         * sysdeps/generic/ldsodefs.h: Likewise.
61171         * sysdeps/generic/memusage.h: Likewise.
61172         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61173         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61174         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61176         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61178         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61180         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61181         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61182         * sysdeps/posix/getaddrinfo.c: Likewise.
61183         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61184         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61185         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61186         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61187         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61188         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61189         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61190         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61191         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61192         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61193         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61194         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61195         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61196         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61197         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61198         * sysdeps/x86_64/dl-tls.h: Likewise.
61199         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61200         * time/alt_digit.c: Likewise.
61201         * time/era.c: Likewise.
61202         * wcsmbs/tst-c16c32-1.c: Likewise.
61204 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61206         * math/libm-test.inc (struct test_sincos_data): New type.
61207         (RUN_TEST_LOOP_sincos): New macro.
61208         (sincos_test_data): New variable.
61209         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61211 2013-05-16  Richard Henderson  <rth@redhat.com>
61213         * math/atest-exp2.c (LIMB64): New macro.
61214         (CONSTSZ): New macro.
61215         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61216         (hexdig): Move ...
61217         (print_mpn_fp): ... to function scope.
61218         (read_mpn_hex): Remove.
61219         (get_log2): Remove.
61220         (exp2_mpn): Use mp_log2.
61221         (main): Use mp_exp1.
61223 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61225         * math/libm-test.inc: Remove comment about not testing "inexact"
61226         exceptions.
61227         (INEXACT_EXCEPTION): New macro.
61228         (NO_INEXACT_EXCEPTION): Likewise.
61229         (INVALID_EXCEPTION_OK): Update value.
61230         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61231         (OVERFLOW_EXCEPTION_OK): Likewise.
61232         (UNDERFLOW_EXCEPTION_OK): Likewise.
61233         (IGNORE_ZERO_INF_SIGN): Likewise.
61234         (ERRNO_UNCHANGED): Likewise.
61235         (ERRNO_EDOM): Likewise.
61236         (ERRNO_ERANGE): Likewise.
61237         (test_exceptions): Handle testing "inexact" exceptions.
61238         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61239         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61240         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61241         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61242         INEXACT_EXCEPTION.
61243         (rint_towardzero_test_data): Likewise.
61244         (rint_downward_test_data): Likewise.
61245         (rint_upward_test_data): Likewise.
61247         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61248         with OVERFLOW_EXCEPTION.
61249         (exp10_test_data): Likewise.
61250         (exp2_test_data): Likewise.
61251         (expm1_test_data): Likewise.
61252         (lgamma_test_data): Likewise.
61253         (pow_test_data): Likewise.
61254         (tgamma_test_data): Likewise.
61255         (yn_test_data): Remove duplicate test of overflow.
61257         * math/libm-test.inc (struct test_cc_c_data): New type.
61258         (RUN_TEST_LOOP_cc_c): New macro.
61259         (cpow_test_data): New variable.
61260         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61262         * math/libm-test.inc (struct test_f_L_data): New type.
61263         (RUN_TEST_LOOP_f_L): New macro.
61264         (llrint_test_data): New variable.
61265         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61266         (llrint_tonearest_test_data): New variable.
61267         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61268         (llrint_towardzero_test_data): New variable.
61269         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61270         (llrint_downward_test_data): New variable.
61271         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61272         (llrint_upward_test_data): New variable.
61273         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61274         (llround_test_data): New variable.
61275         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61277 2013-05-13  Peter Collingbourne  <pcc@google.com>
61279         * math/atest-exp2.c (get_log2): Remove const attribute.
61281 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61283         * math/libm-test.inc (struct test_f_l_data): New type.
61284         (RUN_TEST_LOOP_f_l): New macro.
61285         (lrint_test_data): New variable.
61286         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61287         (lrint_tonearest_test_data): New variable.
61288         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61289         (lrint_towardzero_test_data): New variable.
61290         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61291         (lrint_downward_test_data): New variable.
61292         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61293         (lrint_upward_test_data): New variable.
61294         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61295         (lround_test_data): New variable.
61296         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61298 2013-05-15  Peter Collingbourne  <pcc@google.com>
61300         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61301         (EXTRACT_WORDS64) Use where appropriate.
61302         (INSERT_WORDS64) Likewise.
61304         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61305         constraints with x constraints.
61306         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61308         * malloc/obstack.c (_obstack_compat): Add initializer.
61310 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61313         si_trapno and add si_addr_lsb to _sifields.sigfault.
61314         (si_trapno): Remove macro.
61315         (si_addr_lsb): Define new macro.
61316         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61318 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61320         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61321         instead of TEST_f_l.
61322         (llrint_test_tonearest): Likewise.
61323         (llrint_test_towardzero): Likewise.
61324         (llrint_test_downward): Likewise.
61325         (llrint_test_upward): Likewise.
61326         (llround_test): Likewise.
61328         * math/libm-test.inc (struct test_f_i_data): Add comment.
61329         (RUN_TEST_LOOP_f_b): New macro.
61330         (RUN_TEST_LOOP_f_b_tg): Likewise.
61331         (finite_test_data): New variable.
61332         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61333         (isfinite_test_data): New variable.
61334         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61335         (isinf_test_data): New variable.
61336         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61337         (isnan_test_data): New variable.
61338         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61339         (isnormal_test_data): New variable.
61340         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61341         (issignaling_test_data): New variable.
61342         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61343         (signbit_test_data): New variable.
61344         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61346         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61347         with INVALID_EXCEPTION.
61348         (acosh_test_data): Likewise.
61349         (asin_test_data): Likewise.
61350         (atanh_test_data): Likewise.
61351         (fmod_test_data): Likewise.
61352         (log_test_data): Likewise.
61353         (log10_test_data): Likewise.
61354         (log2_test_data): Likewise.
61355         (pow_test_data): Likewise.
61356         (sqrt_test_data): Likewise.
61357         (y0_test_data): Likewise.
61358         (y1_test_data): Likewise.
61359         (yn_test_data): Likewise.
61361         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61362         function contents.
61364         * math/libm-test.inc (struct test_ff_i_data): New type.
61365         (RUN_TEST_LOOP_ff_i_tg): New macro.
61366         (isgreater_test_data): New variable.
61367         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61368         (isgreaterequal_test_data): New variable.
61369         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61370         (isless_test_data): New variable.
61371         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61372         (islessequal_test_data): New variable.
61373         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61374         (islessgreater_test_data): New variable.
61375         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61376         (isunordered_test_data): New variable.
61377         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61379 2013-05-14  David S. Miller  <davem@davemloft.net>
61381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61383 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61385         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61387         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61388         extra_test to int.
61389         (struct test_f_i_data): Change type of max_ulp to int.
61391         * math/libm-test.inc (test_ffI_f1_data): New type.
61392         (RUN_TEST_LOOP_ffI_f1): New macro.
61393         (remquo_test_data): New variable.
61394         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61396         * setjmp/tst-setjmp-fp.c: New file.
61397         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61398         (link-libm): New variable.
61399         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61401         * math/libm-test.inc (struct test_f_i_data): New type.
61402         (RUN_TEST_LOOP_f_i): New macro.
61403         (RUN_TEST_LOOP_f_i_tg): Likewise.
61404         (fpclassify_test_data): New variable.
61405         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61406         (ilogb_test_data): New variable.
61407         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61409         * math/libm-test.inc (scalbln_test): Correct function name in END
61410         call.
61412         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61413         (RUN_TEST_LOOP_fI_f1): New macro.
61414         (frexp_test_data): New variable.
61415         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61417         * math/libm-test.inc (struct test_fF_f1_data): New type.
61418         (RUN_TEST_LOOP_fF_f1): New macro.
61419         (modf_test_data): New variable.
61420         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61422         * math/libm-test.inc (struct test_f_f1_data): New type.
61423         (RUN_TEST_LOOP_f_f1): New macro.
61424         (gamma_test_data): New variable.
61425         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61426         (lgamma_test_data): New variable.
61427         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61429 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61431         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61432         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61433         (main): Comment "tls" pseudo-hwcap.
61435 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61437         * math/libm-test.inc (struct test_fl_f_data): New type.
61438         (RUN_TEST_LOOP_fl_f): New variable.
61439         (scalbln_test_data): New variable.
61440         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61442         * math/libm-test.inc (struct test_fi_f_data): New type.
61443         (RUN_TEST_LOOP_fi_f): New macro.
61444         (ldexp_test_data): New variable.
61445         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61446         (scalbn_test_data): New variable.
61447         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61449         * math/libm-test.inc (struct test_c_f_data): New type.
61450         (RUN_TEST_LOOP_c_f): New macro.
61451         (cabs_test_data): New variable.
61452         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61453         (carg_test_data): New variable.
61454         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61455         (cimag_test_data): New variable.
61456         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61457         (creal_test_data): New variable.
61458         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61460         * math/libm-test.inc (struct test_if_f_data): New type.
61461         (RUN_TEST_LOOP_if_f): New macro.
61462         (jn_test_data): New variable.
61463         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61464         (yn_test_data): New variable.
61465         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61467         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61469 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61471         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61472         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61474 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61476         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61477         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61478         (bench-deps): Add bench-timing.h.
61479         * benchtests-bench-skeleton.c: Include bench-timing.h.
61480         (main): Use TIMING_* macros instead of clock_gettime.
61481         * benchtests/bench-timing.h: New file.
61483         [BZ #14582]
61484         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61485         Renamed from _LIB_VERSION.
61486         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61488 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61490         * math/libm-test.inc (struct test_fff_f_data): New type.
61491         (RUN_TEST_LOOP_fff_f): New macro.
61492         (fma_test_data): New variable.
61493         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61494         (fma_towardzero_test_data): New variable.
61495         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61496         (fma_downward_test_data): New variable.
61497         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61498         (fma_upward_test_data): New variable.
61499         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61501         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61502         (struct test_c_c_data): New type.
61503         (RUN_TEST_LOOP_c_c): New macro.
61504         (cacos_test_data): New variable.
61505         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61506         (cacosh_test_data): New variable.
61507         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61508         (casin_test_data): New variable.
61509         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61510         (casinh_test_data): New variable.
61511         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61512         (catan_test_data): New variable.
61513         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61514         (catanh_test_data): New variable.
61515         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61516         (ccos_test_data): New variable.
61517         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61518         (ccosh_test_data): New variable.
61519         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61520         (cexp_test_data): New variable.
61521         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61522         (clog_test_data): New variable.
61523         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61524         (clog10_test_data): New variable.
61525         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61526         (conj_test_data): New variable.
61527         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61528         (cproj_test_data): New variable.
61529         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61530         (csin_test_data): New variable.
61531         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61532         (csinh_test_data): New variable.
61533         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61534         (csqrt_test_data): New variable.
61535         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61536         (ctan_test_data): New variable.
61537         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61538         (ctan_tonearest_test_data): New variable.
61539         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61540         (ctan_towardzero_test_data): New variable.
61541         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61542         (ctan_downward_test_data): New variable.
61543         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61544         (ctan_upward_test_data): New variable.
61545         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61546         (ctanh_test_data): New variable.
61547         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61548         (ctanh_tonearest_test_data): New variable.
61549         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61550         (ctanh_towardzero_test_data): New variable.
61551         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61552         (ctanh_downward_test_data): New variable.
61553         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61554         (ctanh_upward_test_data): New variable.
61555         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61556         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61557         of BUILD_COMPLEX.
61559         * math/libm-test.inc (struct test_ff_f_data): New type.
61560         (struct test_ff_f_data_nexttoward): Likewise.
61561         (RUN_TEST_LOOP_2_f): New macro.
61562         (RUN_TEST_LOOP_ff_f): Likewise.
61563         (atan2_test_data): New variable.
61564         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61565         (copysign_test_data): New variable.
61566         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61567         (fdim_test_data): New variable.
61568         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61569         (fmax_test_data): New variable.
61570         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61571         (fmin_test_data): New variable.
61572         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61573         (fmod_test_data): New variable.
61574         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61575         (hypot_test_data): New variable.
61576         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61577         (nextafter_test_data): New variable.
61578         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61579         (nexttoward_test_data): New variable.
61580         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61581         (pow_test_data): New variable.
61582         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61583         (pow_tonearest_test_data): New variable.
61584         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61585         (pow_towardzero_test_data): New variable.
61586         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61587         (pow_downward_test_data): New variable.
61588         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61589         (pow_upward_test_data): New variable.
61590         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61591         (remainder_test_data): New variable.
61592         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61593         (scalb_test_data): New variable.
61594         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61595         * sysdeps/i386/fpu/libm-test-ulps: Update.
61597 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61599         * math/libm-test.inc (fma_test): Use max_value instead of local
61600         variable fltmax.
61601         (nextafter_test): Likewise.
61603         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61604         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61605         (acos_downward_test_data): New variable.
61606         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61607         (acos_upward_test_data): New variable.
61608         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61609         (acosh_test_data): New variable.
61610         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61611         (asin_test_data): New variable.
61612         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61613         (asin_tonearest_test_data): New variable.
61614         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61615         (asin_towardzero_test_data): New variable.
61616         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61617         (asin_downward_test_data): New variable.
61618         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61619         (asin_upward_test_data): New variable.
61620         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61621         (asinh_test_data): New variable.
61622         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61623         (atan_test_data): New variable.
61624         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61625         (atanh_test_data): New variable.
61626         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61627         (cbrt_test_data): New variable.
61628         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61629         (ceil_test_data): New variable.
61630         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61631         (cos_test_data): New variable.
61632         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61633         (cos_tonearest_test_data): New variable.
61634         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61635         (cos_towardzero_test_data): New variable.
61636         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61637         (cos_downward_test_data): New variable.
61638         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61639         (cos_upward_test_data): New variable.
61640         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61641         (cosh_test_data): New variable.
61642         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61643         (cosh_tonearest_test_data): New variable.
61644         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61645         (cosh_towardzero_test_data): New variable.
61646         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61647         (cosh_downward_test_data): New variable.
61648         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61649         (cosh_upward_test_data): New variable.
61650         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61651         (erf_test_data): New variable.
61652         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61653         (erfc_test_data): New variable.
61654         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61655         (exp_test_data): New variable.
61656         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61657         (exp_tonearest_test_data): New variable.
61658         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61659         (exp_towardzero_test_data): New variable.
61660         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61661         (exp_downward_test_data): New variable.
61662         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61663         (exp_upward_test_data): New variable.
61664         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61665         (exp10_test_data): New variable.
61666         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61667         (exp2_test_data): New variable.
61668         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61669         (expm1_test_data): New variable.
61670         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61671         (fabs_test_data): New variable.
61672         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61673         (floor_test_data): New variable.
61674         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61675         (j0_test_data): New variable.
61676         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61677         (j1_test_data): New variable.
61678         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61679         (log_test_data): New variable.
61680         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61681         (log10_test_data): New variable.
61682         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61683         (log1p_test_data): New variable.
61684         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61685         (log2_test_data): New variable.
61686         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61687         (logb_test_data): New variable.
61688         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61689         (logb_downward_test_data): New variable.
61690         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61691         (nearbyint_test_data): New variable.
61692         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61693         (rint_test_data): New variable.
61694         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61695         (rint_tonearest_test_data): New variable.
61696         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61697         (rint_towardzero_test_data): New variable.
61698         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61699         (rint_downward_test_data): New variable.
61700         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61701         (rint_upward_test_data): New variable.
61702         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61703         (round_test_data): New variable.
61704         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61705         (sin_test_data): New variable.
61706         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61707         (sin_tonearest_test_data): New variable.
61708         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61709         (sin_towardzero_test_data): New variable.
61710         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61711         (sin_downward_test_data): New variable.
61712         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61713         (sin_upward_test_data): New variable.
61714         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61715         (sinh_test_data): New variable.
61716         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61717         (sinh_tonearest_test_data): New variable.
61718         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61719         (sinh_towardzero_test_data): New variable.
61720         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61721         (sinh_downward_test_data): New variable.
61722         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61723         (sinh_upward_test_data): New variable.
61724         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61725         (sqrt_test_data): New variable.
61726         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61727         (tan_test_data): New variable.
61728         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61729         (tan_tonearest_test_data): New variable.
61730         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61731         (tan_towardzero_test_data): New variable.
61732         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61733         (tan_downward_test_data): New variable.
61734         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61735         (tan_upward_test_data): New variable.
61736         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61737         (tanh_test_data): New variable.
61738         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61739         (tgamma_test_data): New variable.
61740         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61741         (trunc_test_data): New variable.
61742         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61743         (y0_test_data): New variable.
61744         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61745         (y1_test_data): New variable.
61746         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61747         (significand_test_data): New variable.
61748         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61750 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61752         [BZ #12387]
61753         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61755 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61757         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61759 2013-05-10  Andreas Jaeger  <aj@suse.de>
61761         [BZ #15448]
61762         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61763         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61765 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61767         * math/gen-libm-test.pl (adjust_arg): New function.
61768         (special_functions): Handle generating output in both functions
61769         and arrays.
61770         (parse_args): Likewise.
61771         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61772         $in_func argument to parse_args.
61773         * math/libm-test.inc (struct test_f_f_data): New type.
61774         (IF_ROUND_INIT_): New macro.
61775         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61776         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61777         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61778         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61779         (ROUND_RESTORE_): Likewise.
61780         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61781         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61782         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61783         (ROUND_RESTORE_FE_UPWARD): Likewise.
61784         (RUN_TEST_LOOP_f_f): New macro.
61785         (acos_test_data): New variable.
61786         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61787         (acos_tonearest_test_data): New variable.
61788         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61790 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61792         * benchtests/bench-skeleton.c (startup): Fix coding style.
61794 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61796         [BZ #6809]
61797         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61798         negative infinity argument.
61799         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61800         negative infinity argument.
61801         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61802         negative infinity argument.
61803         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61804         domain errors.
61806 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61808         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61809         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61810         * iconv/iconv_prog.c (main): Likewise.
61811         * locale/programs/charmap-dir.c (charmap_readdir)
61812         (fopen_uncompressed): Likewise.
61813         * locale/programs/locfile.c (siblings_uncached)
61814         (write_locale_data): Use lstat64 instead of lstat.
61815         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61816         stat.
61818 2013-05-10  Andreas Jaeger  <aj@suse.de>
61820         [BZ #15395]
61821         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61822         localization.
61823         Include <locale.h>.
61825 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61827         * elf/dl-close.c (_dl_close_worker): Add comments.
61829 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61831         [BZ #15359]
61832         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61833         high part of pi/2.
61834         (__ieee754_rem_pio2l): Update comments.
61836         [BZ #15429]
61837         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61838         high part of pi/2.
61839         (__ieee754_rem_pio2l): Update comments.
61841         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61842         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61844         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61845         M_PI_4l.
61847         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61848         (M_PI_34_LOG10El): Likewise.
61849         (M_PI2_LOG10El): Likewise.
61850         (M_PI4_LOG10El): Likewise.
61851         (M_PI_LOG10El): Likewise.
61853 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61857 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61859         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61860         (MINUS_ZERO_INIT): Likewise.
61861         (PLUS_INFTY_INIT): Likewise.
61862         (MINUS_INFTY_INIT): Likewise.
61863         (QNAN_VALUE_INIT): Likewise.
61864         (MAX_VALUE_INIT): Likewise.
61865         (MIN_VALUE_INIT): Likewise.
61866         (MIN_SUBNORM_VALUE_INIT): Likewise.
61867         (plus_zero): Initialize with PLUS_ZERO_INIT.
61868         (minus_zero): Initialize with MINUS_ZERO_INIT.
61869         (plus_infty): Initialize with PLUS_INFTY_INIT.
61870         (minus_infty): Initialize with MINUS_INFTY_INIT.
61871         (qnan_value): Initialize with QNAN_VALUE_INIT.
61872         (max_value): Initialize with MAX_VALUE_INIT.
61873         (min_value): Initialize with MIN_VALUE_INIT.
61874         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61876         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61877         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61878         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61879         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61881         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61882         (RUN_TEST_2_f): Likewise.
61883         (RUN_TEST_ff_f): Likewise.
61884         (RUN_TEST_fi_f): Likewise.
61885         (RUN_TEST_fl_f): Likewise.
61886         (RUN_TEST_fff_f): Likewise.
61887         (RUN_TEST_c_f): Likewise.
61888         (RUN_TEST_f_f1): Likewise.
61889         (RUN_TEST_fF_f1): Likewise.
61890         (RUN_TEST_fI_f1): Likewise.
61891         (RUN_TEST_ffI_f1): Likewise.
61892         (RUN_TEST_c_c): Likewise.
61893         (RUN_TEST_cc_c): Likewise.
61894         (RUN_TEST_f_i): Likewise.
61895         (RUN_TEST_f_i_tg): Likewise.
61896         (RUN_TEST_ff_i_tg): Likewise.
61897         (RUN_TEST_f_b): Likewise.
61898         (RUN_TEST_f_b_tg): Likewise.
61899         (RUN_TEST_f_l): Likewise.
61900         (RUN_TEST_f_L): Likewise.
61901         (RUN_TEST_sincos): Likewise.
61902         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61903         whether to show exceptions.  Do not include ");\n" in return
61904         value.
61905         (special_functions): Output call to RUN_TEST_sincos instead of
61906         check_float calls.  Update calls to new_test.
61907         (parse_args): Output call to single RUN_TEST_* macro instead of
61908         check_* calls and other assignments.  Update calls to new_test.
61910         [BZ #2546]
61911         [BZ #2560]
61912         [BZ #5159]
61913         [BZ #15426]
61914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61915         input to result for tgamma overflow.
61916         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61917         (gamma_coeff): New variable.
61918         (NCOEFF): New macro.
61919         (gamma_positive): New function.
61920         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61921         underflow here.  Use gamma_positive instead of exp (lgamma) for
61922         other arguments.
61923         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61924         (gamma_coeff): New variable.
61925         (NCOEFF): New macro.
61926         (gammaf_positive): New function.
61927         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61928         underflow here.  Use gamma_positive instead of exp (lgamma) for
61929         other arguments.
61930         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61931         (gamma_coeff): New variable.
61932         (NCOEFF): New macro.
61933         (gammal_positive): New function.
61934         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61935         underflow here.  Use gamma_positive instead of exp (lgamma) for
61936         other arguments.
61937         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61938         (gamma_coeff): New variable.
61939         (NCOEFF): New macro.
61940         (gammal_positive): New function.
61941         (__ieee754_gammal_r): Handle positive infinity, overflow and
61942         underflow here.  Handle NaN the same as positive infinity.  Remove
61943         check x < 0xffffffff for negative integers.  Use gamma_positive
61944         instead of exp (lgamma) for other arguments.
61945         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61946         (gamma_coeff): New variable.
61947         (NCOEFF): New macro.
61948         (gammal_positive): New function.
61949         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61950         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61951         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61952         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61953         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61954         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61955         * sysdeps/generic/math_private.h (__gamma_productf): New
61956         prototype.
61957         (__gamma_product): Likewise.
61958         (__gamma_productl): Likewise.
61959         * math/Makefile (libm-calls): Add gamma_product.
61960         * math/libm-test.inc (tgamma_test): Add more tests.
61961         * sysdeps/i386/fpu/libm-test-ulps: Update.
61962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61964 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61966         * benchtests/bench-skeleton.c (main): Preheat CPU.
61968 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61970         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61972 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61974         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61975         and _dl_skip_args_internal.
61977 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61979         * manual/message.texi (Message Translation): Talk about users.
61980         Message to key mapping impacts design.
61982 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61984         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61986         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61988         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61989         * sysdeps/wordsize-64/glob64.c: ... here.
61991         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61992         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61993         New macros.
61995         * debug/getlogin_r_chk.c: Moved to ...
61996         * login/getlogin_r_chk.c: ... here.
61997         * debug/Makefile (routines): Move getlogin_r_chk to ...
61998         * login/Makefile (routines): ... here.
61999         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62000         * login/Versions (libc: GLIBC_2.4): ... here.
62002         * io/poll.c (__poll): Renamed from poll.
62003         Add libc_hidden_def.
62004         (poll): Define as weak alias.
62006         * debug/ptsname_r_chk.c: Moved to ...
62007         * login/ptsname_r_chk.c: ... here.
62008         * debug/Makefile (routines): Move ptsname_r_chk to ...
62009         * login/Makefile (routines): ... here.
62010         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62011         * login/Versions (libc: GLIBC_2.4): ... here.
62013         * posix/getlogin.c: Moved to ...
62014         * login/getlogin.c: ... here.
62015         * posix/getlogin_r.c: Moved to ...
62016         * login/getlogin_r.c: ... here.
62017         * posix/getlogin_r.c: Moved to ...
62018         * login/getlogin_r.c: ... here.
62019         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62020         * login/Makefile (routines): ... here.
62021         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62022         * login/Versions (libc: GLIBC_2.0): ... here.
62024         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62025         (setrlimit): Define as weak alias.
62027         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62028         Call __ names for open, ftruncate, and close.
62029         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62030         (truncate): Define as weak alias.
62032 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62034         * math/gen-libm-test.pl (parse_args): Initialize x before each
62035         test of frexp, modf and remquo.
62037         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62038         test signgam value.
62040 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62042         [BZ #15418]
62043         [BZ #15419]
62044         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62045         internal tests.
62046         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62048 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62050         * elf/dl-writev.h: New file.
62051         * elf/dl-misc.c: Include it.
62052         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62053         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62055 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62057         * math/libm-test.inc (noXFails): Remove variable.
62058         (noXPasses): Likewise.
62059         (BUILD_COMPLEX_INT): Remove macro.
62060         (print_screen): Remove xfail argument.
62061         (print_screen_max_error): Likewise.
62062         (update_stats): Likewise.
62063         (print_max_error): Likewise.  Update calls to other affected
62064         functions.
62065         (print_complex_max_error): Likewise.
62066         (test_single_exception): Update calls to print_screen.
62067         (test_single_errno): Likewise.
62068         (check_float_internal): Remove xfail argument.  Update calls to
62069         other affected functions.
62070         (check_float): Likewise.
62071         (check_complex): Likewise.
62072         (check_int): Likewise.
62073         (check_long): Likewise.
62074         (check_bool): Likewise.
62075         (check_longlong): Likewise.
62076         (main): Don't print noXFails and noXPasses.
62077         * math/gen-libm-test.pl (top level): Don't mention expected
62078         failure handling in comment.
62079         (new_test): Don't handle expected failures.
62080         (parse_args): Don't mention expected failure handling in comment.
62081         (generate_testfile): Don't handle expected failures.
62082         (parse_ulps): Likewise.
62083         (print_ulps_file): Likewise.
62084         (get_failure): Remove function.
62085         (output_test): Don't handle expected failures.
62086         * make/README.libm-test: Don't mention expected failure handling.
62088         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62089         (minus_zero): Likewise.
62090         (plus_infty): Likewise.
62091         (minus_infty): Likewise.
62092         (qnan_value): Likewise.
62093         (max_value): Likewise.
62094         (min_value): Likewise.
62095         (min_subnorm_value): Likewise.
62096         (initialize): Do not initialize those variables dynamically.
62098 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62100         * io/open.c (__open_2): Moved to ...
62101         * io/open_2.c: ... this new file.
62102         * io/open64.c (__open64_2): Moved to ...
62103         * io/open64_2.c: ... this new file.
62104         * io/openat.c (__openat_2): Moved to ...
62105         * io/openat_2.c: ... this new file.
62106         * io/openat64.c (__openat64_2): Moved to ...
62107         * io/openat64_2.c: ... this new file.
62108         * io/Makefile (routines): Add them.
62109         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62110         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62111         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62112         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62113         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62114         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62115         (__openat64): Add hidden_ver.
62116         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62117         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62119         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62120         Separately conditionalize setting of GLRO(dl_sysinfo) so
62121         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62122         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62124 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62126         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62128         definition.
62129         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62130         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62131         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62132         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62133         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62135 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62137         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62138         test signgam value.
62140         * math/libm-test.inc (hypot_test): Do not use
62141         IGNORE_ZERO_INF_SIGN.
62143 2013-05-03  Andreas Jaeger  <aj@suse.de>
62145         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62146         Linux 3.9.
62147         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62148         (PF_MAX): Adjust for VSOCK change.
62150 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62154 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62156         [BZ #15264]
62157         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62158         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62159         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62161 2013-05-02  David S. Miller  <davem@davemloft.net>
62163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62165 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62167         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62169 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62171         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62173 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62175         [BZ #14952]
62176         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62177         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62178         Use __attribute__ ((__gnu_inline__)).
62179         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62180         Don't use __attribute__ ((__gnu_inline__)).
62182 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62184         [BZ #15423]
62185         * math/s_catan.c (__catan): Handle small real or imaginary part of
62186         input specially to avoid spurious underflow.
62187         * math/s_catanf.c (__catanf): Likewise.
62188         * math/s_catanh.c (__catanh): Likewise.
62189         * math/s_catanhf.c (__catanhf): Likewise.
62190         * math/s_catanhl.c (__catanhl): Likewise.
62191         * math/s_catanl.c (__catanl): Likewise.
62192         * math/libm-test.inc (catan_test): Add more tests.
62193         (catanh_test): Likewise.
62194         * sysdeps/i386/fpu/libm-test-ulps: Update.
62195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62197 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62201 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62203         [BZ #15416]
62204         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62205         accurately for denominator in atan2.
62206         * math/s_catanf.c (__catanf): Likewise.
62207         * math/s_catanh.c (__catanh): Likewise.
62208         * math/s_catanhf.c (__catanhf): Likewise.
62209         * math/s_catanhl.c (__catanhl): Likewise.
62210         * math/s_catanl.c (__catanl): Likewise.
62211         * math/libm-test.inc (catan_test): Add more tests.
62212         (catanh_test): Likewise.
62213         * sysdeps/i386/fpu/libm-test-ulps: Update.
62214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62216 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62218         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62220         * benchtests/Makefile (bench): Remove slow benchmarks.
62221         * benchtests/atan-inputs: Add slow benchmark inputs.
62222         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62223         (BENCH_FUNC): Accept variant offset.
62224         (VARIANT): Define.
62225         * benchtests/bench-skeleton.c (main): Run benchmark for each
62226         variant.
62227         * benchtests/cos-inputs: Add slow benchmark inputs.
62228         * benchtests/exp-inputs: Likewise.
62229         * benchtests/pow-inputs: Likewise.
62230         * benchtests/sin-inputs: Likewise.
62231         * benchtests/slowatan-inputs: Remove.
62232         * benchtests/slowatan.c: Remove.
62233         * benchtests/slowcos-inputs: Remove.
62234         * benchtests/slowcos.c: Remove.
62235         * benchtests/slowexp-inputs: Remove.
62236         * benchtests/slowexp.c: Remove.
62237         * benchtests/slowpow-inputs: Remove.
62238         * benchtests/slowpow.c: Remove.
62239         * benchtests/slowsin-inputs: Remove.
62240         * benchtests/slowsin.c: Remove.
62241         * benchtests/slowtan-inputs: Remove.
62242         * benchtests/slowtan.c: Remove.
62243         * benchtests/tan-inputs: Add slow benchmark inputs.
62244         * scripts/bench.pl: Parse comments and directives.
62246         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62247         in CPPFLAGS.
62248         ($(objpfx)bench-%.c): Remove *-ITER.
62249         * benchtests/bench-modf.c: Remove definition of ITER.
62250         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62251         (main): Loop for DURATION seconds instead of fixed number of
62252         iterations.
62253         * scripts/bench.pl: Don't expect iterations in parameters.
62255 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62257         * io/fchdir.c (__fchdir): Renamed from fchdir.
62258         (fchdir): Define as weak alias.
62260 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62262         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62263         (ERRNO_EDOM): Likewise.
62264         (ERRNO_ERANGE): Likewise.
62265         (noErrnoTests): New variable.
62266         (init_max_error): Set errno to 0.
62267         (test_single_errno): New function.
62268         (test_errno): Likewise.
62269         (check_float_internal): Call test_errno.  Set errno to 0.
62270         (check_complex): Refer to errno tests in comment.
62271         (check_int): Call test_errno.  Set errno to 0.
62272         (check_long): Likewise.
62273         (check_bool): Likewise.
62274         (check_longlong): Likewise.
62275         (cos_test): Use ERRNO_* flags for errno tests instead of
62276         check_int.
62277         (expm1_test): Likewise.
62278         (fmod_test): Likewise.
62279         (ilogb_test): Likewise.
62280         (lgamma_test): Likewise.
62281         (pow_test): Likewise.
62282         (remainder_test): Likewise.
62283         (sin_test): Likewise.
62284         (tan_test): Likewise.
62285         (yn_test): Likewise.
62286         (initialize): Set errno to 0.
62287         (main): Print number of errno tests.
62288         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62290 2013-04-29  Andreas Jaeger  <aj@suse.de>
62292         [BZ #15084]
62293         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62294         and RES_USEVC.
62296         [BZ #15085]
62297         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62298         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62299         unimplemented.
62301         [BZ #15380]
62302         * stdlib/random.c (__initstate): Return NULL if
62303         __initstate fails.
62305         [BZ #15086]
62306         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62307         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62308         RES_SNGLKUPREOP.
62310 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62314 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62316         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62317         of individual tests.
62318         (casin_test): Likewise.
62319         (casinh_test): Likewise.
62321 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62323         [BZ #15409]
62324         * math/s_catan.c (__catan): Handle arguments with large real or
62325         imaginary part separately without squaring.
62326         * math/s_catanf.c (__catanf): Likewise.
62327         * math/s_catanh.c (__catanh): Likewise.
62328         * math/s_catanhf.c (__catanhf): Likewise.
62329         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62330         and redefine.
62331         (__catanhl): Handle arguments with large real or imaginary part
62332         separately without squaring.
62333         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62334         and redefine.
62335         (__catanl): Handle arguments with large real or imaginary part
62336         separately without squaring.
62337         * math/libm-test.inc (catan_test): Add more tests.
62338         (catanh_test): Likewise.
62339         * sysdeps/i386/fpu/libm-test-ulps: Update.
62340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62342 2013-04-27  Andreas Jaeger  <aj@suse.de>
62344         [BZ #15007]
62345         * stdlib/stdlib.h: Update guards for qecvt.
62346         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62347         <stdlib.h>.
62349 2013-04-27  Allan McRae  <allan@archlinux.org>
62351         * sysdeps/i386/fpu/libm-test-ulps: Update.
62353 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62355         [BZ #15406]
62356         * math/s_catan.c: Include <float.h>.
62357         (__catan): Ensure underflow exception occurs for underflowed
62358         result.
62359         * math/s_catanf.c: Include <float.h>.
62360         (__catanf): Ensure underflow exception occurs for underflowed
62361         result.
62362         * math/s_catanh.c: Include <float.h>.
62363         (__catanh): Ensure underflow exception occurs for underflowed
62364         result.
62365         * math/s_catanhf.c: Include <float.h>.
62366         (__catanhf): Ensure underflow exception occurs for underflowed
62367         result.
62368         * math/s_catanhl.c: Include <float.h>.
62369         (__catanhl): Ensure underflow exception occurs for underflowed
62370         result.
62371         * math/s_catanl.c: Include <float.h>.
62372         (__catanl): Ensure underflow exception occurs for underflowed
62373         result.
62374         * math/libm-test.inc (catan_test): Add more tests.
62375         (catanh_test): Likewise.
62377         [BZ #15405]
62378         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62379         underflowed result.
62380         * math/s_ccoshf.c (__ccoshf): Likewise.
62381         * math/s_ccoshl.c (__ccoshl): Likewise.
62382         * math/s_csin.c (__csin): Likewise.
62383         * math/s_csinf.c (__csinf): Likewise.
62384         * math/s_csinh.c (__csinh): Likewise.
62385         * math/s_csinhf.c (__csinhf): Likewise.
62386         * math/s_csinhl.c (__csinhl): Likewise.
62387         * math/s_csinl.c (__csinl): Likewise.
62388         * math/libm-test.inc (ccos_test): Add more tests.
62389         (ccosh_test): Likewise.
62390         (csin_test): Likewise.
62391         (csinh_test): Likewise.
62393 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62395         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62396         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62397         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62398         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62399         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62400         powerpc/power5+/fpu folders.
62401         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62404 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62408 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62410         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62411         additions to variable.
62412         [$(config-machine) = x86_64] (modules-names): Likewise.
62413         ($(objpfx)tst-audit3): Remove dependency.
62414         ($(objpfx)tst-audit3.out): Likewise.
62415         ($(objpfx)tst-audit4): Likewise.
62416         ($(objpfx)tst-audit4.out): Likewise.
62417         ($(objpfx)tst-audit5): Likewise.
62418         ($(objpfx)tst-audit5.out): Likewise.
62419         ($(objpfx)tst-audit6): Likewise.
62420         ($(objpfx)tst-audit6.out): Likewise.
62421         ($(objpfx)tst-audit7): Likewise.
62422         ($(objpfx)tst-audit7.out): Likewise.
62423         (tst-audit3-ENV): Remove variable.
62424         (tst-audit4-ENV): Likewise.
62425         (tst-audit5-ENV): Likewise.
62426         (tst-audit6-ENV): Likewise.
62427         (tst-audit7-ENV): Likewise.
62428         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62429         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62430         addition to variable.
62431         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62432         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62433         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62434         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62435         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62436         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62437         tst-audit3, tst-audit4 and tst-audit5.
62438         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62439         tst-audit6 and tst-audit7.
62440         [$(subdir) = elf] (modules-names): Add audit modules for those
62441         tests.
62442         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62443         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62444         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62445         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62446         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62447         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62448         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62449         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62450         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62451         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62452         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62453         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62454         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62455         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62456         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62457         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62458         Likewise.
62459         [$(subdir) = elf && $(config-cflags-avx) = yes]
62460         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62461         [$(subdir) = elf && $(config-cflags-avx) = yes]
62462         (CFLAGS-tst-auditmod4a.c): Likewise.
62463         [$(subdir) = elf && $(config-cflags-avx) = yes]
62464         (CFLAGS-tst-auditmod4b.c): Likewise.
62465         [$(subdir) = elf && $(config-cflags-avx) = yes]
62466         (CFLAGS-tst-auditmod6b.c): Likewise.
62467         [$(subdir) = elf && $(config-cflags-avx) = yes]
62468         (CFLAGS-tst-auditmod6c.c): Likewise.
62469         [$(subdir) = elf && $(config-cflags-avx) = yes]
62470         (CFLAGS-tst-auditmod7b.c): Likewise.
62471         * elf/tst-audit3.c: Move to ...
62472         * sysdeps/x86_64/tst-audit3.c: ... here.
62473         * elf/tst-audit4.c: Move to ...
62474         * sysdeps/x86_64/tst-audit4.c: ... here.
62475         * elf/tst-audit5.c: Move to ...
62476         * sysdeps/x86_64/tst-audit5.c: ... here.
62477         * elf/tst-audit6.c: Move to ...
62478         * sysdeps/x86_64/tst-audit6.c: ... here.
62479         * elf/tst-audit7.c: Move to ...
62480         * sysdeps/x86_64/tst-audit7.c: ... here.
62481         * elf/tst-auditmod3a.c: Move to ...
62482         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62483         * elf/tst-auditmod3b.c: Move to ...
62484         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62485         * elf/tst-auditmod4a.c: Move to ...
62486         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62487         * elf/tst-auditmod4b.c: Move to ...
62488         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62489         * elf/tst-auditmod5a.c: Move to ...
62490         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62491         * elf/tst-auditmod5b.c: Move to ...
62492         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62493         * elf/tst-auditmod6a.c: Move to ...
62494         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62495         * elf/tst-auditmod6b.c: Move to ...
62496         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62497         * elf/tst-auditmod6c.c: Move to ...
62498         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62499         * elf/tst-auditmod7a.c: Move to ...
62500         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62501         * elf/tst-auditmod7b.c: Move to ...
62502         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62504 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62506         [BZ #15366]
62507         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62508         define unconditionally.
62509         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62510         define unconditionally.
62511         (INT8_C, INT16_C, etc.): Likewise.
62513 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62515         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62516         __ehdr_start with hidden visibility.
62518         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62520 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62522         * math/libm-test.inc (cos_test): Use accurate hex constants.
62523         (sincost_test): Likewise.
62525 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62527         * math/libm-test.inc (catan_test): Add more tests.
62528         (catanh_test): Likewise.
62530         * math/s_catanf.c (__catanf): Use suffixed floating-point
62531         constants.
62532         * math/s_catanhf.c (__catanhf): Likewise.
62533         * math/s_catanhl.c (__catanhl): Likewise.
62534         * math/s_catanl.c (__catanl): Likewise.
62536         [BZ #15394]
62537         * math/s_catan.c (__catan): Calculate imaginary part of result
62538         with log1p not log unless computing log of number close to 0.
62539         * math/s_catanf.c (__catanf): Likewise.
62540         * math/s_catanl.c (__catanl): Likewise.
62541         * math/s_catanh.c (__catanh): Calculate real part of result with
62542         log1p not log unless computing log of number close to 0.
62543         * math/s_catanhf.c (__catanhf): Likewise.
62544         * math/s_catanhl.c (__catanhl): Likewise.
62545         * math/libm-test.inc (catan_test): Add more tests.
62546         (catanh_test): Likewise.
62547         * sysdeps/i386/fpu/libm-test-ulps: Update.
62548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62550 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62552         * benchtests/Makefile: Mention files in which fast and slow
62553         paths of math functions are implemented.
62555 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62557         * sysdeps/posix/timespec_get.c: New file.
62559 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62561         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62562         POWER.
62563         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62564         for POWER.
62565         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62566         powerpc/power5/fpu folders.
62567         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62568         * benchtests/Makefile: Add modf testcase.
62569         * benchtests/bench-modf.c: New file: Benchmark test for mo
62571 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62573         [BZ #14888]
62574         * time/Makefile (tests): Add tst-strptime-whitespace.
62575         * time/strptime_l.c (get_number): Use ISSPACE.
62576         (__strptime_internal): Likewise.
62577         * time/tst-strptime-whitespace.c: New test case.
62579 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62581         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62582         member.
62583         (_nss_files_init): Set it here.
62585 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62587         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62588         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62589         unsigned.
62591 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62593         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62595 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62598         size just once.
62600 2013-04-21  David S. Miller  <davem@davemloft.net>
62602         * po/ru.po: Update Russion translation from translation project.
62604 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62606         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62607         and setfsgid.
62609 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62611         * configure.in: Remove i386 configure warning. Remove i386 case.
62612         * configure: Regenerate.
62613         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62614         Add example to error message.
62615         * sysdeps/i386/configure: Regenerate.
62617 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62619         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62620         slowtan.
62621         * benchtests/cos-inputs: New file.
62622         * benchtests/slowcos-inputs: New file.
62623         * benchtests/slowcos.c: New file.
62624         * benchtests/slowtan-inputs: New file.
62625         * benchtests/slowtan.c: New file.
62626         * benchtests/tan-inputs: New file.
62628 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62630         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62631         considered kosher.
62633 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62635         * benchtests/Makefile: Include cppflags-iterator.mk to add
62636         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62638         * Makefile.in (bench-clean): New target.
62639         * benchtests/Makefile (bench-clean): Likewise.
62641 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62643         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62645 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62647         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62649 2013-04-15  Andreas Schwab  <schwab@suse.de>
62651         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62652         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62653         * nscd/pwdcache.c (cache_addpw): Likewise.
62654         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62655         more than recsize.
62657 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62659         * benchtests/Makefile (bench): Write all output to
62660         bench-out.tmp together.
62662 2013-04-15  Andreas Schwab  <schwab@suse.de>
62664         * nscd/nscd.c (main): Don't fork again after closing files.
62666 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62668         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62670         * benchtests/Rules (bench-deps): Collect dependencies into a
62671         single variable.  Add Makefile to dependencies.
62672         ($(objpfx)bench-%.c): Depend on bench-deps.
62674 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62675             Xavier Roche  <roche+kml2@exalead.com>
62677         [BZ #15361]
62678         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62679         just that it's a file descriptor.
62680         * manual/llio.texi (Synchronizing AIO Operations): Update description
62681         for EBADF error from aio_fsync.
62683 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62685         * Rules (bench): Move target definition...
62686         * benchtests/Makefile: ... here.
62688 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62690         * math/libm-test.inc (cos_test): Fix PI/2 test.
62691         (sincos_test): Likewise.
62692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62693         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62695 2013-04-11  Andreas Schwab  <schwab@suse.de>
62697         [BZ #13988]
62698         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62699         accept exponent character only when digits were seen.
62700         * stdio-common/Makefile (tests): Add bug26.
62701         * stdio-common/bug26.c: New file.
62703         [BZ #14293]
62704         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62705         non-freeable.
62707 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62709         * Makeconfig (rtld-prefix): Define built linker prefix.
62710         * Rules (run-bench): Use it.
62711         * math/Makefile (run-regen-ulps): Likewise.
62713         * Rules (bench): Remove eval.
62715 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62716             Roland McGrath  <roland@hack.frob.com>
62717             Ondrej Bilka  <neleai@seznam.cz>
62719         [BZ #15346]
62720         * time/getdate.c: Include ctype.h and alloca.h.
62721         (__getdate_r): Trim leading and trailing spaces of input.
62722         * time/tst-getdate.c (tests): Add tests with leading and
62723         trailing spaces.
62725 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62727         [BZ #14280]
62728         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62729         when computing value.
62731 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62733         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62734         Use testrun.sh to run libm tests.
62736         [BZ #15309]
62737         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62739 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62741         [BZ #15264]
62742         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62744 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62746         * Makefile.in (regen-ulps): New target.
62747         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62748         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62749         [ifneq (no,$(PERL)] (regen-ulps): New target.
62750         [ifeq (no,$(PERL)] (regen-ulps): New target.
62751         * math/libm-test.inc (ulps_file_name): Define.
62752         (output_dir): New variable.
62753         (options): Add "output-dir" option.
62754         (parse_opt): Handle 'o' case.
62755         (main): If output_dir is non-NULL use it as a prefix
62756         otherwise use "".
62757         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62759 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62761         [BZ #10060, #10062]
62762         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62763         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62764         fail configure if __sync_val_compare_and_swap is not inlined.
62765         * sysdeps/i386/configure: Regenerate.
62766         * configure.in: Build for i686 when configured for i386.
62767         * configure: Regenerate.
62768         * README: Remove i386 reference.
62770 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62772         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62773         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62775 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62777         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62778         (lmsnanval): New variables.
62779         (F): Add conversion tests.
62780         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62781         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62783         * stdio-common/tstdiomisc.c (F): Properly collect individual
62784         tests' results.
62786         [BZ #14686, #15336]
62787         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62788         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62789         Instead, use input NaN values or generate a qNaN by arithmetic
62790         operation.  Also fix bugs to comply with the standard.
62791         * math/libm-test.inc (remainder_test): Add more tests.
62793         [BZ #15335, #15342]
62794         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62796         input NaN values or generate a qNaN by arithmetic operation.
62798         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62799         unreachable code.
62801         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62802         definitions.
62804 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62806         [BZ #14478]
62807         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62808         underflowed result.
62809         * math/s_cexpf.c (__cexpf): Likewise.
62810         * math/s_cexpl.c (__cexpl): Likewise.
62811         * math/libm-test.inc (cexp_test): Add more tests.
62813 2013-04-03  Andreas Schwab  <schwab@suse.de>
62815         [BZ #15330]
62816         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62817         order arrays from heap if bigger than alloca cutoff.
62819 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62821         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62822         (SNAN_TESTS_double): Refer to GCC PR56831.
62823         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62824         GCC PR56828.
62826 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62828         * Rules (bench): Move bench.out after the run is complete.
62830         * Rules (bench): Echo currently running benchmark.
62832         * benchtests/Makefile (bench): Add atan and slowatan.
62833         * benchtests/atan-inputs: New file.
62834         * benchtests/slowatan-inputs: New file.
62835         * benchtests/slowatan.c: New file.
62837         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62838         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62839         its value.
62841         [BZ #15305]
62842         * sysdeps/unix/sysv/linux/kernel-features.h
62843         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62844         __ASSUME_XFS_RESTRICTED_CHOWN.
62845         * sysdeps/unix/sysv/linux/pathconf.c
62846         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62847         Save and restore errno.
62849 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62851         [BZ #15327]
62852         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62853         arguments using __kernel_casinh.
62854         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62855         arguments using __kernel_casinhf.
62856         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62857         arguments using __kernel_casinhl.
62858         * math/libm-test.inc (cacosh_test): Add more tests.
62859         * sysdeps/i386/fpu/libm-test-ulps: Update.
62860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62862 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62864         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62867         * bench/Makefile (bench): Add sin and slowsin.
62868         * benchtests/sin-inputs: New file.
62869         * benchtests/slowsin-inputs: New file.
62870         * benchtests/slowsin.c: New file.
62872         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62873         (bench): Add slowexp and slowpow.
62874         (exp-ITER): Increase iterations.
62875         (pow-ITER): Likewise.
62876         * benchtests/exp-inputs: Change input.
62877         * benchtests/pow-inputs: Likewise.
62878         * benchtests/slowexp-inputs: New file.
62879         * benchtests/slowexp.c: New file.
62880         * benchtests/slowpow-inputs: New file.
62881         * benchtests/slowpow.c: New file.
62883 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62885         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62886         instructions.
62887         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62888         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62889         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62890         * benchtests/Makefile: Add rint benchtest.
62891         * benchtests/rint-inputs: Input for rint benchtest.
62893 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62895         * Versions.def (libm): Add GLIBC_2.18.
62896         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62897         hidden libm prototypes.
62898         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62899         * math/Makefile (libm-calls): Add s_issignaling.
62900         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62901         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62902         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62903         declaration.
62904         * math/math.h [__USE_GNU] (issignaling): New macro.
62905         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62906         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62907         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62908         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62909         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62910         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62911         * manual/arith.texi (issignaling): New section.
62912         * manual/libm-err-tab.pl (@all_functions): Update comment.
62913         * math/gen-libm-test.pl (parse_args): Apply special handling for
62914         issignaling.
62915         * math/libm-test.inc (print_float, issignaling_test): New
62916         functions.
62917         (check_float_internal): Add issignaling checks.
62918         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62919         default definition.
62920         * sysdeps/powerpc/math-tests.h: New file.
62921         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62922         tests.
62923         * math/test-snan.c (TEST_FUNC): Likewise.
62925 2013-03-30  David S. Miller  <davem@davemloft.net>
62927         * po/de.po: Update from translation team.
62929 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62931         [BZ #10357]
62932         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62933         imaginary part less than 1.0 and real part less than 0.5
62934         specially.
62935         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62936         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62937         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62938         (cacos_test): Add more tests.
62939         (casin_test): Likewise.
62940         (casinh_test): Likewise.
62941         * sysdeps/i386/fpu/libm-test-ulps: Update.
62942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62944 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62946         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62947         ONE with its value.
62949         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62950         (__pow_mp): Replace ONE and MONE with their values.
62951         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62952         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62953         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62954         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62955         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62956         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62958         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62960         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62961         (__pow_mp): Replace ZERO and MZERO with their values.
62962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62963         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62964         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62966         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62967         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62968         (__sqr): Likewise.
62970         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62972         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62974 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62976         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62977         Declare with __attribute__ ((weak)).
62978         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62979         Call __call_tls_dtors only if it's not NULL.
62981 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62983         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62984         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62985         magic __ehdr_start linker symbol if it's defined.
62986         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62987         them up here if it was already done.
62989         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62990         (_dl_aux_init): Use const in cast when setting it.
62991         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62992         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62993         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62995         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62996         Declare them here.
62997         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62998         * csu/libc-tls.c: Nor here.
62999         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63001         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63002         (__libc_message): Never call vsyslog.
63004 2013-03-28  Alan Modra  <amodra@gmail.com>
63006         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63007         Define as empty.
63008         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63009         Likewise.
63011 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63013         [BZ #15214]
63014         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63015         underflow.
63016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63018 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63020         [BZ #15304]
63021         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63022         Don't add gid passed as argument.
63024         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63026 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63028         [BZ #15307]
63029         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63030         imaginary part between 1.0 and 1.5 and real part less than 0.5
63031         specially.
63032         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63033         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63034         * math/libm-test.inc (cacos_test): Add more tests.
63035         (casin_test): Likewise.
63036         (casinh_test): Likewise.
63037         * sysdeps/i386/fpu/libm-test-ulps: Update.
63038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63040 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63042         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63043         constants.
63044         (norm): Likewise.
63045         (denorm): Likewise.
63046         (__dbl_mp): Likewise.
63047         (add_magnitudes): Likewise.
63048         (sub_magnitudes): Likewise.
63049         (__add): Likewise.
63050         (__sub): Likewise.
63051         (__mul): Likewise.
63052         (__sqr): Likewise.
63053         (__inv): Likewise.
63054         (__dvd): Likewise.
63056         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63057         commented code.
63058         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63059         (__dubcos): Likewise.
63060         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63061         (__ieee754_acos): Likewise.
63062         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63063         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63064         (__exp1): Likewise.
63065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63067         (log1): Likewise.
63068         (my_log2): Likewise.
63069         (checkint): Likewise.
63070         * sysdeps/ieee754/dbl-64/e_remainder.c
63071         (__ieee754_remainder): Likewise.
63072         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63073         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63074         (bsloww): Likewise.
63075         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63077         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63078         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63079         MANTISSA_STORE_T to store computations on mantissa.  Use
63080         macros for rounding and division.
63081         (denorm): Likewise.
63082         (__dbl_mp): Likewise.
63083         (add_magnitudes): Likewise.
63084         (sub_magnitudes): Likewise.
63085         (__mul): Likewise.
63086         (__sqr): Likewise.
63087         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63088         powers of two in terms of TWOPOW macro.
63089         (mp_no): Make type of mantissa as MANTISSA_T.
63090         [!RADIXI]: Define RADIXI.
63091         [!TWO52]: Define TWO52.
63092         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63094 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63096         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63097         llroundl symbol when building for PPC32.
63099 2013-03-24  Mark H Weaver  <mhw@netris.org>
63101         * manual/arith.texi (Normalization Functions): Fix prototypes for
63102         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63104 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63106         [BZ #13889]
63107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63108         high value to check if expl overflow.
63109         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63110         to check for underflow and overflow.
63111         * math/libm-test.inc: Add exp test.
63113 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63115         [BZ #11120]
63116         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63117         with NOT_IN_libc.
63119 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63121         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63122         symbol.
63124 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63126         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63127         wrap blocks consisting of several statements.
63129         * sysdeps/generic/math-tests.h: New file.
63130         * sysdeps/i386/fpu/math-tests.h: Likewise.
63131         * math/test-snan.c: Include it.
63132         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63134 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63136         [BZ #15285]
63137         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63138         (__ieee754_j0l): Do not improve calculations using cos of twice
63139         input for inputs above LDBL_MAX / 2.0L.
63140         (__ieee754_y0l): Likewise.
63141         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63142         (__ieee754_j1l): Do not improve calculations using cos of twice
63143         input for inputs above LDBL_MAX / 2.0L.
63144         (__ieee754_y1l): Likewise.
63145         * math/libm-test.inc (j0_test): Add another test.
63146         (j1_test): Likewise.
63147         (y0_test): Likewise.
63148         (y1_test): Likewise.
63149         * sysdeps/i386/fpu/libm-test-ulps: Update.
63151 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63153         * Rules ($(objpfx)bench-%.c): Include code from a C source
63154         file.
63156 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63158         [BZ #15287]
63159         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63160         imaginary part 1.0 and real part less than 0.5 specially.
63161         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63162         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63163         * math/libm-test.inc (cacos_test): Add more tests.
63164         (casin_test): Likewise.
63165         (casinh_test): Likewise.
63166         * sysdeps/i386/fpu/libm-test-ulps: Update.
63167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63169 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63171         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63172         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63174 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63176         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63177         * config.make.in (config-cflags-sse4): Remove variable.
63178         (config-cflags-avx): Likewise.
63179         (config-cflags-sse2avx): Likewise.
63180         (config-cflags-novzeroupper): Likewise.
63181         (config-asflags-i686): Likewise.
63182         (have-mfma4): Likewise.
63183         (have-as-vis3): Likewise.
63184         (MIG): Likewise.
63185         * configure.in (MIG): Do not AC_SUBST.
63186         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63187         (libc_cv_cc_sse4): Do not AC_SUBST.
63188         (libc_cv_cc_avx): Likewise.
63189         (libc_cv_cc_sse2avx): Likewise.
63190         (libc_cv_cc_novzeroupper): Likewise.
63191         (libc_cv_cc_fma4): Likewise.
63192         (libc_cv_as_i686): Likewise.
63193         (libc_cv_sparc_as_vis3): Likewise.
63194         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63195         LIBC_CONFIG_VAR.
63196         (config-asflags-i686): Likewise.
63197         (config-cflags-avx): Likewise.
63198         (config-cflags-sse2avx): Likewise.
63199         (have-mfma4): Likewise.
63200         (config-cflags-novzeroupper): Likewise.
63201         * sysdeps/mach/configure.in (MIG): Likewise.
63202         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63203         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63204         LIBC_CONFIG_VAR.
63205         (config-cflags-avx): Likewise.
63206         (config-cflags-sse2avx): Likewise.
63207         (have-mfma4): Likewise.
63208         (config-cflags-novzeroupper): Likewise.
63209         * configure: Regenerated.
63210         * sysdeps/i386/configure: Likewise.
63211         * sysdeps/mach/configure: Likewise.
63212         * sysdeps/sparc/configure: Likewise.
63213         * sysdeps/x86_64/configure: Likewise.
63215 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63217         [BZ #14812]
63218         * locale/programs/localedef.c (options): Put N_ translation marker
63219         on argument names, not just descriptions.
63221 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63223         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63225 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63227         [BZ #14176]
63228         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63230 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63232         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63233         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63234         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63235         [!BEFORE_ABORT] (before_abort): New function.
63236         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63237         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63238         (writev_for_fatal): New function.
63239         (WRITEV_FOR_FATAL): New macro; call that.
63240         (backtrace_and_maps): New function.
63241         (BEFORE_ABORT): New macro; call that.
63242         (struct str_list): Type removed.
63243         (__libc_message, __libc_fatal): Functions removed.
63244         Include <sysdeps/posix/libc_fatal.c> instead.
63246 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63248         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63249         constants.
63250         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63251         double constants.
63253 2013-03-19  Andreas Schwab  <schwab@suse.de>
63255         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63256         * sysdeps/gnu/configure: Regenerate.
63258         * configure.in: Substitute libc_cv_rtlddir.
63259         * configure: Regenerate.
63260         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63261         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63262         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63263         * elf/Makefile (install-others, CFLAGS-interp.c)
63264         (ldso_install, common-ldd-rewrite): Likewise.
63265         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63266         $(inst_slibdir)/$(rtld-installed-name).
63267         * scripts/rellns-sh: Add -p option.
63268         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63269         for source.
63271 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63273         * manual/nptl.texi: Renamed to ...
63274         * manual/threads.texi: ... this.
63275         * manual/Makefile (chapters): Update.
63277 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63279         [BZ #14812]
63280         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63281         on argument names, not just descriptions.
63282         * malloc/memusagestat.c (options): Likewise.
63283         * nss/getent.c (options): Likewise.
63285 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63287         [BZ #14812]
63288         * iconv/iconv_prog.c (options): Put N_ translation marker
63289         on argument names, not just descriptions.
63290         * iconv/iconvconfig.c (options): Likewise.
63292 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63294         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63295         implementation which is faster on all x86_64 architectures.
63296         Tested on AMD, Intel Nehalem, SNB, IVB.
63297         * sysdeps/x86_64/strnlen.S: Likewise.
63299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63300         Remove all multiarch strlen and strnlen versions.
63301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63302         Remove strlen and strnlen related parts.
63304         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63305         Inline strlen part.
63306         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63308         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63309         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63310         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63311         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63312         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63313         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63315 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63317         * manual/memory.texi (Malloc Tunable Parameters):
63318         Sort parameters alphabetically. Add comments for missing entries.
63320 2013-03-17  David S. Miller  <davem@davemloft.net>
63322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63324 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63326         [BZ #15283]
63327         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63328         for arguments at most half maximum finite value.
63329         * math/libm-test.inc (j0_test): Add more tests.
63330         (j1_test): Likewise.
63331         (y0_test): Likewise.
63332         (y1_test): Likewise.
63333         * sysdeps/i386/fpu/libm-test-ulps: Update.
63334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63336         [BZ #14155]
63337         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63338         1 / x and functions P and Q for arguments above 0x1p256L.
63339         (__ieee754_y0l): Likewise.
63340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63341         (__ieee754_y1l): Likewise.
63342         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63343         (j1_test): Likewise.
63344         (y0_test): Likewise.
63345         (y1_test): Likewise.
63347 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63349         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63350         variable.
63352 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63354         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63355         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63356         zero since it's initialized to EXEC_PAGESIZE.
63358         * sysdeps/unix/sysv/linux/ldsodefs.h
63359         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63360         * sysdeps/generic/ldsodefs.h: ... here.
63362 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63364         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63366         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63367         math/test-snan.c.
63368         * math/test-snan.c: Renamed from
63369         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63370         * math/Makefile (tests): Add test-snan.
63371         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63372         test-powerpc-snan.
63374         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63375         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63376         functions.
63377         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63378         __builtin_nan family of functions.
63379         * math/libm-test.inc (initialize): Initialize qnan_value with
63380         __builtin_nan family of functions.
63381         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63382         Remove variables.
63383         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63384         Remove functions.
63385         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63386         storage class.  Initialize qNaN_var and sNaN_var with
63387         __builtin_nan and __builtin_nans families of functions,
63388         respectively.
63390         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63391         (sqrt_test): Remove duplicate test with qNaN input.
63392         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63393         (round_test, signbit_test, significand_test): Note missing +/-Inf
63394         as well as qNaN tests.
63396         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63397         qNaN_var.  Fix a few strings, too.
63398         * math/libm-test.inc (nan_value): Rename to qnan_value.
63399         * math/gen-libm-test.pl (%beautify): Adjust to that.
63400         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63401         * math/test-misc.c (main): Likewise.
63402         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63403         to __qnan_bytes, and __qnan_union, respectively.
63404         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63405         Likewise.
63406         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63407         and lqnanval, respectively.
63408         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63409         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63410         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63411         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63413         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63414         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63415         doubles.
63417         * math/test-misc.c (main): Fix copy'n'pastos.
63418         * misc/tst-efgcvt.c (special): Likewise.
63420         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63421         Remove declarations.
63423 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63425         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63426         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63427         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63428         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63430 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63433         macro to return vdso values correctly in IFUNC implementations.
63434         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63435         Optimization by using IFUNC.
63437 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63438             Richard Henderson  <rth@redhat.com>
63439             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63441         * Makefile.in (bench): New target.
63442         * NEWS: Mention the benchmark framework.
63443         * Rules (bench): Likewise.
63444         (binaries-bench): Generate binaries for functions to
63445         benchmark.
63446         * benchtests/Makefile: New makefile for benchmark tests.
63447         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63448         programs.
63449         * benchtests/exp-inputs: New input file for EXP function.
63450         * benchtests/pow-inputs: New input file for POW function.
63451         * scripts/bench.pl: New script to generate source files for
63452         benchmark programs.
63454 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63456         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63457         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63458         computations on mantissa.  Use macros for rounding and
63459         division.
63460         (denorm): Likewise.
63461         (__dbl_mp): Likewise.
63462         (add_magnitudes): Likewise.
63463         (sub_magnitudes): Likewise.
63464         (__mul): Likewise.
63465         (__sqr): Likewise.
63466         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63467         powers of two in terms of TWOPOW macro.
63468         (mp_no): Make type of mantissa as MANTISSA_T.
63469         [!RADIXI]: Define RADIXI.
63470         [!TWO52]: Define TWO52.
63471         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63473         * manual/nptl.texi (cindex): Modify threads to pthreads.
63475 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63477         * sysdeps/x86_64/preconfigure: Regenerated.
63479 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63481         [BZ #14155]
63482         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63483         0x1p28 and above.
63484         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63485         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63486         0x1p28 and above.
63487         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63488         * math/libm-test.inc (j0_test): Do not allow one spurious
63489         underflow exception.
63490         (y1_test): Likewise.
63492 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63494         * manual/Makefile (chapters): Add nptl.
63495         * manual/debug.texi (Debugging Support): Add link to Threads
63496         chapter.
63497         * manual/nptl.texi: New file.
63499         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63501 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63503         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63504         for non-NULL pointer before the memory validity test. Pointed
63505         out by Holger Brunck <holger.brunck@keymile.com>.
63507 2013-03-13  Andreas Schwab  <schwab@suse.de>
63509         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63510         instead of .os.
63512 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63514         * timezone/zic.c: Update from tzcode 2013b.
63516 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63518         * manual/install.texi (Configuring and compiling):
63519         Mention i686 and i586.
63520         * INSTALL: Regenerate.
63522 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63524         * sysdeps/init_array/elf-init.c: New file.
63525         * csu/elf-init.c
63526         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63527         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63529         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63530         __gmon_start__ as global, but as static with a .preinit_array pointer.
63531         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63532         * sysdeps/init_array/crti.S: New file, empty except for comments.
63533         * sysdeps/init_array/crtn.S: Likewise.
63535 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63537         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63538         definining bcopy.
63539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63540         Remove Prefer_SSE_for_memop.
63541         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63542         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63543         HAS_PREFER_SSE_FOR_MEMOP.
63544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63545         memset-x86-64.
63546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63547         Remove bzero, memset ifunc support.
63548         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63549         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63550         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63551         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63553 2013-03-11  Andreas Schwab  <schwab@suse.de>
63555         [BZ #15234]
63556         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63557         by SHLIB_COMPAT.
63558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63559         (GLIBC_2.16): Remove pthread_atfork.
63561 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63563         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63564         (ptestcases.h): Likewise.
63566 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63568         * Makeconfig ($(common-objpfx)config.status): Depend on
63569         sysdeps/*/preconfigure{,.in} too.
63571 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63573         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63574         (__free_hook): Use void * instead of __malloc_ptr_t.
63575         (__malloc_hook): Likewise.
63576         (__realloc_hook): Likewise.
63577         (__memalign_hook): Likewise.
63578         (__after_morecore_hook): Likewise.
63579         * malloc/arena.c (save_malloc_hook): Likewise.
63580         (save_free_hook): Likewise.
63581         * malloc/hooks.c (malloc_hook_ini): Likewise.
63582         (realloc_hook_ini): Likewise.
63583         (memalign_hook_ini): Likewise.
63584         * malloc/malloc.c (malloc_hook_ini): Likewise.
63585         (realloc_hook_ini): Likewise.
63586         (memalign_hook_ini): Likewise.
63587         (__free_hook): Likewise.
63588         (__malloc_hook): Likewise.
63589         (__realloc_hook): Likewise.
63590         (__memalign_hook): Likewise.
63591         (__libc_malloc): Likewise.
63592         (__libc_free): Likewise.
63593         (__libc_realloc): Likewise.
63594         (__libc_memalign): Likewise.
63595         (__libc_valloc): Likewise.
63596         (__libc_pvalloc): Likewise.
63597         (__libc_calloc): Likewise.
63598         (__posix_memalign): Likewise.
63599         * malloc/morecore.c (__sbrk): Likewise.
63600         (__default_morecore): Likewise.
63602         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63604         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63605         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63606         __malloc_ptrdiff_t.
63608         * malloc/malloc.h (__malloc_size_t): Remove macro.
63609         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63610         __malloc_size_t.
63611         (old_memalign_hook): Likewise.
63612         (old_realloc_hook): Likewise.
63613         (struct hdr): Likewise.
63614         (flood): Likewise.
63615         (mallochook): Likewise.
63616         (memalignhook): Likewise.
63617         (reallochook): Likewise.
63618         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63619         (tr_old_realloc_hook): Likewise.
63620         (tr_old_memalign_hook): Likewise.
63621         (tr_mallochook): Likewise.
63622         (tr_reallochook): Likewise.
63623         (tr_memalignhook): Likewise.
63625 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63628         default_ldbl_pack and using as default implementation.
63629         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63630         implementation.
63631         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63632         redundant definition.
63633         (ldbl_insert_mantissa): Likewise.
63634         (ldbl_canonicalize): Likewise.
63635         (ldbl_nearbyint): Likewise.
63636         (ldbl_pack): Rename to ldbl_pack_ppc.
63637         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63638         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63639         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63641 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63644         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63646         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63648         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63649         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63650         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63652 2013-03-07  Andreas Jaeger  <aj@suse.de>
63654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63655         bits/mman-linux.h.
63657 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63659         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63660         Include mpa.h and declare __MPEXP.
63661         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63662         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63663         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63664         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63665         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63666         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63667         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63669         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63670         (__slowpow): Use long double EXPL and LOGL functions to
63671         compute POW.
63672         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63673         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63675         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63676         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63677         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63680         intermediate variable to calculate exponent.
63681         (__sqr): Likewise.
63682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63683         Likewise.
63684         (__sqr): Likewise.
63686         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63687         [!NO__SQR]: Define __sqr.
63688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63689         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63690         sysdeps/ieee754/dbl-64/mpa.c.
63691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63693         [BZ #12723]
63694         * posix/Makefile (tests): Add tst-pathconf.
63695         * posix/tst-pathconf.c: New test case.
63696         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63697         _PC_PIPE_BUF.
63698         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63700 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63702         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63704 2013-03-06  Andreas Jaeger  <aj@suse.de>
63706         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63707         definition via __MAP_ANONYMOUS.
63709         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63710         it's not part of Linux headers.
63712         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63713         (MAP_HUGE_MASK): Define.
63715         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63716         Define.
63717         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63718         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63719         Define.
63720         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63721         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63722         Define.
63723         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63725         Define.
63726         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63728         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63729         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63730         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63731         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63732         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63733         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63735         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63736         Handle f2fs.
63738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63739         Handle f2fs and efivarfs.
63741         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63742         f2fs.
63744         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63745         (EFIVARFS_MAGIC): Add.
63746         (F2FS_LINK_MAX): Add.
63748 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63750         * stdio-common/vfprintf.c: Replace __builtin_expect with
63751         __glibc_unlikely.
63753 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63755         [BZ #13550]
63756         * sysdeps/generic/bp-sym.h: Remove file.
63757         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63758         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63759         <bp-sym.h> and <bp-asm.h>.
63760         (__longjmp): Don't use BP_SYM.
63761         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63762         and <bp-asm.h>.
63763         (memcpy): Don't use BP_SYM.
63764         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63765         <bp-sym.h> and <bp-asm.h>.
63766         (memcpy): Don't use BP_SYM.
63767         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63768         <bp-asm.h>.
63769         (memcpy): Don't use BP_SYM.
63770         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63771         <bp-asm.h>.
63772         (memset): Don't use BP_SYM.
63773         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63774         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63775         (__bzero): Don't use BP_SYM.
63776         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63777         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63779         <bp-sym.h> and <bp-asm.h>.
63780         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63781         pointers.
63782         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63783         <bp-sym.h> and <bp-asm.h>.
63784         (memcpy): Don't use BP_SYM.
63785         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63786         <bp-sym.h> and <bp-asm.h>.
63787         (memset): Don't use BP_SYM.
63788         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63789         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63790         (__bzero): Don't use BP_SYM.
63791         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63792         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63793         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63794         <bp-sym.h> and <bp-asm.h>.
63795         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63796         pointers.
63797         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63798         <bp-sym.h> and <bp-asm.h>.
63799         (memcpy): Don't use BP_SYM.
63800         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63801         <bp-sym.h> and <bp-asm.h>.
63802         (memset): Don't use BP_SYM.
63803         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63804         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63805         (__bzero): Don't use BP_SYM.
63806         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63807         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63808         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63809         <bp-sym.h> and <bp-asm.h>.
63810         (__memchr): Don't use BP_SYM.
63811         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63812         <bp-sym.h> and <bp-asm.h>.
63813         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63814         pointers.
63815         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63816         <bp-sym.h> and <bp-asm.h>.
63817         (memcpy): Don't use BP_SYM.
63818         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63819         <bp-sym.h> and <bp-asm.h>.
63820         (__mempcpy): Don't use BP_SYM.
63821         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63822         <bp-sym.h> and <bp-asm.h>.
63823         (__memrchr): Don't use BP_SYM.
63824         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63825         <bp-sym.h> and <bp-asm.h>.
63826         (memset): Don't use BP_SYM.
63827         (__bzero): Likewise.
63828         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63829         <bp-sym.h> and <bp-asm.h>.
63830         (__rawmemchr): Don't use BP_SYM.
63831         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63832         <bp-sym.h> and <bp-asm.h>.
63833         (__STRCMP): Don't use BP_SYM.
63834         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63835         <bp-sym.h> and <bp-asm.h>.
63836         (strchr): Don't use BP_SYM.
63837         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63838         <bp-sym.h> and <bp-asm.h>.
63839         (__strchrnul): Don't use BP_SYM.
63840         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63841         <bp-sym.h> and <bp-asm.h>.
63842         (strlen): Don't use BP_SYM.
63843         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63844         <bp-sym.h> and <bp-asm.h>.
63845         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63846         pointers.
63847         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63848         <bp-sym.h> and <bp-asm.h>.
63849         (__strnlen): Don't use BP_SYM.
63850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63851         <bp-sym.h> and <bp-asm.h>.
63852         (__GI__setjmp): Don't use BP_SYM.
63853         (_setjmp): Likewise.
63854         (__sigsetjmp): Likewise.
63855         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63856         (L(start_addresses)): Don't use BP_SYM.
63857         (_start): Likewise.
63858         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63859         <bp-asm.h>.
63860         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63861         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63862         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63863         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63864         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63865         <bp-asm.h>.
63866         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63867         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63868         about bounded pointers.
63869         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63870         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63871         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63872         <bp-asm.h>.
63873         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63874         about bounded pointers.  Remove GKM FIXME comments.
63875         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63876         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63877         <bp-asm.h>.
63878         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63879         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63880         Remove GKM FIXME comments.
63881         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63882         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63883         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63884         <bp-asm.h>.
63885         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63886         about bounded pointers.  Remove GKM FIXME comment.
63887         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63888         and <bp-asm.h>.
63889         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63890         pointers.
63891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63892         <bp-sym.h> and <bp-asm.h>.
63893         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63895         <bp-sym.h> and <bp-asm.h>.
63896         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63897         comment.
63899 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63901         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63902         call free(NULL).
63904 2013-03-05  David S. Miller  <davem@davemloft.net>
63906         * po/es.po: Update from translation team.
63908 2013-03-05  Andreas Jaeger  <aj@suse.de>
63910         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63911         <bits/mman-linux.h>.
63912         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63913         is fine.
63914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63915         <bits/mman-linux.h> to end of file.
63916         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63917         is fine.
63918         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63919         <bits/mman-linux.h> to end of file.
63920         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63921         is fine.
63922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63923         <bits/mman-linux.h> to end of file.
63925         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63926         (MCL_CURRENT, MCL_FUTURE): Define here.
63928 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63930         [BZ #15232]
63931         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63932         attribute_hidden.
63933         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63935 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63937         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63938         fourth parameter needed for rt_sigprocmask syscall.
63939         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63940         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63941         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63942         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63943         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63944         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63946 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63948         [BZ #13550]
63949         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63950         comment about bounded pointers.
63951         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63952         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63954 2013-03-04  Andreas Jaeger  <aj@suse.de>
63956         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63957         common definitions.
63959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63960         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63961         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63962         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63963         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63964         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63966 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63968         [BZ #15055]
63969         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63970         __ieee754_sqrl instead of __sqrl.
63972 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63974         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63975         * sysdeps/powerpc/fpu_control.h: ... here.
63976         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63977         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63978         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63979         * sysdeps/powerpc/bits/mathinline.h: ... here.
63981 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63983         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63984         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63985         to just [NEED_DL_SYSINFO_DSO].
63986         * elf/dl-support.c: Likewise.
63987         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63988         * elf/rtld.c (dl_main): Likewise.
63989         * elf/setup-vdso.h (setup_vdso): Likewise.
63990         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63991         * sysdeps/unix/sysv/linux/dl-sysdep.c
63992         (_dl_discover_osversion): Likewise.
63994 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63996         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63997         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63999 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64001         * NEWS: Mention libm performance improvements and non-x86 PI
64002         futex support.
64004         * csu/libc-start.c (__pthread_initialize_minimal): Change
64005         function arguments.
64006         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64008 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64010         [BZ #13550]
64011         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64012         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64013         <bp-sym.h> and <bp-asm.h>.
64014         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64015         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64016         and <bp-asm.h>.
64017         (memcpy): Don't use BP_SYM.
64018         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64019         <bp-asm.h>.
64020         (__mpn_add_n): Don't use BP_SYM.
64021         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64022         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64023         and <bp-asm.h>.
64024         (__mpn_addmul_1): Don't use BP_SYM.
64025         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64026         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64027         <bp-sym.h>.
64028         (_setjmp): Don't use BP_SYM.
64029         (__novmx_setjmp): Likewise.
64030         (__GI__setjmp): Likewise.
64031         (__vmx_setjmp): Likewise.
64032         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64033         <bp-sym.h>.
64034         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64035         (__bzero): Don't use BP_SYM.
64036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64038         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64039         <bp-sym.h> and <bp-asm.h>.
64040         (memcpy): Don't use BP_SYM.
64041         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64042         <bp-sym.h> and <bp-asm.h>.
64043         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64044         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64045         <bp-sym.h> and <bp-asm.h>.
64046         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64047         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64048         <bp-asm.h>.
64049         (__mpn_lshift): Don't use BP_SYM.
64050         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64051         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64052         <bp-asm.h>.
64053         (memset): Don't use BP_SYM.
64054         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64055         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64056         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64057         <bp-asm.h>.
64058         (__mpn_mul_1): Don't use BP_SYM.
64059         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64060         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64061         <bp-sym.h> and <bp-asm.h>.
64062         (memcmp): Don't use BP_SYM.
64063         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64064         <bp-sym.h> and <bp-asm.h>.
64065         (memcpy): Don't use BP_SYM.
64066         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64067         <bp-sym.h> and <bp-asm.h>.
64068         (memset): Don't use BP_SYM.
64069         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64070         <bp-sym.h> and <bp-asm.h>.
64071         (strncmp): Don't use BP_SYM.
64072         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64073         <bp-sym.h> and <bp-asm.h>.
64074         (memcpy): Don't use BP_SYM.
64075         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64076         <bp-sym.h> and <bp-asm.h>.
64077         (memset): Don't use BP_SYM.
64078         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64079         <bp-sym.h> and <bp-asm.h>.
64080         (__memchr): Don't use BP_SYM.
64081         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64082         <bp-sym.h> and <bp-asm.h>.
64083         (memcmp): Don't use BP_SYM.
64084         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64085         <bp-sym.h> and <bp-asm.h>.
64086         (memcpy): Don't use BP_SYM.
64087         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64088         <bp-sym.h> and <bp-asm.h>.
64089         (__mempcpy): Don't use BP_SYM.
64090         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64091         <bp-sym.h> and <bp-asm.h>.
64092         (__memrchr): Don't use BP_SYM.
64093         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64094         <bp-sym.h> and <bp-asm.h>.
64095         (memset): Don't use BP_SYM.
64096         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64097         <bp-sym.h> and <bp-asm.h>.
64098         (__rawmemchr): Don't use BP_SYM.
64099         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64100         <bp-sym.h> and <bp-asm.h>.
64101         (__STRCMP): Don't use BP_SYM.
64102         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64103         <bp-sym.h> and <bp-asm.h>.
64104         (strchr): Don't use BP_SYM.
64105         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64106         <bp-sym.h> and <bp-asm.h>.
64107         (__strchrnul): Don't use BP_SYM.
64108         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64109         <bp-sym.h> and <bp-asm.h>.
64110         (strlen): Don't use BP_SYM.
64111         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64112         <bp-sym.h> and <bp-asm.h>.
64113         (strncmp): Don't use BP_SYM.
64114         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64115         <bp-sym.h> and <bp-asm.h>.
64116         (__strnlen): Don't use BP_SYM.
64117         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64118         <bp-asm.h>.
64119         (__mpn_rshift): Don't use BP_SYM.
64120         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64121         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64122         <bp-sym.h> and <bp-asm.h>.
64123         (__sigsetjmp): Don't use BP_SYM.
64124         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64125         (L(start_addresses)): Don't use BP_SYM.
64126         (_start): Likewise.
64127         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64128         <bp-asm.h>.
64129         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64130         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64131         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64132         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64133         <bp-asm.h>.
64134         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64135         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64136         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64137         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64138         <bp-asm.h>.
64139         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64140         comments.
64141         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64142         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64143         <bp-asm.h>.
64144         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64145         FIXME comments.
64146         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64147         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64148         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64149         <bp-asm.h>.
64150         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64151         comment.
64152         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64153         and <bp-asm.h>.
64154         (strncmp): Don't use BP_SYM,
64155         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64156         <bp-asm.h>.
64157         (__mpn_sub_n): Don't use BP_SYM.
64158         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64159         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64160         and <bp-asm.h>.
64161         (__mpn_submul_1): Don't use BP_SYM.
64162         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64164         <bp-sym.h> and <bp-asm.h>.
64165         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64167         <bp-sym.h> and <bp-asm.h>.
64168         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64169         comment.
64171 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64174         Use ZK to minimize writes to Z.
64175         (sub_magnitudes): Simplify code a bit.
64176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64177         Use ZK to minimize writes to Z.
64178         (sub_magnitudes): Simplify code a bit.
64180 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64182         * csu/gmon-start.c: Add special exception to license text.
64184 2013-02-27  Richard Henderson  <rth@redhat.com>
64186         * scripts/config.guess: Update from config.git.
64187         * scripts/config.sub: Likewise.
64189 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64191         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64193         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64195         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64197         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64199         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64201 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64203         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64204         [$(build-shared = yes].
64206 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64208         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64209         (__mul): Reduce iterations for calculating mantissa.
64211         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64212         MPTWO.
64213         (__mpranred): Likewise.
64215         [BZ #15160]
64216         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64217         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64219 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64221         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64222         Define __attribute__.
64224 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64226         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64227         unused.
64228         * posix/regex_internal.h (__attribute): Remove.
64229         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64230         (re_string_context_at): Likewise.
64231         (bitset_not): Use __attribute__ and mark function as possibly
64232         unused.
64233         (bitset_merge): Likewise.
64234         (bitset_mask): Likewise.
64235         (re_string_char_size_at): Likewise.
64236         (re_string_wchar_at): Likewise.
64237         (re_string_elem_size_at): Likewise.
64239 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64241         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64242         code.
64243         (cc32): Likewise.
64245         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64246         (__acr): Likewise.
64247         (__cpy): Likewise.
64248         (norm): Likewise.
64249         (denorm): Likewise.
64250         (__dbl_mp): Likewise.
64251         (add_magnitudes): Likewise.
64252         (sub_magnitudes): Likewise.
64253         (__mul): Likewise.
64254         (__inv): Likewise.
64256         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64257         style.
64259         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64260         style.
64262         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64263         code.
64265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64266         up changes with default code.
64267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64268         Likewise.
64270 2013-02-24  Allan McRae  <allan@archlinux.org>
64272         * manual/socket.texi (The Internet Namespace): Order menu items
64273         to match that in the file.
64275         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64276         node listing of the info page menu.
64278 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64280         [BZ #13550]
64281         * sysdeps/i386/bp-asm.h: Remove file.
64282         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64283         (PARMS): Do not use macros from bp-asm.h.
64284         (S1): Likewise.
64285         (S2): Likewise.
64286         (SIZE): Likewise.
64287         (__mpn_add_n): Do not use BP_SYM
64288         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64289         "bp-asm.h".
64290         (PARMS): Do not use macros from bp-asm.h.
64291         (S1): Likewise.
64292         (SIZE): Likewise.
64293         (__mpn_addmul_1): Do not use BP_SYM
64294         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64295         "bp-asm.h".
64296         (PARMS): Do not use macros from bp-asm.h.
64297         (SIGMSK): Likewise.
64298         (_setjmp): Likewise.  Do not use BP_SYM.
64299         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64300         "bp-asm.h".
64301         (PARMS): Do not use macros from bp-asm.h.
64302         (SIGMSK): Likewise.
64303         (setjmp): Likewise.  Do not use BP_SYM.
64304         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64305         "bp-asm.h".
64306         (PARMS): Do not use macros from bp-asm.h.
64307         (__frexp): Do not use BP_SYM.
64308         (frexp): Likewise.
64309         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64310         "bp-asm.h".
64311         (PARMS): Do not use macros from bp-asm.h.
64312         (__frexpf): Do not use BP_SYM.
64313         (frexpf): Likewise.
64314         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64315         "bp-asm.h".
64316         (PARMS): Do not use macros from bp-asm.h.
64317         (__frexpl): Do not use BP_SYM.
64318         (frexpl): Likewise.
64319         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64320         "bp-asm.h".
64321         (PARMS): Do not use macros from bp-asm.h.
64322         (__remquo): Do not use BP_SYM.
64323         (remquo): Likewise.
64324         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64325         "bp-asm.h".
64326         (PARMS): Do not use macros from bp-asm.h.
64327         (__remquof): Do not use BP_SYM.
64328         (remquof): Likewise.
64329         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64330         "bp-asm.h".
64331         (PARMS): Do not use macros from bp-asm.h.
64332         (__remquol): Do not use BP_SYM.
64333         (remquol): Likewise.
64334         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64335         "bp-asm.h".
64336         (PARMS): Do not use macros from bp-asm.h.
64337         (DEST): Likewise.
64338         (SRC): Likewise.
64339         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64340         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64341         "bp-asm.h".
64342         (PARMS): Do not use macros from bp-asm.h.
64343         (strlen): Do not use BP_SYM.
64344         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64345         "bp-asm.h".
64346         (PARMS): Do not use macros from bp-asm.h.
64347         (S1): Likewise.
64348         (S2): Likewise.
64349         (SIZE): Likewise.
64350         (__mpn_add_n): Do not use BP_SYM.
64351         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64352         "bp-asm.h".
64353         (PARMS): Do not use macros from bp-asm.h.
64354         (S1): Likewise.
64355         (SIZE): Likewise.
64356         (__mpn_addmul_1): Do not use BP_SYM.
64357         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64358         weak_alias.
64359         (bzero): Likewise.
64360         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64361         "bp-asm.h".
64362         (PARMS): Do not use macros from bp-asm.h.
64363         (S): Likewise.
64364         (SIZE): Likewise.
64365         (__mpn_lshift): Do not use BP_SYM.
64366         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64367         "bp-asm.h".
64368         (PARMS): Do not use macros from bp-asm.h.
64369         (DEST): Likewise.
64370         (SRC): Likewise.
64371         (LEN): Likewise.
64372         (memcpy): Likewise.  Do not use BP_SYM.
64373         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64374         libc_hidden_def and weak_alias.
64375         (mempcpy): Do not use BP_SYM in weak_alias.
64376         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64377         "bp-asm.h".
64378         (PARMS): Do not use macros from bp-asm.h.
64379         (DEST): Likewise.
64380         (LEN): Likewise.
64381         [!BZERO_P] (CHR): Likewise.
64382         (memset): Likewise.  Do not use BP_SYM.
64383         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64384         "bp-asm.h".
64385         (PARMS): Do not use macros from bp-asm.h.
64386         (S1): Likewise.
64387         (SIZE): Likewise.
64388         (__mpn_mul_1): Do not use BP_SYM.
64389         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64390         "bp-asm.h".
64391         (PARMS): Do not use macros from bp-asm.h.
64392         (S): Likewise.
64393         (SIZE): Likewise.
64394         (__mpn_rshift): Do not use BP_SYM.
64395         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64396         "bp-asm.h".
64397         (PARMS): Do not use macros from bp-asm.h.
64398         (STR): Likewise.
64399         (CHR): Likewise.
64400         (strchr): Likewise.  Do not use BP_SYM.
64401         (index): Do not use BP_SYM in weak_alias.
64402         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64403         "bp-asm.h".
64404         (PARMS): Do not use macros from bp-asm.h.
64405         (DEST): Likewise.
64406         (SRC): Likewise.
64407         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64408         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64409         "bp-asm.h".
64410         (PARMS): Do not use macros from bp-asm.h.
64411         (strlen): Do not use BP_SYM.
64412         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64413         "bp-asm.h".
64414         (PARMS): Do not use macros from bp-asm.h.
64415         (S1): Likewise.
64416         (S2): Likewise.
64417         (SIZE): Likewise.
64418         (__mpn_sub_n): Do not use BP_SYM.
64419         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64420         "bp-asm.h".
64421         (PARMS): Do not use macros from bp-asm.h.
64422         (S1): Likewise.
64423         (SIZE): Likewise.
64424         (__mpn_submul_1): Do not use BP_SYM.
64425         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64426         "bp-asm.h".
64427         (PARMS): Do not use macros from bp-asm.h.
64428         (S1): Likewise.
64429         (S2): Likewise.
64430         (SIZE): Likewise.
64431         (__mpn_add_n): Do not use BP_SYM.
64432         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64433         weak_alias.
64434         (bzero): Likewise.
64435         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64436         "bp-asm.h".
64437         (PARMS): Do not use macros from bp-asm.h.
64438         (BLK2): Likewise.
64439         (LEN): Likewise.
64440         (memcmp): Do not use BP_SYM.
64441         (bcmp): Do not use BP_SYM in weak_alias.
64442         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64443         "bp-asm.h".
64444         (PARMS): Do not use macros from bp-asm.h.
64445         (DEST): Likewise.
64446         (SRC): Likewise.
64447         (LEN): Likewise.
64448         (memcpy): Likewise.  Do not use BP_SYM.
64449         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64450         "bp-asm.h".
64451         (PARMS): Do not use macros from bp-asm.h.
64452         (DEST): Likewise.
64453         (SRC): Likewise.
64454         (LEN): Likewise.
64455         (memmove): Likewise.  Do not use BP_SYM.
64456         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64457         "bp-asm.h".
64458         (PARMS): Do not use macros from bp-asm.h.
64459         (DEST): Likewise.
64460         (SRC): Likewise.
64461         (LEN): Likewise.
64462         (__mempcpy): Likewise.  Do not use BP_SYM.
64463         (mempcpy): Do not use BP_SYM in weak_alias.
64464         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64465         "bp-asm.h".
64466         (PARMS): Do not use macros from bp-asm.h.
64467         (DEST): Likewise.
64468         (LEN): Likewise.
64469         [!BZERO_P] (CHR): Likewise.
64470         (memset): Likewise.  Do not use BP_SYM.
64471         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64472         "bp-asm.h".
64473         (PARMS): Do not use macros from bp-asm.h.
64474         (STR2): Likewise.
64475         (strcmp): Do not use BP_SYM.
64476         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64477         "bp-asm.h".
64478         (PARMS): Do not use macros from bp-asm.h.
64479         (STR): Likewise.
64480         (DELIM): Likewise.
64481         [USE_AS_STRTOK_R] (SAVE): Likewise.
64482         (FUNCTION): Likewise.  Do not use BP_SYM.
64483         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64484         aliases.
64485         (strtok_r): Likewise.
64486         (__GI___strtok_r): Likewise.
64487         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64488         (PARMS): Do not use macros from bp-asm.h.
64489         (S): Likewise.
64490         (SIZE): Likewise.
64491         (__mpn_lshift): Do not use BP_SYM.
64492         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64493         (PARMS): Do not use macros from bp-asm.h.
64494         (STR): Likewise.
64495         (CHR): Likewise.
64496         (__memchr): Do not use BP_SYM.
64497         (memchr): Do not use BP_SYM in weak_alias.
64498         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64499         (PARMS): Do not use macros from bp-asm.h.
64500         (BLK2): Likewise.
64501         (LEN): Likewise.
64502         (memcmp): Do not use BP_SYM.
64503         (bcmp): Do not use BP_SYM in weak_alias.
64504         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64505         (PARMS): Do not use macros from bp-asm.h.
64506         (S1): Likewise.
64507         (SIZE): Likewise.
64508         (__mpn_mul_1): Do not use BP_SYM.
64509         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64510         "bp-asm.h".
64511         (PARMS): Do not use macros from bp-asm.h.
64512         (STR): Likewise.
64513         (CHR): Likewise.
64514         (__rawmemchr): Do not use BP_SYM.
64515         (rawmemchr): Do not use BP_SYM in weak_alias.
64516         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64517         (PARMS): Do not use macros from bp-asm.h.
64518         (S): Likewise.
64519         (SIZE): Likewise.
64520         (__mpn_rshift): Do not use BP_SYM.
64521         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64522         (PARMS): Do not use macros from bp-asm.h.
64523         (SIGMSK): Likewise.
64524         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64525         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64526         (_start): Do not use BP_SYM.
64527         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64528         (PARMS): Do not use macros from bp-asm.h.
64529         (DEST): Likewise.
64530         (SRC): Likewise.
64531         (__stpcpy): Likewise.  Do not use BP_SYM.
64532         (stpcpy): Do not use BP_SYM in weak_alias.
64533         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64534         "bp-asm.h".
64535         (PARMS): Do not use macros from bp-asm.h.
64536         (DEST): Likewise.
64537         (SRC): Likewise.
64538         (LEN): Likewise.
64539         (__stpncpy): Likewise.  Do not use BP_SYM.
64540         (stpncpy): Do not use BP_SYM in weak_alias.
64541         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64542         (PARMS): Do not use macros from bp-asm.h.
64543         (STR): Likewise.
64544         (CHR): Likewise.
64545         (strchr): Likewise.  Do not use BP_SYM.
64546         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64547         "bp-asm.h".
64548         (PARMS): Do not use macros from bp-asm.h.
64549         (STR): Likewise.
64550         (CHR): Likewise.
64551         (__strchrnul): Likewise.  Do not use BP_SYM.
64552         (strchrnul): Do not use BP_SYM in weak_alias.
64553         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64554         "bp-asm.h".
64555         (PARMS): Do not use macros from bp-asm.h.
64556         (STOP): Likewise.
64557         (strcspn): Do not use BP_SYM.
64558         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64559         "bp-asm.h".
64560         (PARMS): Do not use macros from bp-asm.h.
64561         (STR): Likewise.
64562         (STOP): Likewise.
64563         (strpbrk): Likewise.  Do not use BP_SYM.
64564         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64565         "bp-asm.h".
64566         (PARMS): Do not use macros from bp-asm.h.
64567         (STR): Likewise.
64568         (CHR): Likewise.
64569         (strrchr): Likewise.  Do not use BP_SYM.
64570         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64571         (PARMS): Do not use macros from bp-asm.h.
64572         (SKIP): Likewise.
64573         (strspn): Do not use BP_SYM.
64574         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64575         (PARMS): Do not use macros from bp-asm.h.
64576         (STR): Likewise.
64577         (DELIM): Likewise.
64578         (SAVE): Likewise.
64579         (FUNCTION): Likewise.  Do not use BP_SYM.
64580         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64581         aliases.
64582         (strtok_r): Likewise.
64583         (__GI___strtok_r): Likewise.
64584         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64585         (PARMS): Do not use macros from bp-asm.h.
64586         (S1): Likewise.
64587         (S2): Likewise.
64588         (SIZE): Likewise.
64589         (__mpn_sub_n): Do not use BP_SYM.
64590         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64591         "bp-asm.h".
64592         (PARMS): Do not use macros from bp-asm.h.
64593         (S1): Likewise.
64594         (SIZE): Likewise.
64595         (__mpn_submul_1): Do not use BP_SYM.
64596         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64597         <bp-sym.h>.
64598         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64599         and <bp-asm.h>.
64600         (PARMS): Do not use macros from bp-asm.h.
64601         (FLAGS): Likewise.
64602         (PTID): Likewise.
64603         (TLS): Likewise.
64604         (CTID): Likewise.
64605         (__clone): Do not use BP_SYM.
64606         (clone): Do not use BP_SYM in weak_alias.
64607         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64608         and <bp-asm.h>.
64609         (PARMS): Do not use macros from bp-asm.h.
64610         (LEN): Likewise.
64611         (__mmap64): Do not use BP_SYM.
64612         (mmap64): Do not use BP_SYM in weak_alias.
64613         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64614         <bp-sym.h> and <bp-asm.h>.
64615         (PARMS): Do not use macros from bp-asm.h.
64616         (__posix_fadvise64_l64): Do not use BP_SYM.
64617         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64618         (PARMS): Do not use macros from bp-asm.h.
64619         (NSOPS): Likewise.
64620         (semtimedop): Do not use BP_SYM.
64621         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64622         and <bp-asm.h>.
64624 2013-02-21  Allan McRae  <allan@archlinux.org>
64626         * manual/message.texi (Charset conversion in gettext):
64627         Move @end statement to beginning of line.
64629 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64632         static.
64633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64634         Likewise.
64636         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64637         (denorm): Likewise.
64638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64641 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64643         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64644         tail-call to the resolved function if pltexit isn't needed.
64646 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64649         or Y being zero as being unlikely.
64650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64651         Likewise.
64653 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64655         * manual/nss.texi (System Databases and Name Service Switch):
64656         Remove frobnicate @pxref.
64658 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64660         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64661         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64663 2013-02-20  Petr Machata  <pmachata@redhat.com>
64665         * elf/elf.h (R_ARM_TARGET1): New macro.
64666         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64667         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64668         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64669         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64670         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64671         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64672         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64673         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64674         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64675         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64676         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64677         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64678         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64679         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64680         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64681         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64682         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64683         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64684         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64685         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64686         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64687         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64688         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64689         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64690         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64691         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64692         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64693         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64694         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64695         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64696         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64697         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64698         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64699         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64700         (R_ARM_THM_GOT_BREL12): Likewise.
64701         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64702         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64703         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64704         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64705         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64706         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64707         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64708         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64709         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64711 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64713         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64714         __attribute_used__ to __attribute__ ((unused)).
64716 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64718         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64719         powerpc mpa.c.
64720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64721         comment formatting.
64722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64724 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64726         [BZ #13550]
64727         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64728         Remove macro.
64729         (ENTER): Remove both macro definitions.
64730         (LEAVE): Likewise.
64731         (CHECK_BOUNDS_LOW): Likewise.
64732         (CHECK_BOUNDS_HIGH): Likewise.
64733         (CHECK_BOUNDS_BOTH): Likewise.
64734         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64735         (RETURN_BOUNDED_POINTER): Likewise.
64736         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64737         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64738         (POP_ERRNO_LOCATION_RETURN): Likewise.
64739         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64740         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64741         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64742         macros.
64743         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64744         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64745         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64746         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64747         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64748         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64749         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64750         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64751         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64752         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64753         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64754         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64755         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64756         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64757         removed macros.
64758         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64759         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64760         macros.
64761         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64762         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64763         * sysdeps/i386/i586/memset.S (memset): Likewise.
64764         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64765         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64766         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64767         macros.
64768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64769         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64770         Change uses of L(2) to L(out).
64771         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64772         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64773         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64774         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64775         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64776         removed macros.
64777         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64778         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64779         macros.
64780         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64781         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64782         (RETURN): Do not use macro LEAVE.
64783         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64784         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64785         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64786         * sysdeps/i386/i686/memset.S (memset): Likewise.
64787         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64788         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64790         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64791         Likewise.
64792         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64793         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64794         L(1_2) and L(1_3) into L(1).
64795         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64796         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64797         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64798         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64799         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64800         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64801         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64802         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64803         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64804         macros.
64805         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64806         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64807         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64808         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64809         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64810         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64811         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64812         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64813         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64814         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64815         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64816         * sysdeps/i386/strspn.S (strspn): Likewise.
64817         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64818         conditional code.
64819         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64820         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64821         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64822         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64823         L(1_3) into L(1_1).
64824         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64825         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64826         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64827         macros.
64828         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64830 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64832         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64833         macro.
64835 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64837         * math/atest-exp.c (exp_mpn): Remove ROUND.
64838         * math/atest-exp2.c (exp_mpn): Likewise.
64839         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64841         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64842         * stdlib/tst-tls-atexit-lib.c: Likewise.
64843         * stdlib/tst-tls-atexit.c: Likewise.
64845 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64847         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64848         and __attribute_alloc_size__.
64850 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64852         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64853         __attribute_alloc_size__.
64854         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64855         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64857 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64859         * include/programs/xmalloc.h: New file.
64860         * catgets/gencat.c: Include it.
64861         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64862         * elf/pldd.c: Likewise.
64863         * iconv/iconv_charmap.c: Likewise.
64864         * iconv/iconvconfig.c: Likewise.
64865         * iconv/strtab.c: Likewise.
64866         * locale/programs/locale.c: Likewise.
64867         * locale/programs/localedef.h: Likewise.
64868         * locale/programs/simple-hash.c: Likewise.
64869         * nscd/nscd.h: Likewise.
64870         * nss/makedb.c: Likewise.
64871         * sysdeps/generic/ldconfig.h: Likewise.
64873 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64875         * Versions.def: Add GLIBC_2.18.
64876         * include/link.h (struct link_map): New member l_tls_dtor_count.
64877         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64878         (__call_tls_dtors): Likewise.
64879         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64880         __cxa_thread_atexit_impl.
64881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64882         Likewise.
64883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64884         Likewise.
64885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64886         Likewise.
64887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64888         Likewise.
64889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64891         Likewise.
64892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64893         Likewise.
64894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64896         Likewise.
64897         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64898         (tests): Add test case tst-tls-atexit.
64899         (modules-names): Add shared library for tst-tls-atexit.
64900         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64901         (GLIBC_PRIVATE): Add __call_tls_dtors.
64902         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64903         for libstdc++.
64904         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64905         * stdlib/tst-tls-atexit.c: New test case.
64906         * stdlib/tst-tls-atexit-lib.c: New test case.
64908         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64910         * elf/Versions (ld): Add _dl_find_dso_for_object.
64911         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64912         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64913         (dl_open_worker): Use _dl_find_dso_for_object.
64914         * elf/dl-sym.c (do_sym): Likewise.
64915         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64917 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64919         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64920         Syntactic changes only.
64921         (_dl_runtime_profile): Do a tail-call to the resolved function.
64923 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64925         [BZ #13550]
64926         * sysdeps/x86_64/bp-asm.h: Remove file.
64927         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64928         <bp-sym.h> and <bp-asm.h>.
64929         (__clone): Do not use BP_SYM.
64930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64931         <bp-sym.h> and <bp-asm.h>.
64932         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64933         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64934         "bp-asm.h".
64935         (_setjmp): Do not use BP_SYM.
64936         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64937         "bp-asm.h".
64938         (setjmp): Do not use BP_SYM.
64939         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64940         libc_hidden_def.
64941         (mempcpy): Do not use BP_SYM in weak_alias.
64942         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64943         "bp-asm.h".
64944         (strchr): Do not use BP_SYM.
64945         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64946         "bp-asm.h".
64947         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64948         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64949         (_start): Do not use BP_SYM.
64950         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64951         "bp-asm.h".
64952         (strcat): Do not use BP_SYM.
64953         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64954         "bp-asm.h".
64955         (STRCMP): Do not use BP_SYM.
64956         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64957         "bp-asm.h".
64958         (STRCPY): Do not use BP_SYM.
64959         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64960         "bp-asm.h".
64961         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64962         "bp-asm.h".
64963         (FUNCTION): Do not use BP_SYM.
64964         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64965         weak_alias.
64966         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64968 2013-02-17  Andreas Jaeger  <aj@suse.de>
64970         * time/Versions: Sort entries.
64971         * string/Versions: Likewise.
64972         * resolv/Versions: Likewise.
64973         * posix/Versions: Likewise.
64974         * iconv/Versions: Likewise.
64975         * elf/Versions: Likewise.
64976         * wcsmbs/Versions: Likewise.
64978 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64980         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64981         loop termination condition.
64983         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64984         variable to calculate EZ.
64985         (__sqr): Likewise.
64987         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64988         the lower precision input.
64990 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64992         [BZ #13550]
64993         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64994         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64995         (run-via-rtld-prefix): Do not handle %-bp tests.
64996         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64997         (all-object-suffixes): Remove .ob.
64998         (bppfx): Remove variable.
64999         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65000         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65001         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65002         [$(build-bounded) = yes] (libtype.ob): Likewise.
65003         * Makerules (elide-routines.ob): Remove variable.
65004         (do-tests-clean): Do not handle *-bp.out.
65005         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65006         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65007         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65008         (tests): Do not include $(tests-bp.out).
65009         (xtests): Do not include $(xtests-bp.out).
65010         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65011         [$(build-bounded) = yes] ($(addprefix
65012         $(objpfx),$(binaries-bounded))): Remove rule.
65013         ($(objpfx)%-bp.out): Remove rule.
65014         * config.make.in (build-bounded): Remove variable.
65015         * crypt/Makefile [$(build-bounded) = yes]
65016         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65017         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65018         append to variable.
65019         [$(build-bounded) = yes] (install-lib): Likewise.
65020         [$(build-bounded) = yes] (generated): Likewise.
65021         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65022         Remove rule.
65023         * intl/Makefile [$(build-bounded) = yes]
65024         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65025         * math/Makefile [$(build-bounded) = yes]
65026         ($(tests:%=$(objpfx)%-bp): Likewise.
65027         * misc/Makefile [$(build-bounded) = yes]
65028         ($(objpfx)tst-tsearch-bp): Likewise.
65029         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65030         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65031         Remove dependency.
65032         * string/Makefile (o-objects.ob): Remove variable.
65033         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65034         (CFLAGS-.ob): Remove variable.
65035         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65036         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65037         both definitions of variable.
65038         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65039         (ASFLAGS-.ob): Remove variable.
65041 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65043         [BZ #13550]
65044         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65045         Remove __BOUNDED_POINTERS__ from condition.
65046         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65047         * string/bits/string2.h [!__NO_STRING_INLINES &&
65048         !__BOUNDED_POINTERS__]: Likewise.
65049         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65050         Likewise.
65051         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65052         Remove conditional code.
65053         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65054         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65055         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65056         condition.
65058         [BZ #13550]
65059         * csu/libc-start.c: Do not include <bp-sym.h>.
65060         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65061         * elf/dl-open.c: Do not include <bp-sym.h>.
65062         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65063         * math/fegetenv.c: Do not include <bp-sym.h>.
65064         (fegetenv): Do not use BP_SYM in versioned symbols.
65065         * nptl/sysdeps/pthread/bits/libc-lockP.h
65066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65067         <bp-sym.h>.
65068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65069         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65071         (__pthread_mutex_destroy): Likewise.
65072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65073         (__pthread_mutex_lock): Likewise.
65074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65075         (__pthread_mutex_trylock): Likewise.
65076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65077         (__pthread_mutex_unlock): Likewise.
65078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65079         (__pthread_mutexattr_init): Likewise.
65080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65081         (__pthread_mutexattr_destroy): Likewise.
65082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65083         (__pthread_mutexattr_settype): Likewise.
65084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65085         (__pthread_rwlock_init): Likewise.
65086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65087         (__pthread_rwlock_destroy): Likewise.
65088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65089         (__pthread_rwlock_rdlock): Likewise.
65090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65091         (__pthread_rwlock_tryrdlock): Likewise.
65092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65093         (__pthread_rwlock_wrlock): Likewise.
65094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65095         (__pthread_rwlock_trywrlock): Likewise.
65096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65097         (__pthread_rwlock_unlock): Likewise.
65098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65099         (__pthread_key_create): Likewise.
65100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65101         (__pthread_setspecific): Likewise.
65102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65103         (__pthread_getspecific): Likewise.
65104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65105         Likewise.
65106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65107         (_pthread_cleanup_push_defer): Likewise.
65108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65109         (_pthread_cleanup_pop_restore): Likewise.
65110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65111         (pthread_setcancelstate): Likewise.
65112         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65113         <bp-sym.h>.
65114         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65115         (memchr): Do not use BP_SYM in weak_alias.
65116         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65117         (fegetenv): Do not use BP_SYM in versioned symbols.
65118         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65119         (fesetenv): Do not use BP_SYM in versioned symbols.
65120         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65121         (feupdateenv): Do not use BP_SYM in versioned symbols.
65122         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65123         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65124         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65125         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65126         (open64): Do not use BP_SYM in weak_alias.
65127         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65128         (fegetenv): Do not use BP_SYM in versioned symbols.
65129         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65130         (fesetenv): Do not use BP_SYM in versioned symbols.
65131         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65132         (feupdateenv): Do not use BP_SYM in versioned symbols.
65133         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65134         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65135         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65136         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65137         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65138         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65139         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65140         <bp-sym.h>.
65141         (__libc_start_main): Do not use BP_SYM.
65143 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65146         redundant return line.
65147         (norm): Likewise.
65148         (denorm): Likewise.
65149         (dbl_mp): Likewise.
65150         (sub_magnitudes): Likewise.
65151         (__add): Likewise.
65152         (__sub): Likewise.
65153         (__mul): Likewise.
65154         (__inv): Likewise.
65155         (__dvd): Likewise.
65156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65157         (norm): Likewise.
65158         (denorm): Likewise.
65159         (dbl_mp): Likewise.
65160         (sub_magnitudes): Likewise.
65161         (__add): Likewise.
65162         (__sub): Likewise.
65163         (__mul): Likewise.
65164         (__inv): Likewise.
65165         (__dvd): Likewise.
65167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65168         instead of __mul.
65169         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65170         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65171         (cc32): Likewise.
65173         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65174         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65176         of __mul for squares.
65177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65178         function
65179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65180         Likewise.
65181         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65182         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65184 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65186         [BZ #13550]
65187         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65188         code.
65189         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65190         prototype or function definition.  Rename ubp_* variables and
65191         parameters.  Remove argv definitions conditional on
65192         [__BOUNDED_POINTERS__].
65193         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65194         * elf/dl-runtime.c (_dl_fixup): Likewise.
65195         * include/set-hooks.h (RUN_HOOK): Likewise.
65196         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65197         definition.
65198         * string/strcpy.c (strcpy): Do not use __unbounded.
65199         * sysdeps/generic/frame.h (struct layout): Likewise.
65200         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65201         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65202         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65203         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65204         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65205         (__backtrace): Likewise.
65206         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65207         use __ptrvalue.
65208         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65209         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65210         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65211         Likewise.
65212         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65213         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65214         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65215         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65216         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65217         Do not use __unbounded.
65218         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65219         Rename __unboundedrlimits parameter to rlimits in prototype.
65220         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65221         Do not use __unbounded.
65222         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65223         not use __ptrvalue.
65224         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65225         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65226         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65227         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65228         __ptrvalue or __unbounded.
65229         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65230         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65231         use __unbounded.
65232         (__new_msgctl): Do not use __ptrvalue.
65233         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65234         __unbounded.
65235         (__libc_msgrcv): Do not use __ptrvalue.
65236         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65237         startup_info): Do not use __unbounded.
65238         (__libc_start_main): Likewise.  Rename ubp_* variables and
65239         parameters.  Remove argv definitions conditional on
65240         [__BOUNDED_POINTERS__].
65241         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65242         __ptrvalue.
65243         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65244         use __unbounded.
65245         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65246         or __ptrvalue.
65247         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65248         use __unbounded.
65249         (__new_shmctl): Do not use __ptrvalue.
65250         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65251         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65252         Likewise.
65253         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65254         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65255         (__libc_sigaction): Likewise.
65256         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65257         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65258         Likewise.
65259         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65261 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65263         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65265         * string/mempcpy.c: Implement by calling memcpy.
65267 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65269         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65272         evaluation.
65274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65275         values in the mantissa.
65277         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65278         minimize writes to Z.
65279         (sub_magnitudes): Simplify code a bit.
65281 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65283         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65284         from the message.  The linker prefixes all warnings with that already.
65286 2013-02-12  Andreas Schwab  <schwab@suse.de>
65288         [BZ #15078]
65289         * posix/regexec.c (extend_buffers): Add parameter min_len.
65290         (check_matching): Pass minimum needed length.
65291         (clean_state_log_if_needed): Likewise.
65292         (get_subexp): Likewise.
65293         * posix/Makefile (tests): Add bug-regex34.
65294         (bug-regex34-ENV): Define.
65295         * posix/bug-regex34.c: New file.
65297         [BZ #11561]
65298         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65299         elements compare against the byte sequence of it, not its name.
65300         * posix/Makefile (tests): Add bug-regex35.
65301         (bug-regex35-ENV): Define.
65302         * posix/bug-regex35.c: New file.
65304 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65306         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65307         comment.
65308         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65309         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65310         (CHECK_EOL): Add undef.
65312 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65314         * bits/stdlib-bsearch.h: New file.
65315         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65316         * stdlib/stdlib.h: Likewise.
65318 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65320         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65321         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65322         declaration.
65323         * manual/search.texi (Array Search Function): Add missing const in
65324         lfind prototype.
65325         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65326         declaration to use rlim_t.
65327         (Basic Scheduling Functions): Remove erroneous const from
65328         sched_getparam prototype.  Remove erroneous * from
65329         sched_get_priority_max and sched_get_priority_min prototypes.
65330         (Resource Usage): Fix summary @comment on vtimes to refer to
65331         sys/vtimes.h rather than vtimes.h.
65332         Add missing *s in vtimes prototype.
65333         (Limits on Resources): Fix ulimit prototype to return long int.
65334         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65335         prototypes to use long int rather than double.
65336         (BSD Random): Fix initstate and setstate to use char *, not void *.
65337         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65338         prototype to make second argument 'struct aiocb64 *const[]'.
65339         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65340         (Status of AIO Operations): Remove erroneous const in aio_return and
65341         aio_return64 prototypes.
65342         (Synchronizing I/O): Fix sync prototype to return void.
65343         * manual/startup.texi (Suboptions): Remove an erroneous const in
65344         getsubopt prototype.
65345         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65346         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65347         use size_t rather than int.
65348         (Scanning All Users): Likewise for getpwent_r.
65349         (Setting Groups): Add missing const to setgroups prototype.
65350         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65351         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65352         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65353         'const void *' rather than 'const char *'.
65354         (Host Address Functions): Likewise for inet_ntop.
65355         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65356         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65357         ssize_t for return value.
65358         (Sending Data): Likewise for send, sendto, sendmsg.
65359         (Socket Option Functions): Add a missing const in setsockopt prototype.
65360         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65361         use wchar_t for the argument.
65362         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65363         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65364         take no arguments.
65365         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65366         double/float/long double for second argument.
65367         Fix return types of significand, significandf, significandl.
65368         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65369         argument in fchmod prototype.
65370         (File Owner): Use uid_t and gid_t in fchown prototype.
65371         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65372         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65373         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65374         use 'const struct dirent **' as argument types to CMP function pointer
65375         argument.
65376         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65377         (File Times): Fix summary magic @comment for struct utimbuf and utime
65378         to refer to utime.h, not time.h.
65379         * manual/string.texi (Argz Functions): Add missing const in
65380         argz_extract and argz_next prototypes.
65381         (Finding Tokens in a String): Likewise for basename.
65382         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65383         (Copying and Concatenation): Fix typo in wmemmove prototype.
65384         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65385         (Signal Stack): Remove erroneous const in sigstack prototype.
65386         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65387         prototype.
65388         (Simple Calendar Time): Likewise for stime.
65389         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65390         prototype.
65391         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65392         say sys/sysctl.h instead.
65393         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65394         and vsyslog prototypes.
65396 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65398         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65399         Remove.
65401 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65403         * misc/sys/mman.h: Fix typo in mremap comment.
65405 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65407         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65408         the '\0' terminator.
65410 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65412         [BZ #13550]
65413         * debug/segfault.c: Don't include <bp-checks.h>.
65414         * sysdeps/generic/bp-checks.h: Remove file.
65415         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65416         (__GETDENTS): Don't use CHECK_N.
65417         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65418         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65419         (__getgroups): Don't use CHECK_N.
65420         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65421         (setgroups): Don't use CHECK_N.
65422         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65423         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65424         (__libc_msgrcv): Don't use CHECK_N.
65425         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65426         (__libc_msgsnd): Don't use CHECK_N.
65427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65428         <bp-checks.h>.
65429         (__libc_pread): Don't use CHECK_N.
65430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65431         include <bp-checks.h>.
65432         (__libc_pread64): Don't use CHECK_N.
65433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65434         include <bp-checks.h>.
65435         (__libc_pwrite): Don't use CHECK_N.
65436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65437         include <bp-checks.h>.
65438         (__libc_pwrite64): Don't use CHECK_N.
65439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65440         <bp-checks.h>.
65441         (__libc_pread): Don't use CHECK_N.
65442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65443         include <bp-checks.h>.
65444         (__libc_pread64): Don't use CHECK_N.
65445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65446         include <bp-checks.h>.
65447         (__libc_pwrite): Don't use CHECK_N.
65448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65449         include <bp-checks.h>.
65450         (__libc_pwrite64): Don't use CHECK_N.
65451         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65452         (do_pread): Don't use CHECK_N.
65453         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65454         (do_pread64): Don't use CHECK_N.
65455         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65456         (do_pwrite): Don't use CHECK_N.
65457         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65458         (do_pwrite64): Don't use CHECK_N.
65459         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65460         (__libc_readv): Don't use CHECK_N.
65461         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65462         (semop): Don't use CHECK_N.
65463         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65464         <bp-checks.h>.
65465         (semtimedop): Don't use CHECK_N.
65466         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65467         (__libc_pread): Don't use CHECK_N.
65468         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65469         <bp-checks.h>.
65470         (__libc_pread64): Don't use CHECK_N.
65471         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65472         <bp-checks.h>.
65473         (__libc_pwrite): Don't use CHECK_N.
65474         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65475         <bp-checks.h>.
65476         (__libc_pwrite64): Don't use CHECK_N.
65477         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65478         <bp-checks.h>.
65479         (__libc_msgrcv): Don't use CHECK_N.
65480         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65481         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65482         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65483         (__libc_writev): Don't use CHECK_N.
65485 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65487         * string/strcpy.c: Removed unused variable.
65489         * Makeconfig (+sysdep-includes): Define with := rather than =.
65490         Use an existing include/ subdir of each sysdeps dir before it.
65492 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65494         * nscd/connection.c (register_traced_file): Comment function.
65495         [HAVE_INOTIFY] (union __inev): Define.
65496         [HAVE_INOTIFY] (inotify_check_files): New function.
65497         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65498         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65499         clear_db_cache.
65500         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65502 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65504         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65505         loaded if not already and that a failure is permanent.
65507 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65509         [BZ #15006]
65510         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65511         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65513 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65515         [BZ #13550]
65516         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65517         (CHECK_1_NULL_OK): Likewise.
65518         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65519         (__fxstat): Do not use CHECK_1.
65520         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65521         <bp-checks.h>.
65522         (___fxstat64): Do not use CHECK_1.
65523         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65524         <bp-checks.h>.
65525         (__fxstatat): Do not use CHECK_1.
65526         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65527         <bp-checks.h>.
65528         (__fxstatat64): Do not use CHECK_1.
65529         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65530         <bp-checks.h>.
65531         (__fxstat): Do not use CHECK_1.
65532         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65533         <bp-checks.h>.
65534         (__fxstatat): Do not use CHECK_1.
65535         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65536         <bp-checks.h>.
65537         (__getresgid): Do not use CHECK_1.
65538         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65539         <bp-checks.h>.
65540         (__getresuid): Do not use CHECK_1.
65541         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65542         <bp-checks.h>.
65543         (__lxstat): Do not use CHECK_1.
65544         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65545         <bp-checks.h>.
65546         (__old_msgctl): Do not use CHECK_1.
65547         (__new_msgctl): Likewise.
65548         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65549         <bp-checks.h>.
65550         (__new_setrlimit): Do not use CHECK_1.
65551         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65552         <bp-checks.h>.
65553         (__old_shmctl): Do not use CHECK_1.
65554         (__new_shmctl): Likewise.
65555         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65556         <bp-checks.h>.
65557         (__xstat): Do not use CHECK_1.
65558         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65559         (__lxstat): Do not use CHECK_1.
65560         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65561         <bp-checks.h>.
65562         (___lxstat64): Do not use CHECK_1.
65563         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65564         (__old_msgctl): Do not use CHECK_1.
65565         (__new_msgctl): Likewise.
65566         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65567         <bp-checks.h>.
65568         (__gettimeofday): Do not use CHECK_1.
65569         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65570         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65571         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65572         <bp-checks.h>.
65573         (__gettimeofday): Do not use CHECK_1.
65574         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65575         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65576         (__new_shmctl): Do not use CHECK_1.
65577         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65578         <bp-checks.h>.
65579         (do_sigtimedwait): Do not use CHECK_1.
65580         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65581         <bp-checks.h>.
65582         (do_sigwaitinfo): Do not use CHECK_1.
65583         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65584         <bp-checks.h>.
65585         (msgctl): Do not use CHECK_1.
65586         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65587         <bp-checks.h>.
65588         (shmctl): Do not use CHECK_1.
65589         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65590         (ustat): Do not use CHECK_1.
65591         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65592         <bp-checks.h>.
65593         (__fxstat): Do not use CHECK_1.
65594         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65595         <bp-checks.h>.
65596         (__fxstatat): Do not use CHECK_1.
65597         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65598         <bp-checks.h>.
65599         (__lxstat): Do not use CHECK_1.
65600         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65601         <bp-checks.h>.
65602         (__xstat): Do not use CHECK_1.
65603         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65604         (__xstat): Do not use CHECK_1.
65605         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65606         (___xstat64): Do not use CHECK_1.
65608         [BZ #13550]
65609         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65610         definitions.
65611         (CHECK_BOUNDS_HIGH): Likewise.
65612         * string/strcpy.c: Do not include <bp-checks.h>.
65613         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65615 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65617         * nscd/nscd-client.h (__nscd_drop_map_ref):
65618         Add __attribute__ ((unused)).
65619         * nis/nss-nisplus.h (niserr2nss): Likewise.
65621         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65622         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65624         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65625         Remove inline keyword.
65626         * include/rounding-mode.h (round_away): Likewise.
65627         * libio/wfileops.c (adjust_wide_data): Likewise.
65628         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65629         (__m128i_strloadu_tolower): Likewise.
65630         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65631         (__m128i_strloadu_tolower): Likewise.
65632         * time/mktime.c (ydhms_diff): Likewise.
65633         * locale/elem-hash.h (elem_hash): Likewise.
65634         * locale/setlocale.c (setdata): Likewise.
65635         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65636         (re_string_wchar_at): Likewise.
65637         (bitset_not, bitset_merge, bitset_mask): Likewise.
65638         [!(__GNUC__ > 3)] (inline): Remove macro.
65639         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65640         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65641         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65642         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65643         * string/memcmp.c (memcmp_bytes): Likewise.
65644         * locale/programs/locarchive.c (compute_hashval): Likewise.
65645         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65646         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65647         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65648         * nss/getent.c (print_rpc, print_protocols): Likewise.
65649         (print_passwd, print_group, print_aliases): Likewise.
65650         * nis/nss-nisplus.h (niserr2nss): Likewise.
65651         * nscd/connections.c (restart_p): Likewise.
65652         Change return type to bool.
65654 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65656         * Makeconfig (all-Depend-files): Add existing
65657         $(sorted-subdirs:=/Depend) files.
65658         (all-subdirs): Remove nss.
65659         * sysdeps/unix/inet/Subdirs: Add it here instead.
65660         * hesiod/Depend: New file.
65662         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65663         instead of calling alloca.
65665         * io/lseek.c (__lseek): Rename to __libc_lseek.
65666         Define __lseek as an alias.
65668         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65670 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65672         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65673         else clause and remove check for non-standard endianness.
65675 2013-02-04  David S. Miller  <davem@davemloft.net>
65677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65679 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65681         [BZ #13550]
65682         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65683         (__ubp_memchr): Remove prototype.
65684         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65685         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65686         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65687         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65688         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65689         Remove alias.
65690         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65691         (__ubp_memchr): Likewise.
65692         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65693         (__ubp_memchr): Likewise.
65694         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65695         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65696         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65697         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65698         CHECK_STRING.
65699         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65700         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65701         (__getcwd): Do not use CHECK_STRING.
65702         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65703         <bp-checks.h>.
65704         (__real_chown): Do not use CHECK_STRING.
65705         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65706         <bp-checks.h>.
65707         (fchownat): Do not use CHECK_STRING.
65708         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65709         CHECK_STRING.
65710         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65711         <bp-checks.h>.
65712         (__lchown): Do not use CHECK_STRING.
65713         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65714         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65715         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65716         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65718         include <bp-checks.h>.
65719         (truncate64): Do not use CHECK_STRING.
65720         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65721         <bp-checks.h>.
65722         (__real_chown): Do not use CHECK_STRING.
65723         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65724         <bp-checks.h>.
65725         (__lchown): Do not use CHECK_STRING.
65726         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65727         <bp-checks.h>.
65728         (__chown): Do not use CHECK_STRING.
65729         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65730         <bp-checks.h>.
65731         (truncate64): Do not use CHECK_STRING.
65732         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65733         Likewise.
65734         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65735         (__xmknod): Do not use CHECK_STRING.
65736         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65737         <bp-checks.h>.
65738         (__xmknodat): Do not use CHECK_STRING.
65739         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65740         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65742 2013-02-04  Andreas Schwab  <schwab@suse.de>
65744         [BZ #14142]
65745         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65746         * include/netdb.h: Likewise for h_errno.
65747         * elf/tst-stackguard1.c: Include <tls.h>.
65749 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65751         * elf/link.h (struct link_map): Extend the l_addr comment.
65752         * include/link.h (struct link_map): Likewise.
65754 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65756         [BZ #13550]
65757         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65758         (BOUNDED_1): Remove macro.
65759         * debug/backtrace.c: Don't include <bp-checks.h>.
65760         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65761         (__backtrace): Likewise.
65762         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65763         <bp-checks.h>.
65764         (__backtrace): Don't use BOUNDED_1.
65765         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65766         <bp-checks.h>.
65767         (__backtrace): Don't use BOUNDED_1.
65768         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65769         (__backtrace): Don't use BOUNDED_1.
65770         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65771         (shmat): Don't use BOUNDED_N.
65773 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65775         [BZ #13550]
65776         * sysdeps/generic/bp-start.h: Remove file.
65777         * csu/libc-start.c: Don't include <bp-start.h>.
65778         (LIBC_START_MAIN): Set up __environ directly instead of using
65779         INIT_ARGV_and_ENVIRON.
65780         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65781         <bp-start.h>.
65783         [BZ #13550]
65784         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65785         definitions.
65786         (CHECK_FCNTL): Likewise.
65787         (CHECK_N_PAGES): Likewise.
65789         [BZ #13550]
65790         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65791         definitions.
65792         (CHECK_SIGSET_NULL_OK): Likewise.
65793         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65794         <bp-checks.h>.
65795         (sigpending): Don't use CHECK_SIGSET.
65796         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65797         <bp-checks.h>.
65798         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65799         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65800         <bp-checks.h>.
65801         (do_sigsuspend): Don't use CHECK_SIGSET.
65802         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65803         use CHECK_SIGSET.
65804         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65805         (do_sigwait): Don't use CHECK_SIGSET.
65806         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65807         use CHECK_SIGSET.
65808         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65809         include <bp-checks.h>.
65810         (sigpending): Don't use CHECK_SIGSET.
65811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65812         include <bp-checks.h>.
65813         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65814         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65815         <bp-checks.h>.
65816         (sigpending): Don't use CHECK_SIGSET.
65817         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65818         <bp-checks.h>.
65819         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65821         [BZ #13550]
65822         * sysdeps/generic/bp-semctl.h: Remove file.
65823         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65824         <bp-checks.h> and <bp-semctl.h>.
65825         (__old_semctl): Don't use CHECK_SEMCTL.
65826         (__new_semctl): Likewise.
65827         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65828         and <bp-semctl.h>.
65829         (__old_semctl): Don't use CHECK_SEMCTL.
65830         (__new_semctl): Likewise.
65831         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65832         <bp-checks.h> and <bp-semctl.h>.
65833         (__old_semctl): Don't use CHECK_SEMCTL.
65834         (__new_semctl): Likewise.
65835         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65836         <bp-checks.h> and <bp-semctl.h>.
65837         (semctl): Don't use CHECK_SEMCTL.
65839         [BZ #13550]
65840         * Makerules (elide-bp-thunks): Remove variable.
65841         (elide-routines.oS): Don't use $(elide-bp-thunks).
65842         (elide-routines.os): Likewise.
65843         (elide-routines.o): Likewise.
65844         (elide-routines.op): Likewise.
65845         (elide-routines.og): Likewise.
65846         (objects): Don't use $(bp-thunks).
65847         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65848         include.
65849         (common-generated): Do not add s-proto-bp.d.
65850         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65851         (int): Likewise.
65852         (typ): Likewise.
65853         Do not generate makefile rules for bounded-pointer thunks.
65854         * sysdeps/generic/bp-thunks.h: Remove file.
65855         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65856         * sysdeps/unix/s-proto-bp.S: Likewise.
65858         [BZ #15062]
65859         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65860         parts of result separately when argument is not close to line from
65861         -i to i and one part of argument is small.
65862         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65863         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65864         * math/libm-test.inc (cacos_test): Add more tests.
65865         (casin_test): Likewise.
65866         (casinh_test): Likewise.
65867         * sysdeps/i386/fpu/libm-test-ulps: Update.
65868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65870 2013-01-31  David S. Miller  <davem@davemloft.net>
65872         * po/de.po: Update from translation team.
65874 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65876         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65878 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65880         * configure.in (_AC_PROG_CC_C89): New definition.
65881         * configure: Regenerate.
65883         * configure.in (AC_PROG_CPP): New definition.
65884         * configure: Regenerate.
65886 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65888         * debug/tst-backtrace.h: New file.
65889         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65890         (ret): Remove variable.
65891         (x): Likewise.
65892         (FAIL): Remove macro.
65893         (NO_INLINE): Likewise.
65894         (fn1): Use match function instead of strstr.
65895         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65896         (ret): Remove variable.
65897         (x): Likewise.
65898         (FAIL): Remove macro.
65899         (NO_INLINE): Likewise.
65900         (fn): Use match function instead of strstr.
65901         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65902         (ret): Remove variable.
65903         (x): Likewise.
65904         (FAIL): Remove macro.
65905         (NO_INLINE): Likewise.
65906         (handle_signal): Use match function instead of strstr.
65907         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65908         (ret): Remove variable.
65909         (x): Likewise.
65910         (FAIL): Remove macro.
65911         (NO_INLINE): Likewise.
65912         (handle_signal): Use match function instead of strstr.
65914 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65916         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65918 2013-01-23  David S. Miller  <davem@davemloft.net>
65920         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65921         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65922         argument of CAS if possible.
65923         * sysdeps/sparc/sparc64/bits/atomic.h
65924         (__arch_compare_and_exchange_val_32_acq): Likewise.
65925         (__arch_compare_and_exchange_val_64_acq): Likewise.
65927 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65929         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65930         * sysdeps/posix/ulimit.c: ... this.
65931         Include <limits.h>.
65932         * sysdeps/unix/bsd/ulimit.c: Remove file.
65934 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65936         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65937         (LDFLAGS-tst-array5): Likewise.
65939 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65941         [BZ #15036]
65942         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65943         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65944         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65945         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65947 2013-01-21  David S. Miller  <davem@davemloft.net>
65949         * sysdeps/sparc/backtrace.c: New file.
65950         * sysdeps/sparc/sparc32/backtrace.h: New file.
65951         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65952         * sysdeps/sparc/sparc64/backtrace.h: New file.
65953         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65954         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65955         -funwind-tables.
65957 2013-01-21  Andreas Schwab  <schwab@suse.de>
65959         [BZ #15020]
65960         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65961         closed its stdout.
65963 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65966         "mpa2.h".
65967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65969 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65970             Mark Mitchell  <mark@codesourcery.com>
65971             Tom de Vries  <tom@codesourcery.com>
65972             Paul Pluzhnikov  <ppluzhnikov@google.com>
65974         * debug/tst-backtrace2.c: New file.
65975         * debug/tst-backtrace3.c: Likewise.
65976         * debug/tst-backtrace4.c: Likewise.
65977         * debug/tst-backtrace5.c: Likewise.
65978         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65979         (CFLAGS-tst-backtrace3.c): Likewise.
65980         (CFLAGS-tst-backtrace4.c): Likewise.
65981         (CFLAGS-tst-backtrace5.c): Likewise.
65982         (LDFLAGS-tst-backtrace2): Likewise.
65983         (LDFLAGS-tst-backtrace3): Likewise.
65984         (LDFLAGS-tst-backtrace4): Likewise.
65985         (LDFLAGS-tst-backtrace5): Likewise.
65986         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65987         tst-backtrace4 and tst-backtrace5.
65989 2013-01-18  Anton Blanchard  <anton@samba.org>
65990             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65992         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65993         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65994         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65995         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65997         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65998         "+r" and remove output regs list as redundant.  Add explicit inline
65999         asm to specify register of return val to work around compiler codegen
66000         bug.  Remove (int) cast on return value.  Add return type parameter to
66001         use in macro so that this macro does not truncate return value for
66002         64-bit values.
66003         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66004         pass to INTERNAL_VSYSCALL_NCS.
66005         (INLINE_VSYSCALL): Add 'long int' as return type to
66006         INTERNAL_VSYSCALL_NCS macro invocation.
66007         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66008         INTERNAL_VSYSCALL_NCS macro invocation.
66009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66011 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66013         [BZ #14496]
66014         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66015         Fix application of SIMD FP exception mask.
66017         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66018         mp_no from a power of two.
66019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66020         __mpexp_twomm1.  Use __pow_mp.
66022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66023         multiplication.
66025 2013-01-17  David S. Miller  <davem@davemloft.net>
66027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66029 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66031         [BZ #15023]
66032         * include/complex.h: Condition contents on [!_COMPLEX_H].
66033         (__kernel_casinhf): New prototype.
66034         (__kernel_casinh): Likewise.
66035         (__kernel_casinhl): Likewise.
66036         * math/Makefile (libm_calls): Add k_casinh.
66037         * math/k_casinh.c: New file.
66038         * math/k_casinhf.c: Likewise.
66039         * math/k_casinhl.c: Likewise.
66040         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66041         finite nonzero arguments.
66042         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66043         finite nonzero arguments.
66044         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66045         finite nonzero arguments.
66046         * math/s_casinh.c: Do not include <float.h>.
66047         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66048         * math/s_casinhf.c: Do not include <float.h>.
66049         (__casinhf): Move code for finite nonzero arguments to
66050         k_casinhf.c.
66051         * math/s_casinhl.c: Do not include <float.h>.
66052         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66053         redefine.
66054         (__casinhl): Move code for finite nonzero arguments to
66055         k_casinhl.c.
66056         * math/libm-test.inc (cacos_test): Add more tests.
66057         * sysdeps/i386/fpu/libm-test-ulps: Update.
66058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66060 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66062         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66063         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66064         [!HAVE_MREMAP]: Remove [defined linux] case.
66065         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66067 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66069         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66071 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66073         * elf/elf.h (R_386_SIZE32): New relocation.
66074         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66075         R_386_SIZE32.
66076         (elf_machine_rela): Likewise.
66077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66078         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66080 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66082         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66083         (FP_FAST_FMA): Do not define.
66084         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66085         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66086         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66087         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66088         !_SOFT_FLOAT]: Likewise.
66089         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66090         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66091         value.
66092         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66093         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66094         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66096         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66097         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66098         file.
66100 2013-01-16  Andreas Schwab  <schwab@suse.de>
66102         [BZ #14327]
66103         * include/stdlib.h (__mktemp): Add declaration.
66104         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66105         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66107 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66109         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66110         definitions.
66111         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66112         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66113         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66114         definitions here.
66115         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66116         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66117         definitions.
66118         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66119         and ONE.
66120         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66121         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66122         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66123         definitions.
66124         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66125         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66126         definitions.
66127         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66129         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66131 2013-01-15  David S. Miller  <davem@davemloft.net>
66133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66134         trunc{,f} to libm-sysdep_routes.
66135         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66137         file.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66140         file.
66141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66142         file.
66143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66145         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66146         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66147         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66148         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66149         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66150         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66153         nearbyint{,f} to libm-sysdep_routes.
66154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66156         New file.
66157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66158         file.
66159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66160         New file.
66161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66162         file.
66163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66165         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66166         file.
66167         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66168         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66169         file.
66170         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66171         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66172         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66174         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66175         libc_feholdexcept and libc_fesetenv.
66177 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66179         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66181 2013-01-14  David S. Miller  <davem@davemloft.net>
66183         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66184         (SPARC_ASM_VIS2_IFUNC): Likewise.
66185         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66187         use of 'siam' instruction.
66188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66189         Likewise.
66190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66191         Likewise.
66192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66193         Likewise.
66194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66199         file.
66200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66201         file.
66202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66203         file.
66204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66205         file.
66206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66211         new VIS2 routines.
66212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66215         Likewise.
66216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66221         routines to libm-sysdep_routines.
66222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66225         fdim/fdimf to libm-sysdep_routines.
66226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66227         file.
66228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66230         file.
66231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66234         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66235         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66236         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66237         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66239 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66241         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66242         to optimize copies.
66244         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66249         local variable MPTWO.
66250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66251         Likewise.
66253 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66255         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66256         GLOB_NOESCAPE.
66258 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66260         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66262 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66264         * manual/pattern.texi (glob_t): Document gl_flags.
66265         (glob64_t): Likewise.
66267 2013-01-11  David S. Miller  <davem@davemloft.net>
66269         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66270         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66271         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66272         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66273         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66274         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66275         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66276         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66277         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66278         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66279         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66280         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66281         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66283         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66284         sparc V9 rather than using V8 code.
66285         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66286         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66288         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66289         Move to...
66290         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66291         Here.
66293 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66295         [BZ #14941]
66296         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66297         not in the main loop.
66298         * configure: Regenerated.
66300 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66302         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66303         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66304         to just #else.
66305         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66306         [!__GLIBC_HAVE_LONG_LONG] case.
66307         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66308         condition to just #else.
66309         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66310         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66311         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66312         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66313         unconditional.
66314         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66315         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66316         #elif condition to just #else.
66317         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66318         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66319         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66320         #elif condition to just #else.
66322 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66324         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66325         (EF_MIPS_ARCH_64): Fix value.
66326         (EF_MIPS_ARCH_32R2): New.
66327         (EF_MIPS_ARCH_64R2): New.
66329 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66331         * Makeconfig (+link-pie-before-libc): New.
66332         (+link-pie-after-libc): Likewise.
66333         (+link-pie-tests): Likewise.
66334         (+link-pie): Rewritten.
66335         (link-before-libc): Remove $(config-LDFLAGS).
66336         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66337         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66338         (config-LDFLAGS): Renamed to ...
66339         (rtld-LDFLAGS): This.
66340         (rtld-tests-LDFLAGS): New macro.
66341         (link-libc-rpath-link): Likewise.
66342         (link-libc-tests-rpath-link): Likewise.
66343         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66344         (link-libc): Prepand $(link-libc-rpath-link).
66345         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66346         (test-program-prefix): New macro.
66347         (test-via-rtld-prefix): Likewise.
66348         (test-program-cmd): Likewise.
66349         (host-test-program-cmd): Likewise.
66350         * Makefile ($(common-objpfx)testrun.sh): Replace
66351         $(run-program-prefix) with $(test-program-prefix).
66352         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66353         $(rtld-LDFLAGS).
66354         ($(common-objpfx)shlib.lds): Likewise.
66355         (build-module-helper): Likewise.
66356         ($(common-objpfx)format.lds): Likewise.
66357         * Rules (binaries-pie-tests): New.
66358         (binaries-pie-notests): Likewise.
66359         (binaries-pie): Rewritten.
66360         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66361         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66362         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66363         (make-test-out): Replace $(host-built-program-cmd) with
66364         $(host-test-program-cmd).
66365         * config.make.in (build-hardcoded-path-in-tests): New variable.
66366         * configure.in (--enable-hardcoded-path-in-tests): New configure
66367         option.
66368         (hardcoded_path_in_tests): New AC_SUBST.
66369         * configure: Regenerated.
66370         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66371         $(built-program-cmd) with $(test-program-cmd).
66372         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66373         (test_program_cmd): This.
66374         * elf/Makefile ($(objpfx)order.out): Run test with
66375         $(test-program-prefix).
66376         ($(objpfx)order2.out): Likewise.
66377         ($(objpfx)tst-initorder.out): Likewise.
66378         ($(objpfx)tst-initorder2.out): Likewise.
66379         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66380         $(test-program-cmd).
66381         ($(objpfx)tst-array1-static.out): Likewise.
66382         ($(objpfx)tst-array2.out): Likewise.
66383         ($(objpfx)tst-array3.out): Likewise.
66384         ($(objpfx)tst-array4.out): Likewise.
66385         ($(objpfx)tst-array5.out): Likewise.
66386         ($(objpfx)tst-array5-static.out): Likewise.
66387         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66388         $(test-program-cmd).
66389         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66390         $(run-program-prefix) with $(test-program-prefix).
66391         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66392         (test_program_prefix): This.
66393         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66394         $(run-program-prefix) with $(test-program-prefix).
66395         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66396         (test_program_prefix): This.
66397         * iconvdata/tst-tables.sh: Likewise.
66398         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66399         $(run-program-prefix) with $(test-program-prefix).
66400         ($(objpfx)tst-translit.out): Likewise.
66401         ($(objpfx)tst-gettext2.out): Likewise.
66402         ($(objpfx)tst-gettext4.out): Likewise.
66403         ($(objpfx)tst-gettext6.out): Likewise.
66404         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66405         (test_program_prefix): This.
66406         * intl/tst-gettext2.sh: Likewise.
66407         * intl/tst-gettext4.sh  Likewise.
66408         * intl/tst-gettext6.sh: Likewise.
66409         * intl/tst-translit.sh: Likewise.
66410         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66411         with $(test-program-cmd).
66412         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66413         $(run-program-prefix) with $(test-program-prefix).
66414         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66415         (test_program_prefix): This.
66416         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66417         $(run-program-prefix) with $(test-program-prefix).
66418         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66419         (test_program_prefix): This.
66420         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66421         * posix/Makefile ($(objpfx)globtest.out): Replace
66422         $(run-via-rtld-prefix) and $(test-wrapper) with
66423         $(test-program-prefix) and $(test-via-rtld-prefix).
66424         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66425         $(test-program-prefix).
66426         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66427         $(host-test-program-cmd).
66428         (tst-spawn-ARGS): Likewise.
66429         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66430         $(test-program-prefix).
66431         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66432         (test_via_rtld_prefix): This.
66433         (test_wrapper): Renamed to ...
66434         (test_program_prefix): This.
66435         (run_program_prefix): Replaced by test_program_prefix.
66436         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66437         (test_program_prefix): This.
66438         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66439         with $(host-test-program-cmd).
66440         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66441         $(run-program-prefix) with $(test-program-prefix).
66442         ($(objpfx)tst-printf.out): Likewise.
66443         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66444         $(test-program-cmd).
66445         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66446         (test_program_prefix): This.
66447         * stdio-common/tst-unbputc.sh: Likewise.
66448         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66449         $(run-program-prefix) with $(test-program-prefix).
66450         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66451         (test_program_prefix): This.
66452         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66453         $(built-program-cmd) with $(test-program-cmd).
66455 2013-01-11  Andreas Jaeger  <aj@suse.de>
66457         [BZ #15003]
66458         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66459         value. Sync with Linux 3.7.
66461 2013-01-10  David S. Miller  <davem@davemloft.net>
66463         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66464         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66465         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66467 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66469         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66470         never set.
66471         * configure: Regenerated.
66473 2013-01-10  David S. Miller  <davem@davemloft.net>
66475         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66476         sparc V9 rather than using V8 code.
66477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66480 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66482         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66483         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66484         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66485         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66486         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66487         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66488         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66489         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66490         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66491         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66492         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66493         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66494         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66495         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66496         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66497         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66498         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66499         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66500         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66501         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66502         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66503         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66504         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66505         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66506         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66507         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66508         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66510 2013-01-10  David S. Miller  <davem@davemloft.net>
66512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66514 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66516         * posix/Makefile (tests-static): New variable.
66517         (tests): Add $(tests-static).
66518         (tst-exec-static-ARGS): New variable.
66519         (tst-spawn-static-ARGS): Likewise.
66520         * posix/tst-exec-static.c: New file.
66521         * posix/tst-spawn-static.c: Likewise.
66522         * posix/tst-exec.c: Support run directly.
66523         * posix/tst-spawn.c: Likewise.
66525 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66527         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66528         long.
66529         * math/bits/mathcalls.h (llrint): Likewise.
66530         (llround): Likewise.
66531         * stdlib/stdlib.h (struct drand48_data): Likewise.
66532         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66533         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66534         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66535         Likewise.
66536         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66537         Likewise.
66538         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66539         (elf_greg_t): Likewise.
66540         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66541         (__jmp_buf): Likewise.
66542         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66543         definitions.
66544         (llrint): Likewise, for all definitions.
66545         (llrintl): Likewise.
66547         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66548         Remove [__GNUC__] condition.
66549         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66550         condition to just [__USE_ISOC99].
66551         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66553 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66555         [BZ #14200]
66556         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66557         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66558         defined.
66559         (_POSIX_V6_ILP32_OFF32): Likewise.
66560         (_XBS5_ILP32_OFF32): Likewise.
66561         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66562         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66564 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66566         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66568         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66569         doubles __mpexp_twomm1.  Adjust usage.
66570         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66571         Remove.
66573 2013-01-10  Andreas Schwab  <schwab@suse.de>
66575         [BZ #14964]
66576         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66577         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66579 2013-01-09  David S. Miller  <davem@davemloft.net>
66581         [BZ #15003]
66582         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66583         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66584         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66585         (TCP_FASTOPEN): Define.
66586         (tcp_repair_opt): New structure.
66587         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66588         enum values.
66589         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66590         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66591         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66592         (tcp_cookie_transactions): New structure.
66594 2013-01-09  Anton Blanchard  <anton@samba.org>
66596         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66597         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66601 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66603         * include/features.h (__USE_ANSI): Remove.
66605 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66607         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66609         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66611 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66613         * sysdeps/s390/fpu/libm-test-ulps: Update.
66615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66617         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66618         (__acr): Likewise.
66619         (__cpy): Likewise.
66620         (norm): Likewise.
66621         (denorm): Likewise.
66622         (__mp_dbl): Likewise.
66623         (__dbl_mp): Likewise.
66624         (add_magnitudes): Likewise.
66625         (sub_magnitudes): Likewise.
66626         (__add): Likewise.
66627         (__sub): Likewise.
66628         (__mul): Likewise.
66629         (__inv): Likewise.
66630         (__dvd): Likewise.
66631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66632         (__acr): Likewise.
66633         (__cpy): Likewise.
66634         (norm): Likewise.
66635         (denorm): Likewise.
66636         (__mp_dbl): Likewise.
66637         (__dbl_mp): Likewise.
66638         (add_magnitudes): Likewise.
66639         (sub_magnitudes): Likewise.
66640         (__add): Likewise.
66641         (__sub): Likewise.
66642         (__mul): Likewise.
66643         (__inv): Likewise.
66644         (__dvd): Likewise.
66645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66646         (__acr): Likewise.
66647         (__cpy): Likewise.
66648         (norm): Likewise.
66649         (denorm): Likewise.
66650         (__mp_dbl): Likewise.
66651         (__dbl_mp): Likewise.
66652         (add_magnitudes): Likewise.
66653         (sub_magnitudes): Likewise.
66654         (__add): Likewise.
66655         (__sub): Likewise.
66656         (__mul): Likewise.
66657         (__inv): Likewise.
66658         (__dvd): Likewise.
66660 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66662         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66663         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66664         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66665         2 && __USE_EXTERN_INLINES]: Likewise.
66667 2013-01-08  Andreas Jaeger  <aj@suse.de>
66669         [BZ #14985]
66670         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66671         Remove.
66672         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66673         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66675 2013-01-07  Anton Blanchard  <anton@samba.org>
66677         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66678         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66679         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66680         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66681         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66683         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66684         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66687         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66688         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66689         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66690         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66692         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66693         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66695         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66697         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66698         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66699         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66700         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66701         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66702         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66703         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66704         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66706         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66707         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66709         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66711         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66712         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66714         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66715         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66716         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66717         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66718         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66719         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66721 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66723         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66724         (__MALLOC_PMT): Likewise.
66725         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66726         [__GNUC__], only on [_LIBC].
66727         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66728         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66729         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66730         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66731         forward declaration.
66732         (realloc_hook_ini): Likewise.
66733         (memalign_hook_ini): Likewise.
66734         (__libc_memalign): Do not use __MALLOC_PMT in variable
66735         declaration.
66736         (__libc_valloc): Likewise.
66737         (__libc_pvalloc): Likewise.
66738         (__libc_calloc): Likewise.
66739         (__posix_memalign): Likewise.
66741         [BZ #14996]
66742         * math/s_casinh.c: Include <float.h>.
66743         (__casinh): Do not do computation with squaring and square root
66744         for large arguments.
66745         * math/s_casinhf.c: Include <float.h>.
66746         (__casinhf): Do not do computation with squaring and square root
66747         for large arguments.
66748         * math/s_casinhl.c: Include <float.h>.
66749         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66750         (__casinhl): Do not do computation with squaring and square root
66751         for large arguments.
66752         * math/libm-test.inc (casin_test): Add more tests.
66753         (casinh_test): Likewise.
66754         * sysdeps/i386/fpu/libm-test-ulps: Update.
66755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66757 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66759         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66760         (__x86_64_raw_data_cache_size): Likewise.
66761         (__x86_64_data_cache_size_half): Likewise.
66762         (__x86_64_raw_data_cache_size_half): Likewise.
66763         (__x86_64_shared_cache_size): Likewise.
66764         (__x86_64_raw_shared_cache_size): Likewise.
66765         (__x86_64_shared_cache_size_half): Likewise.
66766         (__x86_64_raw_shared_cache_size_half): Likewise.
66767         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66768         to ...
66769         (__x86_data_cache_size): This.
66770         (__x86_64_raw_data_cache_size): Renamed to ...
66771         (__x86_raw_data_cache_size): This.
66772         (__x86_64_data_cache_size_half): Renamed to ...
66773         (__x86_data_cache_size_half): This.
66774         (__x86_64_raw_data_cache_size_half): Renamed to ...
66775         (__x86_raw_data_cache_size_half): This.
66776         (__x86_64_shared_cache_size): Renamed to ...
66777         (__x86_shared_cache_size): This.
66778         (__x86_64_raw_shared_cache_size): Renamed to ...
66779         (__x86_raw_shared_cache_size): This.
66780         (__x86_64_shared_cache_size_half): Renamed to ...
66781         (__x86_shared_cache_size_half): This.
66782         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66783         (__x86_raw_shared_cache_size_half): This.
66784         * sysdeps/x86_64/memcpy.S: Updated.
66785         * sysdeps/x86_64/memset.S: Likewise.
66786         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66790 2013-01-04  David S. Miller  <davem@davemloft.net>
66792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66794 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66796         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66797         1 to avoid redefinition warning.
66798         (__USE_GNU): Don't define.
66799         (init_signaling_nan): Protoize.
66801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66803 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66805         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66807         (__cpymn): Likewise.
66808         (norm): Remove commented code.
66809         (denorm): Likewise.
66810         (__mp_dbl): Likewise.
66811         (__inv): Likewise.
66812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66813         (__cpymn): Likewise.
66814         (norm): Remove commented code.
66815         (denorm): Likewise.
66816         (__mp_dbl): Likewise.
66817         (__inv): Likewise.
66819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66820         mp_no value for 1.0 and 2.0.
66821         (norm): Use RADIXI instead of radixi.d.
66822         (denorm): Likewise.
66823         (__mul): Use 0.0 instead of zero.d.
66824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66825         mp_no value for 1.0 and 2.0.
66826         (norm): Use RADIXI instead of radixi.d.
66827         (denorm): Likewise.
66828         (__mul): Use 0.0 instead of zero.d.
66830 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66832         [BZ #14994]
66833         * math/s_casinh.c (__casinh): Reduce finite argument to first
66834         quadrant then set signs of results at the end.
66835         * math/s_casinhf.c (__casinhf): Likewise.
66836         * math/s_casinhl.c (__casinhl): Likewise.
66837         * math/libm-test.inc (casin_test): Add more tests.
66838         (casinh_test): Likewise.
66839         * sysdeps/i386/fpu/libm-test-ulps: Update.
66840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66842 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66844         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66846         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66848         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66849         declarations.
66850         (denorm): Likewise.
66851         (__mp_dbl): Likewise.
66852         (__inv): Likewise.
66854         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66855         and adjust the header comment.
66857         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66858         variable name from declaration.
66860 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66863         Initialize COMMON_CPUID_INDEX_7 element.
66864         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66865         (CPUID_RTM): Likewise.
66866         (HAS_RTM): Likewise.
66867         (COMMON_CPUID_INDEX_7): New enum.
66869 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66871         [BZ #14981]
66872         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66873         size is zero, record memory as freed.
66875 2013-01-03  Andreas Jaeger  <aj@suse.de>
66877         * po/ia.po: Add new Interlingua translation.
66879 2012-01-03  Allan McRae  <allan@archlinux.org>
66881         * locale/programs/localedef.c: Fix description of '--posix' flag.
66883 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66885         * NEWS: Update dates in second copyright notice.
66886         * README: Update copyright dates in example.
66887         * manual/libc.texinfo: Update copyright dates.
66888         * scripts/test-installation.pl: Update copyright date in --version
66889         output.
66891         * hurd/ctty-input.c: Fix copyright notice formatting.
66892         * hurd/ctty-output.c: Likewise.
66893         * hurd/dtable.c: Likewise.
66894         * hurd/hurd-raise.c: Likewise.
66895         * hurd/hurdprio.c: Likewise.
66896         * hurd/msgportdemux.c: Likewise.
66897         * misc/sys/file.h: Likewise.
66898         * misc/sys/ioctl.h: Likewise.
66899         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66900         * sysdeps/mach/hurd/chdir.c: Likewise.
66901         * sysdeps/mach/hurd/fchdir.c: Likewise.
66902         * sysdeps/mach/hurd/rename.c: Likewise.
66903         * sysdeps/mach/hurd/rmdir.c: Likewise.
66904         * sysdeps/mach/hurd/seekdir.c: Likewise.
66905         * sysdeps/mach/hurd/setsid.c: Likewise.
66906         * sysdeps/posix/wait3.c: Likewise.
66908         * All files with FSF copyright notices: Update copyright dates
66909         using scripts/update-copyrights.
66910         * intl/plural.c: Regenerated.
66911         * locale/programs/charmap-kw.h: Likewise.
66912         * locale/programs/locfile-kw.h: Likewise.
66914 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66916         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66917         four values.
66919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66920         calculation loop and add branch prediction.
66922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66923         check access beyond bounds of m1np.
66925         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66926         MPTWO.
66927         (__inv): Remove local variable MPTWO to use the global
66928         constant.
66929         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66930         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66931         variable MPTWO.
66932         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66933         MP3HALFS static const.
66935 2013-01-01  David S. Miller  <davem@davemloft.net>
66937         * po/ca.po: Update from translation team.
66939 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66941         * scripts/update-copyrights: New file.
66942         * Makeconfig: Reformat copyright notice.
66943         * ctype/ctype.h: Likewise.
66944         * debug/swprintf_chk.c: Likewise.
66945         * elf/dl-cache.c: Likewise.
66946         * elf/dl-debug.c: Likewise.
66947         * elf/dl-object.c: Likewise.
66948         * grp/initgroups.c: Likewise.
66949         * hurd/Makefile: Likewise.
66950         * hurd/hurd/signal.h: Likewise.
66951         * hurd/hurdfault.c: Likewise.
66952         * hurd/hurdioctl.c: Likewise.
66953         * hurd/hurdlookup.c: Likewise.
66954         * hurd/intr-msg.c: Likewise.
66955         * iconv/gconv_open.c: Likewise.
66956         * libio/swprintf.c: Likewise.
66957         * locale/lc-ctype.c: Likewise.
66958         * locale/nl_langinfo.c: Likewise.
66959         * mach/Machrules: Likewise.
66960         * mach/Makefile: Likewise.
66961         * malloc/obstack.h: Likewise.
66962         * manual/Makefile: Likewise.
66963         * manual/tsort.awk: Likewise.
66964         * misc/bits/stab.def: Likewise.
66965         * nis/nis_print_group_entry.c: Likewise.
66966         * nis/nis_table.c: Likewise.
66967         * nis/nss_compat/compat-pwd.c: Likewise.
66968         * nis/nss_compat/compat-spwd.c: Likewise.
66969         * po/Makefile: Likewise.
66970         * posix/fnmatch.c: Likewise.
66971         * posix/regex.h: Likewise.
66972         * resolv/Makefile: Likewise.
66973         * resolv/nss_dns/dns-network.c: Likewise.
66974         * resolv/res_hconf.c: Likewise.
66975         * scripts/gen-sorted.awk: Likewise.
66976         * soft-fp/soft-fp.h: Likewise.
66977         * stdio-common/printf.h: Likewise.
66978         * stdlib/monetary.h: Likewise.
66979         * stdlib/random.c: Likewise.
66980         * stdlib/random_r.c: Likewise.
66981         * sysdeps/generic/Makefile: Likewise.
66982         * sysdeps/gnu/Makefile: Likewise.
66983         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66985         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66987         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66988         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66990         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66991         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66993         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66994         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66995         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66996         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66997         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66998         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66999         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67000         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67003         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67004         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67005         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67006         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67007         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67008         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67009         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67011         * sysdeps/mach/hurd/errnos.awk: Likewise.
67012         * sysdeps/mach/hurd/fork.c: Likewise.
67013         * sysdeps/mach/hurd/getcwd.c: Likewise.
67014         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67015         * sysdeps/mach/hurd/mmap.c: Likewise.
67016         * sysdeps/mach/hurd/utimes.c: Likewise.
67017         * sysdeps/mach/hurd/xmknod.c: Likewise.
67018         * sysdeps/posix/profil.c: Likewise.
67019         * sysdeps/posix/readdir_r.c: Likewise.
67020         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67021         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67022         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67023         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67025         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67026         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67027         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67029         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67030         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67031         * sysdeps/pthread/lio_listio.c: Likewise.
67032         * sysdeps/sparc/dl-procinfo.h: Likewise.
67033         * sysdeps/unix/i386/sysdep.S: Likewise.
67034         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67035         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67036         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67037         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67039         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67040         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67041         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67042         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67043         * sysdeps/wordsize-32/divdi3.c: Likewise.
67044         * time/sys/time.h: Likewise.
67045         * wcsmbs/Makefile: Likewise.
67047 2013-01-01  David S. Miller  <davem@davemloft.net>
67049         * po/fr.po: Update from translation team.
67051         * catgets/gencat.c: Update copyright year.
67052         * csu/version.c: Likewise.
67053         * debug/catchsegv.sh: Likewise.
67054         * debug/pcprofiledump.c: Likewise.
67055         * debug/xtrace.sh: Likewise.
67056         * elf/ldconfig.c: Likewise.
67057         * elf/ldd.bash.in: Likewise.
67058         * elf/pldd.c: Likewise.
67059         * elf/sotruss.ksh: Likewise.
67060         * elf/sprof.c: Likewise.
67061         * iconv/iconv_prog.c: Likewise.
67062         * iconv/iconvconfig.c: Likewise.
67063         * locale/programs/locale.c: Likewise.
67064         * locale/programs/localedef.c: Likewise.
67065         * login/programs/pt_chown.c: Likewise.
67066         * malloc/memusage.sh: Likewise.
67067         * malloc/memusagestat.c: Likewise.
67068         * malloc/mtrace.pl: Likewise.
67069         * nscd/nscd.c: Likewise.
67070         * nss/getent.c: Likewise.
67071         * nss/makedb.c: Likewise.
67072         * posix/getconf.c: Likewise.
67074 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67076         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67077         numbers.
67079 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67081         * math/bits/mathcalls.h (modf): Use __nonnull.
67083 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67085         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67086         (split): Use macro CN instead of the bare value.
67087         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67088         could be used.
67089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67090         instead of the bare value.
67091         (power1): Likewise.
67093 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67096         __ATAN_TWOM.
67097         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67099         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67100         their values.
67101         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67102         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67103         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67104         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67106 2012-12-28  Andreas Jaeger  <aj@suse.de>
67108         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67109         values are from Linux 3.7.
67111         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67112         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67114 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67116         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67117         TRUE case.
67119         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67120         (norm): Likewise.
67121         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67122         variables with preprocessor constants.
67123         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67124         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67125         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67127 2012-12-27  Bruno Haible  <bruno@clisp.org>
67129         [BZ #14317]
67130         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67131         only if needed.
67133 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67136         and use variable directly.
67137         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67139         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67140         MPONE.
67141         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67143         variable MPONE.
67144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67146         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67147         include directive.  Remove local variable MPONE.
67148         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67149         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67150         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67152 2012-12-25  David S. Miller  <davem@davemloft.net>
67154         * version.h (RELEASE): Set to "development".
67155         (VERSION): Set to "2.17.90".
67156         * NEWS: Add 2.18 section.
67158 2012-12-21  David S. Miller  <davem@davemloft.net>
67160         * po/hr.po: Update from translation team.
67162 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67164         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67166 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67168         * NEWS:  Mention new memcpy for MIPS.
67170 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67172         * manual/contrib.texi (Contributors): Spelling correction.
67174 2012-12-15  David S. Miller  <davem@davemloft.net>
67176         * po/ru.po: Update from translation team.
67178 2012-12-13  David S. Miller  <davem@davemloft.net>
67180         * NEWS: Mention IFUNC testsuite enhancements.
67182         * po/pl.po: Update from translation team.
67183         * po/bg.po: Likewise.
67185         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67186         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67188 2012-12-11  David S. Miller  <davem@davemloft.net>
67190         * po/sv.po: Update from translation team.
67192         * po/vi.po: Update from translation team.
67194         * po/cs.po: Update from translation team.
67196         * po/de.po: Update from translation team.
67197         * po/eo.po: Likewise.
67198         * po/nl.po: Likewise.
67200 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67202         [BZ #14246]
67203         * manual/argp.texi (Argp Helper Functions): Move node to follow
67204         Argp Parsing State.
67206         [BZ #14872]
67207         * manual/conf.texi (Limits on File System Capacity): Mention if
67208         terminating null is included in the max size.
67210 2012-12-10  Andreas Jaeger  <aj@suse.de>
67212         * po/cs.po: Update from translation team.
67214 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67216         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67217         void pointer and cast to uintptr_t.
67218         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67219         path.
67220         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67221         * sysdeps/s390/s390-64/memset.S: Likewise.
67223 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67225         [BZ #14833]
67226         * menual/message.texi (Message Translation): Fix typos.
67227         (Helper programs for gettext): Likewise.
67229 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67231         [BZ #14898]
67232         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67233         Change to -1.
67235 2012-12-07  David S. Miller  <davem@davemloft.net>
67237         * po/libc.pot: Update.
67239 2012-12-07  Richard Henderson  <rth@redhat.com>
67241         [BZ #10114]
67242         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67243         normal/normal case to before the switch.
67244         (_FP_DIV): Likewise.
67246 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67247             Mike Frysinger  <vapier@gentoo.org>
67249         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67250         check for __NR_fadvise64_64.
67252 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67254         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67255         0, not just to plain "0" as a statement.
67256         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67257         with cw.
67259 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67261         * NEWS: Use sourceware.org in Bugzilla URL.
67263 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67266         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67268         * stdio-common/tst-put-error.c (do_test): Add newline to the
67269         padded test to ensure flush.
67271 2012-12-05  Jeff Law  <law@redhat.com>
67273         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67275 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67277         * README: Don't refer to ports add-on as distributed separately.
67278         Mention AArch64 in list of systems supported in the ports add-on.
67280         * LICENSES: Add more non-FSF copyright and license notices.
67282         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67283         ((unused)).
67285         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67287         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67288         10000 as width of padded output.
67290 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67292         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67294         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67295         variable LX with __attribute__ ((unused)).
67296         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67297         Likewise.
67298         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67301         with __attribute__ ((unused)).
67303 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67305         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67307 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67309         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67310         (CFLAGS-nldbl-acos.c): New variable.
67311         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67312         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67313         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67314         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67315         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67316         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67317         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67318         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67319         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67320         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67321         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67322         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67323         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67324         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67325         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67326         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67327         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67328         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67329         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67330         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67331         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67332         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67333         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67334         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67335         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67336         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67337         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67338         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67339         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67340         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67341         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67342         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67343         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67344         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67345         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67346         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67347         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67348         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67349         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67350         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67351         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67352         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67353         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67354         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67355         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67356         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67357         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67358         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67359         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67360         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67361         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67362         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67363         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67364         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67365         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67366         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67367         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67368         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67369         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67370         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67371         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67372         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67373         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67374         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67375         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67376         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67377         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67378         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67379         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67380         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67381         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67382         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67383         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67384         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67385         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67386         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67387         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67388         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67389         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67390         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67391         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67392         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67393         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67394         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67395         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67396         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67397         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67398         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67399         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67400         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67401         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67402         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67403         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67404         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67405         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67406         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67407         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67410         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67412         [BZ #14914]
67413         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67414         whole low double instead of just low 47 bits when splitting values
67415         into two parts.
67417 2012-12-03  Allan McRae  <allan@archlinux.org>
67419         * manual/stdio.texi (Predefined Printf Handlers): Remove
67420         @hsep and @vsep usage.
67422 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67424         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67425         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67427 2012-12-03  Jeff Law  <law@redhat.com>
67429         * time/sys/time.h (settimeofday): Do not mark TV argument
67430         as __nonnull.
67432 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67434         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67435         when currently writing and seek to current position when not.
67436         * libio/Makefile (tests): Remove bug-fclose1.
67437         * libio/bug-fclose1.c: Delete.
67439 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67441         * manual/arith.texi (feenableexcept): Fix typo.
67442         (fedisableexcept): Likewise.
67444 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67446         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67447         second, differently-typed declaration, rather than a cast.
67449 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67451         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67452         * include/rpc/svc.h: ... here.
67454 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67456         [BZ #13013]
67457         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67458         depending n and resplen2 to catch cases where answer
67459         equals answerp2.
67461 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67463         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67464         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67466 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67468         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67470 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67472         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67474 2012-11-28  Jeff Law  <law@redhat.com>
67476         [BZ #13761]
67477         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67478         dataset_temporary.  Track alloca usage into alloca_used.
67479         If dataset is large allocate and release it via malloc/free.
67481 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67483         [BZ #14197]
67484         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67486 2012-11-28  David S. Miller  <davem@davemloft.net>
67488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67490 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67492         [BZ #14803]
67493         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67494         of pi/2 rounded to nearest to 64 bits.
67495         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67496         nearest to 64 bits.
67497         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67498         bits.
67500 2012-11-28  Jeff Law <law@redhat.com>
67501             Martin Osvald <mosvald@redhat.com>
67503         [BZ #14889]
67504         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67505         * sunrpc/svc.c: Include time.h.
67506         (__svc_accept_failed): New function.
67507         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67508         any reason other than EINTR, call __svc_accept_failed.
67509         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67510         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67512 2012-11-28  Andreas Schwab  <schwab@suse.de>
67514         * scripts/abilist.awk: Also handle indirect functions in .opd
67515         section.
67517 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67519         [BZ #13881]
67520         * sysdeps/x86/fpu/powl_helper.c: New file.
67521         * sysdeps/x86/fpu/Makefile: Likewise.
67522         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67523         (p3): New object.
67524         (__ieee754_powl): Use __powl_helper for finite arguments except
67525         integer exponents below 8.
67526         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67527         (p3): New object.
67528         (__ieee754_powl): Use __powl_helper for finite arguments except
67529         integer exponents below 8.
67530         * math/libm-test.inc (pow_test): Add more tests and enable some
67531         previously disabled tests.
67532         * sysdeps/i386/fpu/libm-test-ulps: Update.
67533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67535 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67536             Carlos O'Donell  <carlos_odonell@mentor.com>
67538         * nss/makedb.c (is_prime): Assert that input is odd and greater
67539         than 4.  Note that fact in a comment too.
67540         (next_prime): Add 4 to input.
67542 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67544         [BZ #11741]
67545         * libio/Makefile (tests): Add test case tst-fwrite-error.
67546         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67547         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67548         * libio/tst-fwrite-error.c: New test case.
67550 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67552         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67553         before casting to void *.
67554         * include/libc-internal.h (__pointer_type): New macro.
67555         (__integer_if_pointer_type_sub): Likewise.
67556         (__integer_if_pointer_type): Likewise.
67557         (cast_to_integer): Likewise.
67558         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67559         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67560         before casting to atomic64_t.
67561         (atomic_exchange_acq): Likewise.
67562         (__arch_exchange_and_add_body): Likewise.
67563         (__arch_add_body): Likewise.
67564         (atomic_add_negative): Likewise.
67565         (atomic_add_zero): Likewise.
67567 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67569         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67570         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67571         (add_fdes): Likewise.
67572         (linear_search_fdes): Likewise.
67573         (binary_search_unencoded_fdes): Likewise.
67575 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67577         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67579 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67581         * configure.in: Autodetect C++ header directories.
67582         * configure: Regenerated.
67584 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67586         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67588 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67592 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67594         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67595         LDBL_MANT_DIG == 106]: Disable some tests.
67596         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67597         Likewise.
67598         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67599         Likewise.
67601         [BZ #14871]
67602         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67603         input for small inputs.  Return +/- pi/2 for large inputs.
67604         * math/libm-test.inc (atan_test): Add more tests.
67606         * sysdeps/generic/unwind-dw2-fde-glibc.c
67607         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67608         __attribute__ ((unused)).
67610         [BZ #14645]
67611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67612         x * y if x and y are nonzero and z is zero.
67614         [BZ #14811]
67615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67616         nonzero exponents with absolute value below 0x1p-117 to +/-
67617         0x1p-117.
67619         [BZ #14869]
67620         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67621         up arguments below 2**-450, not just those below 2**-500.
67622         * math/libm-test.inc (hypot_test): Add another test.
67624         [BZ #14868]
67625         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67626         Return a+b for ratio over 2**120, not 2**60.
67627         * math/libm-test.inc (hypot_test): Add another test.
67629         * math/libm-test.inc (clog_test): Use
67630         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67631         (clog10_test): Likewise.
67633         [BZ #6778]
67634         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67636 2012-11-22  Andreas Schwab  <schwab@suse.de>
67638         * sysdeps/i386/fpu/libm-test-ulps: Update.
67640 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67642         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67643         printf output with newline.
67645 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67647         [BZ #14865]
67648         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67649         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67650         -z nodlopen, -z initfirst and -z execstack support.
67651         * configure: Regenerated.
67653         * elf/elf.h (DF_1_NODIRECT): New macro.
67654         (DF_1_IGNMULDEF): Likewise.
67655         (DF_1_NOKSYMS): Likewise.
67656         (DF_1_NOHDR): Likewise.
67657         (DF_1_EDITED): Likewise.
67658         (DF_1_NORELOC): Likewise.
67659         (DF_1_SYMINTPOSE): Likewise.
67660         (DF_1_GLOBAUDIT): Likewise.
67661         (DF_1_SINGLETON): Likewise.
67662         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67663         DT_1_SUPPORTED_MASK bits.
67664         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67666 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67668         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67670 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67672         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67673         macro.
67675         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67676         (sendmmsg): Move declarations...
67677         * socket/sys/socket.h: ... here.
67678         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67679         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67680         include it from...
67681         * socket/recvmmsg.c: ... this new file.
67682         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67683         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67684         definition of __sendmmsg hidden.
67685         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67686         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67687         Move ENOSYS stub into and include it from...
67688         * socket/sendmmsg.c: ... this new file.
67689         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67690         (sysdep_routines): Move recvmmsg and sendmmsg...
67691         * socket/Makefile (routines): ... here.
67692         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67693         (GLIBC_PRIVATE): Add __sendmmsg.
67694         * include/sys/socket.h (__sendmmsg): Add declarations.
67695         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67696         sendmmsg.
67698 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67700         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67701         variable I1 with __attribute__ ((unused)).
67702         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67704 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67706         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67707         DUMMY variables with __attribute__ ((unused)).
67709         * bits/byteswap.h: Include <bits/types.h>.
67710         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67712 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67714         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67715         string_t.  Do not manually set errno.
67716         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67717         length with __strnlen.  Make sure to both set errno and return it on
67718         failure.
67720 2012-11-19  David S. Miller  <davem@davemloft.net>
67722         With help from Joseph Myers.
67723         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67724         very large arguments properly.
67725         * math/libm-test.inc (atan_test): New tests.
67726         (atan2_test): New tests.
67727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67730 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67732         [BZ #14856]
67733         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67734         Define to 3.
67736         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67737         [POSIX] (EADDRNOTAVAIL): Likewise.
67738         [POSIX] (EAFNOSUPPORT): Likewise.
67739         [POSIX] (EALREADY): Likewise.
67740         [POSIX] (ECONNABORTED): Likewise.
67741         [POSIX] (ECONNREFUSED): Likewise.
67742         [POSIX] (ECONNRESET): Likewise.
67743         [POSIX] (EDESTADDRREQ): Likewise.
67744         [POSIX] (EDQUOT): Likewise.
67745         [POSIX] (EHOSTUNREACH): Likewise.
67746         [POSIX] (EIDRM): Likewise.
67747         [POSIX] (EISCONN): Likewise.
67748         [POSIX] (ELOOP): Likewise.
67749         [POSIX] (EMULTIHOP): Likewise.
67750         [POSIX] (ENETDOWN): Likewise.
67751         [POSIX] (ENETUNREACH): Likewise.
67752         [POSIX] (ENOBUFS): Likewise.
67753         [POSIX] (ENODATA): Likewise.
67754         [POSIX] (ENOLINK): Likewise.
67755         [POSIX] (ENOMSG): Likewise.
67756         [POSIX] (ENOPROTOOPT): Likewise.
67757         [POSIX] (ENOSR): Likewise.
67758         [POSIX] (ENOSTR): Likewise.
67759         [POSIX] (ENOTCONN): Likewise.
67760         [POSIX] (ENOTSOCK): Likewise.
67761         [POSIX] (EOPNOTSUPP): Likewise.
67762         [POSIX] (EOVERFLOW): Likewise.
67763         [POSIX] (EPROTO): Likewise.
67764         [POSIX] (EPROTONOSUPPORT): Likewise.
67765         [POSIX] (EPROTOTYPE): Likewise.
67766         [POSIX] (ESTALE): Likewise.
67767         [POSIX] (ETIME): Likewise.
67768         [POSIX] (ETXTBSY): Likewise.
67769         [POSIX] (EWOULDBLOCK): Likewise.
67770         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67771         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67772         [POSIX] (SEEK_CUR): Likewise.
67773         [POSIX] (SEEK_END): Likewise.
67774         [POSIX || UNIX98] (mode_t): Do not require.
67775         [POSIX] (off_t): Likewise.
67776         [POSIX] (pid_t): Likewise.
67777         [POSIX] (sys/stat.h): Do not allow header.
67778         [POSIX] (unistd.h): Likewise.
67779         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67780         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67781         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67782         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67783         require.
67784         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67785         sigevent): Specify elements.
67786         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67787         entry.
67788         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67789         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67791         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67792         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67793         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67794         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67795         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67796         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67797         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67798         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67799         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67800         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67801         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67802         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67803         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67804         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67805         Likewise.
67806         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67807         Likewise.
67808         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67809         Likewise.
67810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67811         Likewise.
67812         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67813         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67814         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67815         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67816         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67817         Specify lower bound on value.
67818         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67819         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67820         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67821         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67822         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67823         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67824         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67825         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67826         value.
67827         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67828         as optional.
67829         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67830         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67831         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67832         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67833         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67834         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67835         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67836         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67837         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67838         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67839         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67840         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67841         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67842         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67843         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67844         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67845         entry.
67846         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67847         optional.
67848         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67849         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67850         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67851         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67852         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67853         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67854         Likewise.
67855         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67856         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67857         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67858         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67859         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67860         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67861         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67862         as optional.
67863         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67864         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67866         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67867         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67868         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67869         specify as optional.
67870         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67871         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67872         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67873         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67874         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67875         [XPG3] (NL_LANGMAX): Likewise.
67876         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67877         [POSIX || XPG3] (NL_NMAX): Likewise.
67878         [POSIX || XPG3] (NL_SETMAX): Likewise.
67879         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67880         [XPG3] (NZERO): Likewise.
67881         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67882         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67883         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67884         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67885         (REG_ERANGE): Expect.
67886         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67887         optional-constant.
67888         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67889         Use (void) in prototype.
67890         [POSIX] (*_t): Allow.
67891         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67892         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67893         (WRDE_BADVAL): Expect.
67895         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67896         expect.
67897         [XPG3 || XPG4] (O_RSYNC): Likewise.
67898         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67899         Likewise.
67900         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67901         [XPG3 || XPG4] (sigqueue): Likewise.
67902         [XPG3 || XPG4] (sigtimedwait): Likewise.
67903         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67904         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67905         [XPG3 || XPG4] (vsnprintf): Likewise.
67906         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67907         Likewise.
67908         [XPG3 || XPG4] (blksize_t): Likewise.
67909         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67910         Likewise.
67911         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67912         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67913         [XPG3 || XPG4] (struct itimerspec): Likewise.
67914         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67915         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67916         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67917         [XPG3 || XPG4] (clockid_t): Likewise.
67918         [XPG3 || XPG4] (timer_t): Likewise.
67919         [XPG3 || XPG4] (clock_getres): Likewise.
67920         [XPG3 || XPG4] (clock_gettime): Likewise.
67921         [XPG3 || XPG4] (clock_settime): Likewise.
67922         [XPG3 || XPG4] (nanosleep): Likewise.
67923         [XPG3 || XPG4] (timer_create): Likewise.
67924         [XPG3 || XPG4] (timer_delete): Likewise.
67925         [XPG3 || XPG4] (timer_gettime): Likewise.
67926         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67927         [XPG3 || XPG4] (timer_settime): Likewise.
67928         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67929         [XPG3 || XPG4] (getlogin_r): Likewise.
67930         [XPG3 || XPG4] (pread): Likewise.
67931         [XPG3 || XPG4] (pthread_atfork): Likewise.
67932         [XPG3 || XPG4] (pwrite): Likewise.
67934         [BZ #14835]
67935         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67936         <bits/siginfo.h>.
67938 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67940         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67941         finalizing MALLSTREAM.
67943         * sysdeps/mach/hurd/syncfs.c: New file.
67945 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67947         [BZ #14719]
67948         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67949         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67950         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67951         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67952         (_nss_dns_gethostbyname4_r): Likewise.
67953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67954         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67956 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67958         [BZ #13763]
67959         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67961 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67963         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67964         * elf/cache.c (print_entry): Print ",AArch64" for
67965         FLAG_AARCH64_LIB64
67967         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67968         * elf/cache.c (print_entry): Print ",hard-float" for
67969         FLAG_ARM_LIBHF.
67971 2012-11-18  David S. Miller  <davem@davemloft.net>
67973         With help from Joseph Myers.
67974         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67975         cutoff to 2**-13.
67976         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67977         cutoff to 2**-25.
67978         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67979         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67980         small.
67981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67982         * math/libm-test.inc (y0_test): New tests.
67983         (y1_test): New tests.
67984         * sysdeps/i386/fpu/libm-test-ulps: Update.
67985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67988 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67990         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67991         64-bit targets.
67992         * configure: Regenerated.
67994 2012-11-17  David S. Miller  <davem@davemloft.net>
67996         [BZ #14811]
67997         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67998         nonzero exponents with absolute value below 0x1p-128 to +/-
67999         0x1p-128.
68001 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68003         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68005         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68007         * posix/getconf-speclist.c: New file.
68008         * posix/posix-envs.def: Likewise.
68009         * posix/confstr.c (START_ENV_GROUP): New macro.
68010         (END_ENV_GROUP): Likewise.
68011         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68012         (KNOWN_PRESENT_ENV_STRING): Likewise.
68013         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68014         (UNKNOWN_ENVIRONMENT): Likewise.
68015         (confstr): Include posix-envs.def instead of handling
68016         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68017         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68018         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68019         (END_ENV_GROUP): Likewise.
68020         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68021         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68022         (UNKNOWN_ENVIRONMENT): Likewise.
68023         (__sysconf): Include posix-envs.def instead of handling associated
68024         cases directly here.
68025         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68026         preprocessing getconf-speclist.c rather than running getconf or
68027         generating empty file.
68029 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68031         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68033 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68035         [BZ #14672]
68036         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68038 2012-11-16  David S. Miller  <davem@davemloft.net>
68040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68041         smaller than LDBL_EPSILON/2.0L, just return xm1.
68043 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68045         * elf/tst-array1.c (init): Set constructor priority to 1000.
68046         (fini): Set destructor priority to 1000.
68047         * elf/tst-array2dep.c: Likewise.
68049 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68051         [BZ #11741]
68052         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68053         (_IO_new_file_xsputn): Also return EOF if none of the input
68054         data was written when overflow failed.
68055         * libio/iopadn.c (_IO_padn): Likewise.
68056         * libio/iowpadn.c (_IO_wpadn): Likewise.
68057         * stdio-common/tst-put-error.c: Add copyright notice.
68058         (do_test): Add case for printing padded string.
68059         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68060         _IO_padn returned error.
68061         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68062         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68063         return EOF.
68065 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68067         * libio/libioP.h: Add comment note that the references to C++
68068         bits are now obsolete.
68070 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68072         * math/libm-test.inc (check_complex): Use asprintf.
68074 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68076         * debug/pcprofiledump.c (print_version): Update copyright year.
68077         * malloc/memusagestat.c (print_version): Likewise.
68079 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68081         [BZ #14831]
68082         * elf/Makefile (tests): Add tst-audit8.
68083         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68084         ($(objpfx)tst-audit8.out): New target.
68085         (tst-audit8-ENV): New variable.
68086         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68087         audit if l_reloc_result is NULL.
68088         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68089         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68090         * elf/tst-audit8.c: New file.
68092 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68094         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68095         * misc/Makefile (CFLAGS-select.c): Define.
68096         * posix/Makefile (CFLAGS-pause.c): Define.
68098 2012-11-13  David S. Miller  <davem@davemloft.net>
68100         * crypt/Makefile: Move test targets after toplevel Rules
68101         inclusion.  Grab any necessary sysdep routines when linking.
68102         * crypt/md5.c (md5_process_block): Remove define, we will always
68103         name it __md5_process_block.
68104         (md5_finish_ctx): Update md5_process_block call.
68105         (md5_stream): Likewise.
68106         (md5_process_bytes): Likewise.
68107         (md5_process_block): Rename to __md5_process_block and move to ...
68108         * crypt/md5-block.c: ... here.
68109         * crypt/sha256.c (sha256_process_block): Move to ...
68110         * crypt/sha256-block.c: ... here.
68111         * crypt/sha512.c (sha512_process_block): Move to ...
68112         * crypt/sha512-block.c: ... here.
68113         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68114         path.
68115         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68116         * sysdeps/sparc/sparc64/multiarch/Makefile
68117         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68118         crypt subdir.
68119         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68120         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68121         multiarch changes.
68122         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68123         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68124         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68125         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68126         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68127         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68128         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68129         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68130         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68131         file.
68132         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68133         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68134         file.
68135         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68137 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68139         * timezone/tzselect.ksh: Update from tzcode git revision
68140         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68141         * timezone/zdump.c: Likewise.
68142         * timezone/zic.c: Likewise.
68143         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68144         in TZVERSION setting, not $(PKGVERSION).
68145         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68146         REPORT_BUGS_TO settings.
68148         [BZ #14838]
68149         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68150         macro.
68152 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68154         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68155         detection to immediately after _FP_ROUND().
68156         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68157         bits are 0.
68159 2012-11-11  David S. Miller  <davem@davemloft.net>
68161         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68162         inttypes.h
68163         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68164         __close rather than their public counterparts.
68166 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68168         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68169         file.
68170         [UNIX98] (sem_timedwait): Do not expect.
68171         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68172         [XPG4 || UNIX98] (sockatmark): Do not expect.
68173         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68174         (clock_getcpuclockid): Do not expect.
68175         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68176         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68177         Do not expect.
68178         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68179         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68180         [UNIX98] (vwscanf): Likewise.
68181         [UNIX98] (vswscanf): Likewise.
68183 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68185         * timezone/version.h: Remove file.
68186         * timezone/README: Do not refer to version.h.
68187         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68188         $(objpfx)version.h.
68189         ($(objpfx)zdump.o): Likewise.
68190         ($(objpfx)version.h): New target.
68192         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68193         2012i.
68194         * timezone/README: Don't mention modification to tzselect.ksh.
68195         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68196         work on unmodified tzselect.ksh.  Substitute version numbers in
68197         tzselect.ksh.
68199         * Makefile (format-me): Remove.
68200         (INSTALL): Adjust indentation.  Use commands directly instead of
68201         using $(format-me).
68203         * aclocal.m4 (ACX_PKGVERSION): New macro.
68204         (ACX_BUGURL): Likewise.
68205         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68206         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68207         (REPORT_BUGS_TO): Likewise.
68208         * configure: Regenerated.
68209         * config.h.in (PKGVERSION): New macro.
68210         (REPORT_BUGS_TO): Likewise.
68211         * config.make.in (PKGVERSION): New variable.
68212         (PKGVERSION_TEXI): Likewise.
68213         (REPORT_BUGS_TO): Likewise.
68214         (REPORT_BUGS_TEXI): Likewise.
68215         * Makefile (format-me): Use -I$(common-objpfx)manual.
68216         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68217         ($(common-objpfx)manual/%): New target.
68218         (manual/%): Remove target.
68219         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68220         (print_version): Use PKGVERSION.
68221         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68222         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68223         and REPORT_BUGS_TO.
68224         ($(objpfx)xtrace): Likewise.
68225         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68226         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68227         (print_version): Use PKGVERSION.
68228         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68229         (do_version): Use PKGVERSION.
68230         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68231         REPORT_BUGS_TO.
68232         (common-ldd-rewrite): Likewise.
68233         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68234         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68235         (print_version): Use PKGVERSION.
68236         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68237         * elf/pldd.c (argp_program_bug_address): Remove variable.
68238         (more_help): New function.
68239         (argp): Use more_help.
68240         (print_version): Use PKGVERSION.
68241         * elf/sln.c (main): Use PKGVERSION.
68242         (usage): Use REPORT_BUGS_TO.
68243         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68244         (top level): Use PKGVERSION.
68245         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68246         (print_version): Use PKGVERSION.
68247         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68248         (print_version): Use PKGVERSION.
68249         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68250         (print_version): Use PKGVERSION.
68251         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68252         (print_version): Use PKGVERSION.
68253         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68254         (print_version): Use PKGVERSION.
68255         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68256         (print_version): Use PKGVERSION.
68257         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68258         and BUGURL.
68259         ($(objpfx)memusage): Likewise.
68260         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68261         (do_version): Use PKGVERSION.
68262         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68263         (print_version): Use PKGVERSION.
68264         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68265         ($PKGVERSION): New variable.
68266         ($REPORT_BUGS_TO): Likewise.
68267         (usage): Use $REPORT_BUGS_TO.
68268         (top level): Use $PKGVERSION.
68269         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68270         ($(objpfx)pkgvers.texi): New rule.
68271         ($(objpfx)stamp-pkgvers): Likewise.
68272         * manual/install.texi: Include pkgvers.texi.
68273         (--with-pkgversion): Document new configure option.
68274         (--with-bugurl): Likewise.
68275         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68276         than necessarily for this particular distribution.  Use
68277         REPORT_BUGS_TO for where to report bugs.
68278         * INSTALL: Regenerated.
68279         * manual/libc.texinfo: Include pkgvers.texi.
68280         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68281         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68282         (print_version): Use PKGVERSION.
68283         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68284         (print_version): Use PKGVERSION.
68285         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68286         (print_version): Use PKGVERSION.
68287         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68288         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68289         macro.
68290         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68291         (print_version): Use PKGVERSION.
68292         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68293         (print_version): Use PKGVERSION.
68294         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68295         and PKGVERSION.
68297         * timezone/checktab.awk: Update from tzcode 2012i.
68298         * timezone/ialloc.c: Likewise.
68299         * timezone/private.h: Likewise.
68300         * timezone/scheck.c: Likewise.
68301         * timezone/tzfile.h: Likewise.
68302         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68303         (TZVERSION): Hardcode tzcode version number.
68304         * timezone/zdump.c: Update from tzcode 2012i.
68305         * timezone/zic.c: Likewise.
68306         * timezone/version.h: New file.
68307         * timezone/README: Describe version.h.  Update upstream location.
68309         [BZ #14824]
68310         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68311         (mktemp): Enable declaration.
68312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68313         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68316         Likewise.
68317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68318         Likewise.
68319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68320         Likewise.
68321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68322         Likewise.
68323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68324         Likewise.
68325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68326         Likewise.
68328         [BZ #14821]
68329         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68330         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68331         for copies of such integer values.
68332         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68333         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68335 2012-11-09  Andreas Jaeger  <aj@suse.de>
68337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68338         definitions and declarations that are provided by
68339         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68341 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68343         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68344         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68345         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68346         definition.
68348 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68350         * elf/elf.h: Update comment before AArch64 relocations.
68352 2012-11-07  David S. Miller  <davem@davemloft.net>
68354         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68355         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68356         (__start_context): Declare.
68357         (__makecontext_ret): Delete.
68358         (__makecontext): Hook up __start_context instead of
68359         __makecontext_ret.
68360         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68361         (sysdep_routines): Add __start_context when in stdlib.
68363 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68365         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68366         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68367         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68368         hardcoded "nm".
68369         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68370         (READELF): New variable.  Use it instead of hardcoded "readelf".
68372 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68374         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68375         * sysdeps/x86/Makefile: Here.
68376         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68377         * sysdeps/x86/tst-xmmymm.sh: This.
68379 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68381         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68382         expectations.
68383         [UNIX98] (pthread_barrier_t): Do not expect.
68384         [UNIX98] (pthread_barrierattr_t): Likewise.
68385         [UNIX98] (pthread_spinlock_t): Likewise.
68386         [UNIX98] (pthread_barrier_destroy): Likewise.
68387         [UNIX98] (pthread_barrier_init): Likewise.
68388         [UNIX98] (pthread_barrier_wait): Likewise.
68389         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68390         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68391         [UNIX98] (pthread_barrierattr_init): Likewise.
68392         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68393         [UNIX98] (pthread_getcpuclockid): Likewise.
68394         [UNIX98] (pthread_mutex_timedlock): Likewise.
68395         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68396         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68397         [UNIX98] (pthread_sigmask): Likewise.
68398         [UNIX98] (pthread_spin_destroy): Likewise.
68399         [UNIX98] (pthread_spin_init): Likewise.
68400         [UNIX98] (pthread_spin_lock): Likewise.
68401         [UNIX98] (pthread_spin_trylock): Likewise.
68402         [UNIX98] (pthread_spin_unlock): Likewise.
68403         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68404         Do not expect.
68405         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68406         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68407         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68408         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68409         [XPG3 || XPG4] (pthread_key_t): Likewise.
68410         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68411         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68412         [XPG3 || XPG4] (pthread_once_t): Likewise.
68413         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68414         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68415         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68416         [XPG3 || XPG4] (pthread_t): Likewise.
68418         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68419         not expect.
68420         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68422         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68423         Change function return type to int.
68425         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68426         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68427         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68428         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68429         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68430         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68431         [!POSIX] (posix_madvise): Likewise.
68432         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68433         && !UNIX98].
68434         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68435         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68436         (mode_t): Likewise.
68437         (posix_mem_offset): Likewise.
68438         (posix_typed_mem_get_info): Likewise.
68439         (posix_typed_mem_open): Likewise.
68441         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68442         Change condition to [XOPEN2K8].
68444         * conform/conformtest.pl: Preprocess allow-header data with -x c
68445         instead of from stdin.
68446         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68447         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68448         [C99-based standards] (cerfc): Likewise.
68449         [C99-based standards] (cexp2): Likewise.
68450         [C99-based standards] (cexpm1): Likewise.
68451         [C99-based standards] (clog10): Likewise.
68452         [C99-based standards] (clog1p): Likewise.
68453         [C99-based standards] (clog2): Likewise.
68454         [C99-based standards] (clgamma): Likewise.
68455         [C99-based standards] (ctgamma): Likewise.
68456         [C99-based standards] (cerff): Likewise.
68457         [C99-based standards] (cerfcf): Likewise.
68458         [C99-based standards] (cexp2f): Likewise.
68459         [C99-based standards] (cexpm1f): Likewise.
68460         [C99-based standards] (clog10f): Likewise.
68461         [C99-based standards] (clog1pf): Likewise.
68462         [C99-based standards] (clog2f): Likewise.
68463         [C99-based standards] (clgammaf): Likewise.
68464         [C99-based standards] (ctgammaf): Likewise.
68465         [C99-based standards] (cerfl): Likewise.
68466         [C99-based standards] (cerfcl): Likewise.
68467         [C99-based standards] (cexp2l): Likewise.
68468         [C99-based standards] (cexpm1l): Likewise.
68469         [C99-based standards] (clog10l): Likewise.
68470         [C99-based standards] (clog1pl): Likewise.
68471         [C99-based standards] (clog2l): Likewise.
68472         [C99-based standards] (clgammal): Likewise.
68473         [C99-based standards] (ctgammal): Likewise.
68474         * conform/data/inttypes.h-data [C99-based standards]: Include
68475         stdint.h-data.  Remove all expectations for stdint.h contents.
68476         [C99-based standards] (PRI*): Do not allow.
68477         [C99-based standards] (SCN*): Likewise.
68478         [C99-based standards] (*_t): Likewise.
68479         [C99-based-standards] (PRId8): Expect macro.
68480         [C99-based-standards] (PRIi8): Likewise.
68481         [C99-based-standards] (PRIo8): Likewise.
68482         [C99-based-standards] (PRIu8): Likewise.
68483         [C99-based-standards] (PRIx8): Likewise.
68484         [C99-based-standards] (PRIX8): Likewise.
68485         [C99-based-standards] (SCNd8): Likewise.
68486         [C99-based-standards] (SCNi8): Likewise.
68487         [C99-based-standards] (SCNo8): Likewise.
68488         [C99-based-standards] (SCNu8): Likewise.
68489         [C99-based-standards] (SCNx8): Likewise.
68490         [C99-based-standards] (PRIdLEAST8): Likewise.
68491         [C99-based-standards] (PRIiLEAST8): Likewise.
68492         [C99-based-standards] (PRIoLEAST8): Likewise.
68493         [C99-based-standards] (PRIuLEAST8): Likewise.
68494         [C99-based-standards] (PRIxLEAST8): Likewise.
68495         [C99-based-standards] (PRIXLEAST8): Likewise.
68496         [C99-based-standards] (SCNdLEAST8): Likewise.
68497         [C99-based-standards] (SCNiLEAST8): Likewise.
68498         [C99-based-standards] (SCNoLEAST8): Likewise.
68499         [C99-based-standards] (SCNuLEAST8): Likewise.
68500         [C99-based-standards] (SCNxLEAST8): Likewise.
68501         [C99-based-standards] (PRIdFAST8): Likewise.
68502         [C99-based-standards] (PRIiFAST8): Likewise.
68503         [C99-based-standards] (PRIoFAST8): Likewise.
68504         [C99-based-standards] (PRIuFAST8): Likewise.
68505         [C99-based-standards] (PRIxFAST8): Likewise.
68506         [C99-based-standards] (PRIXFAST8): Likewise.
68507         [C99-based-standards] (SCNdFAST8): Likewise.
68508         [C99-based-standards] (SCNiFAST8): Likewise.
68509         [C99-based-standards] (SCNoFAST8): Likewise.
68510         [C99-based-standards] (SCNuFAST8): Likewise.
68511         [C99-based-standards] (SCNxFAST8): Likewise.
68512         [C99-based-standards] (PRId16): Likewise.
68513         [C99-based-standards] (PRIi16): Likewise.
68514         [C99-based-standards] (PRIo16): Likewise.
68515         [C99-based-standards] (PRIu16): Likewise.
68516         [C99-based-standards] (PRIx16): Likewise.
68517         [C99-based-standards] (PRIX16): Likewise.
68518         [C99-based-standards] (SCNd16): Likewise.
68519         [C99-based-standards] (SCNi16): Likewise.
68520         [C99-based-standards] (SCNo16): Likewise.
68521         [C99-based-standards] (SCNu16): Likewise.
68522         [C99-based-standards] (SCNx16): Likewise.
68523         [C99-based-standards] (PRIdLEAST16): Likewise.
68524         [C99-based-standards] (PRIiLEAST16): Likewise.
68525         [C99-based-standards] (PRIoLEAST16): Likewise.
68526         [C99-based-standards] (PRIuLEAST16): Likewise.
68527         [C99-based-standards] (PRIxLEAST16): Likewise.
68528         [C99-based-standards] (PRIXLEAST16): Likewise.
68529         [C99-based-standards] (SCNdLEAST16): Likewise.
68530         [C99-based-standards] (SCNiLEAST16): Likewise.
68531         [C99-based-standards] (SCNoLEAST16): Likewise.
68532         [C99-based-standards] (SCNuLEAST16): Likewise.
68533         [C99-based-standards] (SCNxLEAST16): Likewise.
68534         [C99-based-standards] (PRIdFAST16): Likewise.
68535         [C99-based-standards] (PRIiFAST16): Likewise.
68536         [C99-based-standards] (PRIoFAST16): Likewise.
68537         [C99-based-standards] (PRIuFAST16): Likewise.
68538         [C99-based-standards] (PRIxFAST16): Likewise.
68539         [C99-based-standards] (PRIXFAST16): Likewise.
68540         [C99-based-standards] (SCNdFAST16): Likewise.
68541         [C99-based-standards] (SCNiFAST16): Likewise.
68542         [C99-based-standards] (SCNoFAST16): Likewise.
68543         [C99-based-standards] (SCNuFAST16): Likewise.
68544         [C99-based-standards] (SCNxFAST16): Likewise.
68545         [C99-based-standards] (PRId32): Likewise.
68546         [C99-based-standards] (PRIi32): Likewise.
68547         [C99-based-standards] (PRIo32): Likewise.
68548         [C99-based-standards] (PRIu32): Likewise.
68549         [C99-based-standards] (PRIx32): Likewise.
68550         [C99-based-standards] (PRIX32): Likewise.
68551         [C99-based-standards] (SCNd32): Likewise.
68552         [C99-based-standards] (SCNi32): Likewise.
68553         [C99-based-standards] (SCNo32): Likewise.
68554         [C99-based-standards] (SCNu32): Likewise.
68555         [C99-based-standards] (SCNx32): Likewise.
68556         [C99-based-standards] (PRIdLEAST32): Likewise.
68557         [C99-based-standards] (PRIiLEAST32): Likewise.
68558         [C99-based-standards] (PRIoLEAST32): Likewise.
68559         [C99-based-standards] (PRIuLEAST32): Likewise.
68560         [C99-based-standards] (PRIxLEAST32): Likewise.
68561         [C99-based-standards] (PRIXLEAST32): Likewise.
68562         [C99-based-standards] (SCNdLEAST32): Likewise.
68563         [C99-based-standards] (SCNiLEAST32): Likewise.
68564         [C99-based-standards] (SCNoLEAST32): Likewise.
68565         [C99-based-standards] (SCNuLEAST32): Likewise.
68566         [C99-based-standards] (SCNxLEAST32): Likewise.
68567         [C99-based-standards] (PRIdFAST32): Likewise.
68568         [C99-based-standards] (PRIiFAST32): Likewise.
68569         [C99-based-standards] (PRIoFAST32): Likewise.
68570         [C99-based-standards] (PRIuFAST32): Likewise.
68571         [C99-based-standards] (PRIxFAST32): Likewise.
68572         [C99-based-standards] (PRIXFAST32): Likewise.
68573         [C99-based-standards] (SCNdFAST32): Likewise.
68574         [C99-based-standards] (SCNiFAST32): Likewise.
68575         [C99-based-standards] (SCNoFAST32): Likewise.
68576         [C99-based-standards] (SCNuFAST32): Likewise.
68577         [C99-based-standards] (SCNxFAST32): Likewise.
68578         [C99-based-standards] (PRId64): Likewise.
68579         [C99-based-standards] (PRIi64): Likewise.
68580         [C99-based-standards] (PRIo64): Likewise.
68581         [C99-based-standards] (PRIu64): Likewise.
68582         [C99-based-standards] (PRIx64): Likewise.
68583         [C99-based-standards] (PRIX64): Likewise.
68584         [C99-based-standards] (SCNd64): Likewise.
68585         [C99-based-standards] (SCNi64): Likewise.
68586         [C99-based-standards] (SCNo64): Likewise.
68587         [C99-based-standards] (SCNu64): Likewise.
68588         [C99-based-standards] (SCNx64): Likewise.
68589         [C99-based-standards] (PRIdLEAST64): Likewise.
68590         [C99-based-standards] (PRIiLEAST64): Likewise.
68591         [C99-based-standards] (PRIoLEAST64): Likewise.
68592         [C99-based-standards] (PRIuLEAST64): Likewise.
68593         [C99-based-standards] (PRIxLEAST64): Likewise.
68594         [C99-based-standards] (PRIXLEAST64): Likewise.
68595         [C99-based-standards] (SCNdLEAST64): Likewise.
68596         [C99-based-standards] (SCNiLEAST64): Likewise.
68597         [C99-based-standards] (SCNoLEAST64): Likewise.
68598         [C99-based-standards] (SCNuLEAST64): Likewise.
68599         [C99-based-standards] (SCNxLEAST64): Likewise.
68600         [C99-based-standards] (PRIdFAST64): Likewise.
68601         [C99-based-standards] (PRIiFAST64): Likewise.
68602         [C99-based-standards] (PRIoFAST64): Likewise.
68603         [C99-based-standards] (PRIuFAST64): Likewise.
68604         [C99-based-standards] (PRIxFAST64): Likewise.
68605         [C99-based-standards] (PRIXFAST64): Likewise.
68606         [C99-based-standards] (SCNdFAST64): Likewise.
68607         [C99-based-standards] (SCNiFAST64): Likewise.
68608         [C99-based-standards] (SCNoFAST64): Likewise.
68609         [C99-based-standards] (SCNuFAST64): Likewise.
68610         [C99-based-standards] (SCNxFAST64): Likewise.
68611         [C99-based-standards] (PRIdMAX): Likewise.
68612         [C99-based-standards] (PRIiMAX): Likewise.
68613         [C99-based-standards] (PRIoMAX): Likewise.
68614         [C99-based-standards] (PRIuMAX): Likewise.
68615         [C99-based-standards] (PRIxMAX): Likewise.
68616         [C99-based-standards] (PRIXMAX): Likewise.
68617         [C99-based-standards] (SCNdMAX): Likewise.
68618         [C99-based-standards] (SCNiMAX): Likewise.
68619         [C99-based-standards] (SCNoMAX): Likewise.
68620         [C99-based-standards] (SCNuMAX): Likewise.
68621         [C99-based-standards] (SCNxMAX): Likewise.
68622         [C99-based-standards] (PRIdPTR): Likewise.
68623         [C99-based-standards] (PRIiPTR): Likewise.
68624         [C99-based-standards] (PRIoPTR): Likewise.
68625         [C99-based-standards] (PRIuPTR): Likewise.
68626         [C99-based-standards] (PRIxPTR): Likewise.
68627         [C99-based-standards] (PRIXPTR): Likewise.
68628         [C99-based-standards] (SCNdPTR): Likewise.
68629         [C99-based-standards] (SCNiPTR): Likewise.
68630         [C99-based-standards] (SCNoPTR): Likewise.
68631         [C99-based-standards] (SCNuPTR): Likewise.
68632         [C99-based-standards] (SCNxPTR): Likewise.
68633         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68634         allow.
68635         * conform/data/stdint.h-data: Update comments to clarify
68636         requirements.
68637         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68638         type.
68639         [C99-based standards] (INT8_MAX): Likewise.
68640         [C99-based standards] (INT16_MIN): Likewise.
68641         [C99-based standards] (INT16_MAX): Likewise.
68642         [C99-based standards] (INT32_MIN): Likewise.
68643         [C99-based standards] (INT32_MAX): Likewise.
68644         [C99-based standards] (INT64_MIN): Likewise.
68645         [C99-based standards] (INT64_MAX): Likewise.
68646         [C99-based standards] (UINT8_MAX): Likewise.
68647         [C99-based standards] (UINT16_MAX): Likewise.
68648         [C99-based standards] (UINT32_MAX): Likewise.
68649         [C99-based standards] (UINT64_MAX): Likewise.
68650         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68651         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68652         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68653         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68654         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68655         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68656         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68657         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68658         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68659         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68660         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68661         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68662         [C99-based standards] (INT_FAST8_MIN): Likewise.
68663         [C99-based standards] (INT_FAST8_MAX): Likewise.
68664         [C99-based standards] (INT_FAST16_MIN): Likewise.
68665         [C99-based standards] (INT_FAST16_MAX): Likewise.
68666         [C99-based standards] (INT_FAST32_MIN): Likewise.
68667         [C99-based standards] (INT_FAST32_MAX): Likewise.
68668         [C99-based standards] (INT_FAST64_MIN): Likewise.
68669         [C99-based standards] (INT_FAST64_MAX): Likewise.
68670         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68671         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68672         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68673         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68674         [C99-based standards] (INTPTR_MIN): Likewise.
68675         [C99-based standards] (INTPTR_MAX): Likewise.
68676         [C99-based standards] (UINTPTR_MAX): Likewise.
68677         [C99-based standards] (INTMAX_MIN): Likewise.
68678         [C99-based standards] (INTMAX_MAX): Likewise.
68679         [C99-based standards] (UINTMAX_MAX): Likewise.
68680         [C99-based standards] (PTRDIFF_MIN): Likewise.
68681         [C99-based standards] (PTRDIFF_MAX): Likewise.
68682         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68683         [C99-based standards] (SIZE_MAX): Likewise.
68684         [C99-based standards] (WCHAR_MAX): Likewise.
68685         [C99-based standards] (WINT_MAX): Likewise.
68686         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68687         constraint on value.
68688         [C99-based standards] (WCHAR_MIN): Likewise.
68689         [C99-based standards] (WINT_MIN): Likewise.
68690         [C99-based standards] (*_t): Allow.
68691         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68692         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68693         Include math.h-data and complex.h-data.  Remove all expectations
68694         of math.h and complex.h contents.
68695         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68696         at end of line.
68697         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68698         (struct tm): Expect tag.
68699         [C99-based-standards] (wcstof): Expect function.
68700         [C99-based-standards] (wcstold): Likewise.
68701         [C99-based-standards] (wcstoll): Likewise.
68702         [C99-based-standards] (wcstoull): Likewise.
68703         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68704         macro-int-constant.  Specify type.
68705         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68706         constraint on value.
68707         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68708         Specify type.
68709         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68710         Specify value.
68711         [ISO C standards]: Do not allow headers.
68712         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68713         wcs[abcdefghijklmnopqrstuvwxyz]*.
68714         [ISO C standards] (*_t): Do not allow.
68715         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68716         Expect function.
68717         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68718         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68719         Specify type.
68720         [ISO C standards]: Do not allow headers.
68721         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68722         is[abcdefghijklmnopqrstuvwxyz]*.
68723         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68724         to[abcdefghijklmnopqrstuvwxyz]*.
68725         [ISO C standards] (*_t): Do not allow.
68726         * conform/data/stdalign.h-data: New file.
68727         * conform/data/stdbool.h-data: Likewise.
68728         * conform/data/stdnoreturn.h-data: Likewise.
68730 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68732         [BZ #14815]
68733         * manual/filesys.texi (Directory Entries): Typo fix.
68734         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68736 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68738         * elf/elf.h (EM_AARCH64): New macro.
68739         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68740         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68741         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68742         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68743         (R_AARCH64_TLSDESC): Likewise.
68744         (NT_ARM_TLS): Likewise.
68745         (NT_ARM_HW_BREAK): Likewise.
68746         (NT_ARM_HW_WATCH): Likewise.
68748 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68750         [BZ #14811]
68751         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68752         (__ieee754_powl): Saturate nonzero exponents with absolute value
68753         below 0x1p-79 to +/- 0x1p-79.
68754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68755         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68756         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68757         nonzero exponents with absolute value below 0x1p-32 to +/-
68758         0x1p-32.
68759         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68760         (__ieee754_powl): Saturate nonzero exponents with absolute value
68761         below 0x1p-79 to +/- 0x1p-79.
68762         * math/libm-test.inc (pow_test): Add more tests.
68764 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68766         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68767         _dl_s390_cap_flags with kernel. Increase string length.
68768         (_dl_s390_platforms): Add z196 and zEC12.
68770 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68772         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68773         Change XOPEN21K to XOPEN2K.
68775 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68777         * string/memmove.c: Use memcpy when possible.
68779 2012-11-06  Andreas Jaeger  <aj@suse.de>
68781         * po/eo.po: Update from translation team.
68783 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68785         [BZ #14793]
68786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68787         exponent and small x and y exponents, scale x or y up.  Increase
68788         by 2 the exponent used in scaling up.
68789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68791         * math/libm-test.inc (fma_test): Add more tests.
68792         (fma_test_towardzero): Likewise.
68793         (fma_test_downward): Likewise.
68794         (fma_test_upward): Likewise.
68796 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68798         [BZ #14805]
68799         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68800         fenv_t *.
68802         [BZ #14801]
68803         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68804         namespace for names of struct fields.
68805         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68806         fenv_t fields.
68807         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68808         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68810 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68812         [BZ #3665]
68813         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68815 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68817         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68818         PTR_DEMANGLE.
68820         [BZ #5246]
68821         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68822         PTR_DEMANGLE.
68824 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68826         [BZ #14797]
68827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68828         definitely overflow as x * y not x * y + z.
68829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68831         * math/libm-test.inc (fma_test): Add more tests.
68832         (fma_test_towardzero): Likewise.
68833         (fma_test_downward): Likewise.
68834         (fma_test_upward): Likewise.
68836 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68838         [BZ #157]
68840         * include/stub-tag.h: Remove file.
68841         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68842         '#include' of it.
68843         * manual/maint.texi (Porting): Don't reference it.
68844         * Makerules ($(objpfx)stubs): Likewise.
68845         * dirent/closedir.c: Don't include <stub-tag.h>.
68846         * dirent/dirfd.c: Likewise.
68847         * dirent/fdopendir.c: Likewise.
68848         * dirent/getdents.c: Likewise.
68849         * dirent/getdents64.c: Likewise.
68850         * dirent/opendir.c: Likewise.
68851         * dirent/readdir.c: Likewise.
68852         * dirent/readdir64.c: Likewise.
68853         * dirent/readdir64_r.c: Likewise.
68854         * dirent/readdir_r.c: Likewise.
68855         * dirent/rewinddir.c: Likewise.
68856         * dirent/seekdir.c: Likewise.
68857         * dirent/telldir.c: Likewise.
68858         * gmon/profil.c: Likewise.
68859         * grp/setgroups.c: Likewise.
68860         * inet/if_index.c: Likewise.
68861         * io/access.c: Likewise.
68862         * io/chdir.c: Likewise.
68863         * io/chmod.c: Likewise.
68864         * io/chown.c: Likewise.
68865         * io/close.c: Likewise.
68866         * io/dup.c: Likewise.
68867         * io/dup2.c: Likewise.
68868         * io/dup3.c: Likewise.
68869         * io/euidaccess.c: Likewise.
68870         * io/faccessat.c: Likewise.
68871         * io/fchdir.c: Likewise.
68872         * io/fchmod.c: Likewise.
68873         * io/fchmodat.c: Likewise.
68874         * io/fchown.c: Likewise.
68875         * io/fchownat.c: Likewise.
68876         * io/fcntl.c: Likewise.
68877         * io/flock.c: Likewise.
68878         * io/fstatfs.c: Likewise.
68879         * io/fstatfs64.c: Likewise.
68880         * io/fstatvfs.c: Likewise.
68881         * io/fstatvfs64.c: Likewise.
68882         * io/futimens.c: Likewise.
68883         * io/fxstat.c: Likewise.
68884         * io/fxstat64.c: Likewise.
68885         * io/fxstatat.c: Likewise.
68886         * io/fxstatat64.c: Likewise.
68887         * io/getcwd.c: Likewise.
68888         * io/isatty.c: Likewise.
68889         * io/lchmod.c: Likewise.
68890         * io/lchown.c: Likewise.
68891         * io/link.c: Likewise.
68892         * io/linkat.c: Likewise.
68893         * io/lseek.c: Likewise.
68894         * io/lseek64.c: Likewise.
68895         * io/lxstat64.c: Likewise.
68896         * io/mkdir.c: Likewise.
68897         * io/mkdirat.c: Likewise.
68898         * io/mkfifo.c: Likewise.
68899         * io/mkfifoat.c: Likewise.
68900         * io/open.c: Likewise.
68901         * io/open64.c: Likewise.
68902         * io/openat.c: Likewise.
68903         * io/openat64.c: Likewise.
68904         * io/pipe.c: Likewise.
68905         * io/pipe2.c: Likewise.
68906         * io/poll.c: Likewise.
68907         * io/posix_fadvise.c: Likewise.
68908         * io/posix_fadvise64.c: Likewise.
68909         * io/posix_fallocate.c: Likewise.
68910         * io/posix_fallocate64.c: Likewise.
68911         * io/read.c: Likewise.
68912         * io/readlink.c: Likewise.
68913         * io/readlinkat.c: Likewise.
68914         * io/rmdir.c: Likewise.
68915         * io/sendfile.c: Likewise.
68916         * io/sendfile64.c: Likewise.
68917         * io/statfs.c: Likewise.
68918         * io/statfs64.c: Likewise.
68919         * io/statvfs.c: Likewise.
68920         * io/statvfs64.c: Likewise.
68921         * io/symlink.c: Likewise.
68922         * io/symlinkat.c: Likewise.
68923         * io/ttyname.c: Likewise.
68924         * io/ttyname_r.c: Likewise.
68925         * io/umask.c: Likewise.
68926         * io/unlink.c: Likewise.
68927         * io/unlinkat.c: Likewise.
68928         * io/utime.c: Likewise.
68929         * io/utimensat.c: Likewise.
68930         * io/write.c: Likewise.
68931         * io/xmknod.c: Likewise.
68932         * io/xmknodat.c: Likewise.
68933         * io/xstat.c: Likewise.
68934         * io/xstat64.c: Likewise.
68935         * login/getpt.c: Likewise.
68936         * login/grantpt.c: Likewise.
68937         * login/unlockpt.c: Likewise.
68938         * math/e_acoshl.c: Likewise.
68939         * math/e_acosl.c: Likewise.
68940         * math/e_asinl.c: Likewise.
68941         * math/e_atan2l.c: Likewise.
68942         * math/e_atanhl.c: Likewise.
68943         * math/e_coshl.c: Likewise.
68944         * math/e_expl.c: Likewise.
68945         * math/e_fmodl.c: Likewise.
68946         * math/e_gammal_r.c: Likewise.
68947         * math/e_hypotl.c: Likewise.
68948         * math/e_j0l.c: Likewise.
68949         * math/e_j1l.c: Likewise.
68950         * math/e_jnl.c: Likewise.
68951         * math/e_lgammal_r.c: Likewise.
68952         * math/e_log10l.c: Likewise.
68953         * math/e_log2l.c: Likewise.
68954         * math/e_logl.c: Likewise.
68955         * math/e_powl.c: Likewise.
68956         * math/e_rem_pio2l.c: Likewise.
68957         * math/e_sinhl.c: Likewise.
68958         * math/e_sqrtl.c: Likewise.
68959         * math/fclrexcpt.c: Likewise.
68960         * math/fedisblxcpt.c: Likewise.
68961         * math/feenablxcpt.c: Likewise.
68962         * math/fegetenv.c: Likewise.
68963         * math/fegetexcept.c: Likewise.
68964         * math/fegetround.c: Likewise.
68965         * math/feholdexcpt.c: Likewise.
68966         * math/fesetenv.c: Likewise.
68967         * math/fesetround.c: Likewise.
68968         * math/feupdateenv.c: Likewise.
68969         * math/fgetexcptflg.c: Likewise.
68970         * math/fraiseexcpt.c: Likewise.
68971         * math/fsetexcptflg.c: Likewise.
68972         * math/ftestexcept.c: Likewise.
68973         * math/k_cosl.c: Likewise.
68974         * math/k_rem_pio2l.c: Likewise.
68975         * math/k_sinl.c: Likewise.
68976         * math/k_tanl.c: Likewise.
68977         * math/s_asinhl.c: Likewise.
68978         * math/s_atanl.c: Likewise.
68979         * math/s_cbrtl.c: Likewise.
68980         * math/s_erfl.c: Likewise.
68981         * math/s_expm1l.c: Likewise.
68982         * math/s_log1pl.c: Likewise.
68983         * math/s_tanhl.c: Likewise.
68984         * misc/acct.c: Likewise.
68985         * misc/brk.c: Likewise.
68986         * misc/chflags.c: Likewise.
68987         * misc/chroot.c: Likewise.
68988         * misc/fchflags.c: Likewise.
68989         * misc/fgetxattr.c: Likewise.
68990         * misc/flistxattr.c: Likewise.
68991         * misc/fremovexattr.c: Likewise.
68992         * misc/fsetxattr.c: Likewise.
68993         * misc/fsync.c: Likewise.
68994         * misc/ftruncate.c: Likewise.
68995         * misc/futimes.c: Likewise.
68996         * misc/futimesat.c: Likewise.
68997         * misc/getdomain.c: Likewise.
68998         * misc/getdtsz.c: Likewise.
68999         * misc/gethostid.c: Likewise.
69000         * misc/gethostname.c: Likewise.
69001         * misc/getloadavg.c: Likewise.
69002         * misc/getpagesize.c: Likewise.
69003         * misc/getsysstats.c: Likewise.
69004         * misc/getxattr.c: Likewise.
69005         * misc/gtty.c: Likewise.
69006         * misc/ioctl.c: Likewise.
69007         * misc/lgetxattr.c: Likewise.
69008         * misc/listxattr.c: Likewise.
69009         * misc/llistxattr.c: Likewise.
69010         * misc/lremovexattr.c: Likewise.
69011         * misc/lsetxattr.c: Likewise.
69012         * misc/lutimes.c: Likewise.
69013         * misc/madvise.c: Likewise.
69014         * misc/mincore.c: Likewise.
69015         * misc/mlock.c: Likewise.
69016         * misc/mlockall.c: Likewise.
69017         * misc/mmap.c: Likewise.
69018         * misc/mprotect.c: Likewise.
69019         * misc/msync.c: Likewise.
69020         * misc/munlock.c: Likewise.
69021         * misc/munlockall.c: Likewise.
69022         * misc/munmap.c: Likewise.
69023         * misc/preadv.c: Likewise.
69024         * misc/preadv64.c: Likewise.
69025         * misc/ptrace.c: Likewise.
69026         * misc/pwritev.c: Likewise.
69027         * misc/pwritev64.c: Likewise.
69028         * misc/readv.c: Likewise.
69029         * misc/reboot.c: Likewise.
69030         * misc/remap_file_pages.c: Likewise.
69031         * misc/removexattr.c: Likewise.
69032         * misc/revoke.c: Likewise.
69033         * misc/select.c: Likewise.
69034         * misc/setdomain.c: Likewise.
69035         * misc/setegid.c: Likewise.
69036         * misc/seteuid.c: Likewise.
69037         * misc/sethostid.c: Likewise.
69038         * misc/sethostname.c: Likewise.
69039         * misc/setregid.c: Likewise.
69040         * misc/setreuid.c: Likewise.
69041         * misc/setxattr.c: Likewise.
69042         * misc/sstk.c: Likewise.
69043         * misc/stty.c: Likewise.
69044         * misc/swapoff.c: Likewise.
69045         * misc/swapon.c: Likewise.
69046         * misc/sync.c: Likewise.
69047         * misc/syncfs.c: Likewise.
69048         * misc/syscall.c: Likewise.
69049         * misc/truncate.c: Likewise.
69050         * misc/ualarm.c: Likewise.
69051         * misc/usleep.c: Likewise.
69052         * misc/ustat.c: Likewise.
69053         * misc/utimes.c: Likewise.
69054         * misc/vhangup.c: Likewise.
69055         * misc/writev.c: Likewise.
69056         * posix/_exit.c: Likewise.
69057         * posix/alarm.c: Likewise.
69058         * posix/execve.c: Likewise.
69059         * posix/fexecve.c: Likewise.
69060         * posix/fork.c: Likewise.
69061         * posix/fpathconf.c: Likewise.
69062         * posix/getaddrinfo.c: Likewise.
69063         * posix/getegid.c: Likewise.
69064         * posix/geteuid.c: Likewise.
69065         * posix/getgid.c: Likewise.
69066         * posix/getgroups.c: Likewise.
69067         * posix/getlogin.c: Likewise.
69068         * posix/getlogin_r.c: Likewise.
69069         * posix/getpgid.c: Likewise.
69070         * posix/getpid.c: Likewise.
69071         * posix/getppid.c: Likewise.
69072         * posix/getresgid.c: Likewise.
69073         * posix/getresuid.c: Likewise.
69074         * posix/getsid.c: Likewise.
69075         * posix/getuid.c: Likewise.
69076         * posix/glob64.c: Likewise.
69077         * posix/nanosleep.c: Likewise.
69078         * posix/pathconf.c: Likewise.
69079         * posix/pause.c: Likewise.
69080         * posix/posix_madvise.c: Likewise.
69081         * posix/pread.c: Likewise.
69082         * posix/pread64.c: Likewise.
69083         * posix/pwrite.c: Likewise.
69084         * posix/pwrite64.c: Likewise.
69085         * posix/sched_getaffinity.c: Likewise.
69086         * posix/sched_getp.c: Likewise.
69087         * posix/sched_gets.c: Likewise.
69088         * posix/sched_primax.c: Likewise.
69089         * posix/sched_primin.c: Likewise.
69090         * posix/sched_rr_gi.c: Likewise.
69091         * posix/sched_setaffinity.c: Likewise.
69092         * posix/sched_setp.c: Likewise.
69093         * posix/sched_sets.c: Likewise.
69094         * posix/sched_yield.c: Likewise.
69095         * posix/setgid.c: Likewise.
69096         * posix/setlogin.c: Likewise.
69097         * posix/setpgid.c: Likewise.
69098         * posix/setresgid.c: Likewise.
69099         * posix/setresuid.c: Likewise.
69100         * posix/setsid.c: Likewise.
69101         * posix/setuid.c: Likewise.
69102         * posix/sleep.c: Likewise.
69103         * posix/spawni.c: Likewise.
69104         * posix/sysconf.c: Likewise.
69105         * posix/times.c: Likewise.
69106         * posix/wait.c: Likewise.
69107         * posix/wait3.c: Likewise.
69108         * posix/wait4.c: Likewise.
69109         * posix/waitpid.c: Likewise.
69110         * resolv/gai_sigqueue.c: Likewise.
69111         * resource/getpriority.c: Likewise.
69112         * resource/getrlimit.c: Likewise.
69113         * resource/getrusage.c: Likewise.
69114         * resource/nice.c: Likewise.
69115         * resource/setpriority.c: Likewise.
69116         * resource/setrlimit.c: Likewise.
69117         * resource/ulimit.c: Likewise.
69118         * rt/aio_cancel.c: Likewise.
69119         * rt/aio_fsync.c: Likewise.
69120         * rt/aio_read.c: Likewise.
69121         * rt/aio_sigqueue.c: Likewise.
69122         * rt/aio_suspend.c: Likewise.
69123         * rt/aio_write.c: Likewise.
69124         * rt/clock_getres.c: Likewise.
69125         * rt/clock_gettime.c: Likewise.
69126         * rt/clock_nanosleep.c: Likewise.
69127         * rt/clock_settime.c: Likewise.
69128         * rt/lio_listio.c: Likewise.
69129         * rt/mq_close.c: Likewise.
69130         * rt/mq_getattr.c: Likewise.
69131         * rt/mq_notify.c: Likewise.
69132         * rt/mq_open.c: Likewise.
69133         * rt/mq_receive.c: Likewise.
69134         * rt/mq_send.c: Likewise.
69135         * rt/mq_setattr.c: Likewise.
69136         * rt/mq_timedreceive.c: Likewise.
69137         * rt/mq_timedsend.c: Likewise.
69138         * rt/mq_unlink.c: Likewise.
69139         * rt/shm_open.c: Likewise.
69140         * rt/shm_unlink.c: Likewise.
69141         * rt/timer_create.c: Likewise.
69142         * rt/timer_delete.c: Likewise.
69143         * rt/timer_getoverr.c: Likewise.
69144         * rt/timer_gettime.c: Likewise.
69145         * rt/timer_settime.c: Likewise.
69146         * setjmp/__longjmp.c: Likewise.
69147         * setjmp/setjmp.c: Likewise.
69148         * signal/kill.c: Likewise.
69149         * signal/killpg.c: Likewise.
69150         * signal/raise.c: Likewise.
69151         * signal/sigaction.c: Likewise.
69152         * signal/sigaltstack.c: Likewise.
69153         * signal/sigblock.c: Likewise.
69154         * signal/sigignore.c: Likewise.
69155         * signal/sigintr.c: Likewise.
69156         * signal/signal.c: Likewise.
69157         * signal/sigpause.c: Likewise.
69158         * signal/sigpending.c: Likewise.
69159         * signal/sigqueue.c: Likewise.
69160         * signal/sigreturn.c: Likewise.
69161         * signal/sigset.c: Likewise.
69162         * signal/sigsetmask.c: Likewise.
69163         * signal/sigstack.c: Likewise.
69164         * signal/sigsuspend.c: Likewise.
69165         * signal/sigtimedwait.c: Likewise.
69166         * signal/sigvec.c: Likewise.
69167         * signal/sigwait.c: Likewise.
69168         * signal/sigwaitinfo.c: Likewise.
69169         * signal/sysv_signal.c: Likewise.
69170         * socket/accept.c: Likewise.
69171         * socket/accept4.c: Likewise.
69172         * socket/bind.c: Likewise.
69173         * socket/connect.c: Likewise.
69174         * socket/getpeername.c: Likewise.
69175         * socket/getsockname.c: Likewise.
69176         * socket/getsockopt.c: Likewise.
69177         * socket/isfdtype.c: Likewise.
69178         * socket/listen.c: Likewise.
69179         * socket/recv.c: Likewise.
69180         * socket/recvfrom.c: Likewise.
69181         * socket/recvmsg.c: Likewise.
69182         * socket/send.c: Likewise.
69183         * socket/sendmsg.c: Likewise.
69184         * socket/sendto.c: Likewise.
69185         * socket/setsockopt.c: Likewise.
69186         * socket/shutdown.c: Likewise.
69187         * socket/sockatmark.c: Likewise.
69188         * socket/socket.c: Likewise.
69189         * socket/socketpair.c: Likewise.
69190         * stdio-common/ctermid.c: Likewise.
69191         * stdio-common/cuserid.c: Likewise.
69192         * stdio-common/remove.c: Likewise.
69193         * stdio-common/rename.c: Likewise.
69194         * stdio-common/renameat.c: Likewise.
69195         * stdio-common/tempname.c: Likewise.
69196         * stdlib/getcontext.c: Likewise.
69197         * stdlib/makecontext.c: Likewise.
69198         * stdlib/setcontext.c: Likewise.
69199         * stdlib/swapcontext.c: Likewise.
69200         * stdlib/system.c: Likewise.
69201         * streams/fattach.c: Likewise.
69202         * streams/fdetach.c: Likewise.
69203         * streams/getmsg.c: Likewise.
69204         * streams/getpmsg.c: Likewise.
69205         * streams/putmsg.c: Likewise.
69206         * streams/putpmsg.c: Likewise.
69207         * sysdeps/unix/bsd/getpt.c: Likewise.
69208         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69209         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69210         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69212         Likewise.
69213         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69214         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69215         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69216         * sysvipc/msgctl.c: Likewise.
69217         * sysvipc/msgget.c: Likewise.
69218         * sysvipc/msgrcv.c: Likewise.
69219         * sysvipc/msgsnd.c: Likewise.
69220         * sysvipc/semctl.c: Likewise.
69221         * sysvipc/semget.c: Likewise.
69222         * sysvipc/semop.c: Likewise.
69223         * sysvipc/semtimedop.c: Likewise.
69224         * sysvipc/shmat.c: Likewise.
69225         * sysvipc/shmctl.c: Likewise.
69226         * sysvipc/shmdt.c: Likewise.
69227         * sysvipc/shmget.c: Likewise.
69228         * termios/tcdrain.c: Likewise.
69229         * termios/tcflow.c: Likewise.
69230         * termios/tcflush.c: Likewise.
69231         * termios/tcgetattr.c: Likewise.
69232         * termios/tcgetpgrp.c: Likewise.
69233         * termios/tcsendbrk.c: Likewise.
69234         * termios/tcsetattr.c: Likewise.
69235         * termios/tcsetpgrp.c: Likewise.
69236         * time/adjtime.c: Likewise.
69237         * time/clock.c: Likewise.
69238         * time/getitimer.c: Likewise.
69239         * time/gettimeofday.c: Likewise.
69240         * time/setitimer.c: Likewise.
69241         * time/settimeofday.c: Likewise.
69242         * time/stime.c: Likewise.
69243         * time/time.c: Likewise.
69245 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69247         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69248         /usr/old/bin.
69250         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69251         instead of spaces.
69252         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69254 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69256         [BZ #14796]
69257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69258         FE_TONEAREST before applying Dekker multiplication and Knuth
69259         addition.  Clear inexact exceptions and check for exact zero
69260         results afterwards.
69261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69262         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69263         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69264         * math/libm-test.inc (fma_test): Add more tests.
69265         (fma_test_towardzero): Likewise.
69266         (fma_test_downward): Likewise.
69267         (fma_test_upward): Likewise.
69268         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69269         function.
69270         (libc_fesetround): New macro.
69271         (libc_fesetroundf): Likewise.
69272         (libc_fesetroundl): Likewise.
69273         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69274         function.
69275         (libc_fesetround_387): Likewise.
69276         (libc_fesetroundf): New macro.
69277         (libc_fesetround): Likewise.
69278         (libc_fesetroundl): Likewise.
69279         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69280         function.
69281         (libc_fesetroundf): New macro.
69282         (libc_fesetround): Likewise.
69283         (libc_fesetroundl): Likewise.
69284         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69285         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69286         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69287         libm_hidden_ver.
69288         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69289         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69290         libm_hidden_def.
69291         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69292         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69293         libm_hidden_ver.
69294         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69295         libm_hidden_def.
69297         [BZ #3439]
69298         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69299         integer constant usable in #if and use that to give value to enum
69300         constant.
69301         (FE_DIVBYZERO): Likewise.
69302         (FE_UNDERFLOW): Likewise.
69303         (FE_OVERFLOW): Likewise.
69304         (FE_INVALID): Likewise.
69305         (FE_INVALID_SNAN): Likewise.
69306         (FE_INVALID_ISI): Likewise.
69307         (FE_INVALID_IDI): Likewise.
69308         (FE_INVALID_ZDZ): Likewise.
69309         (FE_INVALID_IMZ): Likewise.
69310         (FE_INVALID_COMPARE): Likewise.
69311         (FE_INVALID_SOFTWARE): Likewise.
69312         (FE_INVALID_SQRT): Likewise.
69313         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69314         (FE_TONEAREST): Likewise.
69315         (FE_TOWARDZERO): Likewise.
69316         (FE_UPWARD): Likewise.
69317         (FE_DOWNWARD): Likewise.
69318         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69319         (FE_DIVBYZERO): Likewise.
69320         (FE_OVERFLOW): Likewise.
69321         (FE_UNDERFLOW): Likewise.
69322         (FE_INEXACT): Likewise.
69323         (FE_TONEAREST): Likewise.
69324         (FE_DOWNWARD): Likewise.
69325         (FE_UPWARD): Likewise.
69326         (FE_TOWARDZERO): Likewise.
69327         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69328         (FE_UNDERFLOW): Likewise.
69329         (FE_OVERFLOW): Likewise.
69330         (FE_DIVBYZERO): Likewise.
69331         (FE_INVALID): Likewise.
69332         (FE_TONEAREST): Likewise.
69333         (FE_TOWARDZERO): Likewise.
69334         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69335         (FE_OVERFLOW): Likewise.
69336         (FE_UNDERFLOW): Likewise.
69337         (FE_DIVBYZERO): Likewise.
69338         (FE_INEXACT): Likewise.
69339         (FE_TONEAREST): Likewise.
69340         (FE_TOWARDZERO): Likewise.
69341         (FE_UPWARD): Likewise.
69342         (FE_DOWNWARD): Likewise.
69343         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69344         (FE_DIVBYZERO): Likewise.
69345         (FE_OVERFLOW): Likewise.
69346         (FE_UNDERFLOW): Likewise.
69347         (FE_INEXACT): Likewise.
69348         (FE_TONEAREST): Likewise.
69349         (FE_DOWNWARD): Likewise.
69350         (FE_UPWARD): Likewise.
69351         (FE_TOWARDZERO): Likewise.
69353 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69355         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69357 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69359         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69360         commands.  Quote $PWD.
69361         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69362         -x" by "export".
69363         (remove_newlines): Remove.
69365 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69367         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69368         * stdlib/stdlib.h (atof): Moved to ...
69369         * include/bits/stdlib-float.h: Here.  New file.
69370         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69371         * stdlib/bits/stdlib-float.h: New file.
69372         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69373         -mno-sse -mno-mmx.
69374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69375         <xmmintrin.h>.
69377 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69379         * conform/conformtest.pl (@headers): Add fenv.h.
69380         * conform/data/fenv.h-data: New file.
69381         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69382         include of <math/fenv.h>.
69384         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69385         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69386         && !UNIX98].  Enables tests for XOPEN2K8.
69387         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69388         POSIX2008]: Likewise.
69390         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69391         (struct rusage): Do not expect type or its members.
69393         [BZ #3439]
69394         * math/math.h (FP_NAN): Define macro to integer constant usable in
69395         #if and use that to give value to enum constant.
69396         (FP_INFINITE): Likewise.
69397         (FP_ZERO): Likewise.
69398         (FP_SUBNORMAL): Likewise.
69399         (FP_NORMAL): Likewise.
69401 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69403         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69404         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69405         arguments.
69407 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69409         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69410         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69411         autoconf-time if not.
69412         * configure.in: Remove AC_PREREQ.
69414 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69416         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69417         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69418         of the internal implementation.
69420 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69422         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69423         except include of <misc/sys/syslog.h>.
69425 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69428         function returns with a NULL context exit with zero.
69430 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69432         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69434 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69436         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69437         (run_program_cmd): This.
69438         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69439         (tst_langinfo): New variable.  Use it.
69441 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69443         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69444         floating point opcodes.
69446 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69448         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69449         variable.
69451         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69453         * sysdeps/mach/hurd/powerpc: Remove directory.
69454         * sysdeps/mach/powerpc: Likewise.
69456 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69458         * scripts/check-local-headers.sh: Ignore c++ headers.
69460 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69462         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69463         __libc_cleanup_region_start argument.
69465 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69467         [BZ #14784]
69468         [BZ #14785]
69469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69470         x * y using scaling, not as x * y + z.
69471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69473         * math/libm-test.inc (fma_test): Add more tests.
69474         (fma_test_towardzero): Likewise.
69475         (fma_test_downward): Likewise.
69476         (fma_test_upward): Likewise.
69478 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69480         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69482 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69484         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69485         New variable.
69487 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69489         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69491 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69494         Fix sort order.
69495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69496         Likewise.
69498 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69501         Fix the order of the list for glibc 2.17.
69502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69503         Likewise.
69505 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69509 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69511         [BZ #14610]
69512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69513         for low part of x being zero before using __atanl (y).
69514         * math/libm-test.inc (atan2_test): Add another test.
69516         * manual/install.texi (Configuring and compiling): Document
69517         general use of test-wrapper and test-wrapper-env.
69518         * INSTALL: Regenerated.
69520         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69521         (__fma): Do not extract and scale down low bits on after-rounding
69522         systems when result rounded to normal precision would have normal
69523         exponent.
69524         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69525         (__fmal): Do not extract and scale down low bits on after-rounding
69526         systems when result rounded to normal precision would have normal
69527         exponent.
69528         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69529         (__fmal): Do not extract and scale down low bits on after-rounding
69530         systems when result rounded to normal precision would have normal
69531         exponent.
69532         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69533         macro.
69534         (fma_test): Add more tests.
69535         (fma_test_towardzero): Likewise.
69536         (fma_test_downward): Likewise.
69537         (fma_test_upward): Likewise.
69539 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69541         * sysdeps/i386/tininess.h: Renamed to ...
69542         * sysdeps/x86/tininess.h: This.
69543         * sysdeps/x86_64/tininess.h: Removed.
69545 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69547         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69548         input.  Use $(build-program-cmd).
69549         ($(objpfx)tst-array1-static.out): Likewise.
69550         ($(objpfx)tst-array2.out): Likewise.
69551         ($(objpfx)tst-array3.out): Likewise.
69552         ($(objpfx)tst-array4.out): Likewise.
69553         ($(objpfx)tst-array5.out): Likewise.
69554         ($(objpfx)tst-array5-static.out): Likewise.
69556 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69558         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69559         if defined.
69561         * nss/nsswitch.h (nss_interface_function): Provide new
69562         macro for use with NSS functions.
69563         * grp/initgroups.c: Use new macro.
69564         * nss/getXXbyYY.c: Likewise.
69565         * nss/getXXbyYY_r.c: Likewise.
69566         * nss/getXXent.c: Likewise.
69567         * nss/getXXent_r.c: Likewise.
69568         * sysdeps/posix/getaddrinfo.c: Likewise.
69570 2012-10-30  Andreas Jaeger  <aj@suse.de>
69572         * po/ru.po: Update Russion translation from translation project.
69574 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69576         [BZ #14152]
69577         [BZ #14783]
69578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69579         result and shift together with sticky bit instead of replicating
69580         round-to-nearest rounding.
69581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69583         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69584         missing underflow exceptions.
69585         (fma_test_towardzero): Add more tests.
69586         (fma_test_downward): Likewise.
69587         (fma_test_upward): Likewise.
69589         [BZ #14047]
69590         * sysdeps/generic/tininess.h: New file.
69591         * sysdeps/i386/tininess.h: Likewise.
69592         * sysdeps/sh/tininess.h: Likewise.
69593         * sysdeps/x86_64/tininess.h: Likewise.
69594         * stdlib/tst-strtod-underflow.c: Likewise.
69595         * stdlib/tst-tininess.c: Likewise.
69596         * stdlib/strtod_l.c: Include <tininess.h>.
69597         (round_and_return): Do not set errno for exact underflow cases.
69598         Force an underflow exception when setting errno for underflow.
69599         Determine underflow based on rounding to normal precision if
69600         TININESS_AFTER_ROUNDING.
69601         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69602         ERANGE for exact underflow cases.
69603         * stdlib/Makefile (tests): Add tst-tininess and
69604         tst-strtod-underflow.
69605         ($(objpfx)tst-tininess): Use $(link-libm).
69606         ($(objpfx)tst-strtod-underflow): Likewise.
69608 2012-10-30  Andreas Jaeger  <aj@suse.de>
69610         [BZ #14767]
69611         * elf/Makefile (tests): Remove conditional for have-initfini-array
69612         since this is now always required and the variable does not exist
69613         anymore.
69614         (tests-static): Likewise.
69615         (modules-names): Likewise.
69617         * po/eo.po: Add Esperanto translation from translation project.
69619         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69620         merged with constructor/destructor.
69621         (init_array): Likewise.
69622         * elf/tst-array2dep.c (fini_array): Likewise.
69623         (init_array): Likewise.
69625 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69627         * manual/message.texi: Delete @cartouche tags.
69629 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69631         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69632         EOPNOTSUPP.
69633         * sysdeps/mach/hurd/fsync.c: Likewise.
69635         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69636         [_POSIX_REALTIME_SIGNALS]: Change condition to
69637         [_POSIX_REALTIME_SIGNALS > 0].
69639 2012-10-27  Andreas Jaeger  <aj@suse.de>
69641         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69642         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69643         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69644         [__WORDSIZE != 64]: Likewise.
69646 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69648         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69649         *  iconvdata/tst-tables.sh: Likewise.
69651 2012-10-25  David S. Miller  <davem@davemloft.net>
69653         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69654         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69655         of strtoull.
69657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69658         ifunc-impl-list.c
69659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69660         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69661         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69662         file.
69664 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69667         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69668         __getdirentries.
69670 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69671             Jim Blandy  <jimb@codesourcery.com>
69673         * scripts/cross-test-ssh.sh: New file.
69674         * manual/install.texi (Configuring and compiling): Document use of
69675         cross-test-ssh.sh.
69676         * INSTALL: Regenerated.
69678 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69680         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69681         EOPNOTSUPP.
69683 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69685         * Makeconfig (run-program-prefix): Fix comment.
69687 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69688             Jim Blandy  <jimb@codesourcery.com>
69690         * Makeconfig (test-wrapper): New variable,
69691         (test-wrapper-env): Likewise.
69692         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69693         (run-built-tests): Define to yes.
69694         (run-program-prefix): Use $(test-wrapper).
69695         (built-program-cmd): Likewise.
69696         * Rules (make-test-out): Use $(test-wrapper-env) and
69697         $(host-built-program-cmd).
69698         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69699         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69700         tst-pathopt.sh.
69701         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69702         $(test-wrapper-env) to tst-rtld-load-self.sh.
69703         ($(objpfx)order2.out): Use $(test-wrapper).
69704         ($(objpfx)tst-initorder.out): Likewise.
69705         ($(objpfx)tst-initorder2.out): Likewise.
69706         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69707         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69708         (test_wrapper_env): New variable.  Use it to run ld.so.
69709         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69710         Use it to run ld.so.
69711         (test_wrapper_env): Likewise.
69712         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69713         $(test-wrapper) to run-iconv-test.sh.
69714         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69715         (ICONV): Use $test_wrapper.
69716         * posix/Makefile ($(objpfx)globtest.out): Pass
69717         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69718         globtest.sh, not $(run-program-prefix).
69719         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69720         (test_wrapper): Likewise.
69721         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69722         set together with run_via_rtld_prefix.
69723         (run_program_prefix): Define in terms of test_wrapper and
69724         run_via_rtld_prefix.
69726 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69728         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69729         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69730         Targets removed.
69732         [BZ #14743]
69733         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69734         Declare __clock_getres, __clock_gettime, __clock_settime,
69735         __clock_nanosleep, and __clock_getcpuclockid.
69736         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69737         Remove librt_hidden_def (clock_gettime).
69738         * sysdeps/unix/clock_gettime.c: Likewise.
69739         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69741         * rt/clock_getres.c: Define __clock_getres as an alias.
69742         * sysdeps/posix/clock_getres.c: Likewise.
69743         * rt/clock_settime.c: Define __clock_settime as an alias.
69744         * sysdeps/unix/clock_settime.c: Likewise.
69745         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69746         * sysdeps/unix/clock_nanosleep.c: Likewise.
69747         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69748         * rt/clock-compat.c: New file.
69749         * rt/Makefile (librt-routines): Add clock-compat and move
69750         $(clock-routines) to ...
69751         (routines): ... here, new variable.
69752         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69753         Don't add get_clockfreq here.
69754         * rt/Versions (libc: GLIBC_2.17): New version set.
69755         Add clock_* symbols here.
69756         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69757         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69758         (GLIBC_2.17): Add clock_* symbols.
69759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69763         Likewise.
69764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69765         Likewise.
69766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69770         * NEWS: Mention the move.
69772         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69773         Use __open, __read, __close rather than their public counterparts.
69774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69775         (__get_clockfreq_via_cpuinfo): Likewise.
69776         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69777         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69779         * config.h.in (HAVE_IFUNC): New #undef.
69780         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69781         was successful.
69782         * configure: Regenerated.
69784 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69786         * configure.in: Move READELF check to start of file.
69787         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69788         libc_cv_asm_gnu_indirect_function in the process.
69789         * configure: Regenerated.
69791 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69793         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69794         send the output to /dev/null.
69795         (libc_cv_cc_with_libunwind): Likewise.
69796         (libc_cv_as_noexecstack): Likewise.
69797         * configure: Regenerate.
69799 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69801         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69803         * posix/globtest.sh (TMPDIR): Do not set.
69804         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69805         (testout): Likewise.
69807 2012-10-24  Andreas Jaeger  <aj@suse.de>
69809         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69810         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69811         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69812         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69813         posix_fadvise64, posix_fallocate64.
69815         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69816         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69817         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69818         Likewise.
69819         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69820         Likewise.
69821         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69823         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69824         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69825         <bits/fcntl-linux.h>.
69826         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69829         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69830         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69831         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69832         [__WORDSIZE != 64]: Likewise.
69834 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69836         * Makeconfig (run-built-tests): New variable.
69837         * Rules [$(cross-compiling) = yes]: Change condition to
69838         [$(run-built-tests) = no].
69839         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69840         to [$(run-built-tests) = yes].
69841         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69842         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69843         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69844         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69845         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69846         * io/Makefile [$(cross-compiling) = no]: Likewise.
69847         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69848         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69849         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69850         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69851         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69852         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69853         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69854         * string/Makefile [$(cross-compiling) = no]: Likewise.
69856         * posix/Makefile ($(objpfx)globtest.out): Pass
69857         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69858         $(rtld-installed-name).
69859         * posix/globtest.sh (elf_objpfx): Remove variable.
69860         (rtld_installed_name): Likewise.
69861         (library_path): Likewise.
69862         (run_program_prefix): New variable.  Use for running globtest
69863         binary.
69865 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69866             Joseph Myers  <joseph@codesourcery.com>
69868         * Makeconfig (host-built-program-cmd): New variable.
69869         * elf/Makefile (tst-stackguard1-ARGS): Use
69870         $(host-built-program-cmd).
69871         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69872         (tst-spawn-ARGS): Likewise.
69873         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69875 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69876             Jim Blandy  <jimb@codesourcery.com>
69878         * Makeconfig (run-via-rtld-prefix): New variable.
69879         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69880         (built-program-cmd): Likewise.
69882 2012-10-22  Andreas Jaeger  <aj@suse.de>
69884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69885         __O_RSYNC if it exists, otherwise to O_SYNC.
69887 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69888             Joseph Myers  <joseph@codesourcery.com>
69890         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69891         /dev/null.
69892         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69893         from /dev/null
69894         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69895         /dev/null.
69897 2012-10-22  Andreas Jaeger  <aj@suse.de>
69899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69900         Define always.
69901         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69904         bits/fcntl-linux.h.
69906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69907         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69910         to __O_LARGEFILE.
69911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69912         to __O_LARGEFILE.
69914 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69915             Joseph Myers  <joseph@codesourcery.com>
69917         * config.make.in (NM): New variable.
69919 2012-10-21  Andreas Jaeger  <aj@suse.de>
69921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69922         definitions and declarations that are provided by
69923         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69925 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69927         [BZ #14683]
69928         * elf/Makefile (tests-static): Add tst-leaks1-static.
69929         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69930         ($(objpfx)tst-leaks1-static): New rule.
69931         ($(objpfx)tst-leaks1-static-mem): Likewise.
69932         (tst-leaks1-static-ENV): New macro.
69933         * elf/dl-open.c (dl_open_worker): Check the main application
69934         only if SHARED is defined.
69935         * elf/tst-leaks1-static.c: New file.
69937 2012-10-20  Andreas Jaeger  <aj@suse.de>
69939         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69940         generic values for Linux.
69941         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69942         and declarations that are provided by <bits/fcntl-linux.h> and
69943         include <bits/fcntl-linux.h>.
69944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69947 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69949         * io/fcntl.h: Move include of <bits/types.h> to the top and
69950         include it unconditionally.
69952 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69954         * wcsmbs/Makefile (tests-ifunc): New variable.
69955         (tests): Add $(tests-ifunc).
69956         * wcsmbs/test-wcschr-ifunc.c: New file.
69957         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69958         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69959         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69960         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69961         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69963         * string/Makefile (tests-ifunc): New variable.
69964         (tests): Add $(tests-ifunc).
69965         * string/test-memccpy.c (TEST_NAME): New macro.
69966         * string/test-memchr.c (TEST_NAME): Likewise.
69967         * string/test-memcmp.c (TEST_NAME): Likewise.
69968         * string/test-memcpy.c (TEST_NAME): Likewise.
69969         * string/test-memmem.c (TEST_NAME): Likewise.
69970         * string/test-memmove.c (TEST_NAME): Likewise.
69971         * string/test-memset.c (TEST_NAME): Likewise.
69972         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69973         * string/test-stpcpy.c (TEST_NAME): Likewise.
69974         * string/test-stpncpy.c (TEST_NAME): Likewise.
69975         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69976         * string/test-strcasestr.c (TEST_NAME): Likewise.
69977         * string/test-strcat.c (TEST_NAME): Likewise.
69978         * string/test-strchr.c (TEST_NAME): Likewise.
69979         * string/test-strcmp.c(TEST_NAME): Likewise.
69980         * string/test-strcpy.c (TEST_NAME): Likewise.
69981         * string/test-strcspn.c (TEST_NAME): Likewise.
69982         * string/test-strlen.c (TEST_NAME): Likewise.
69983         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69984         * string/test-strncmp.c (TEST_NAME): Likewise.
69985         * string/test-strncpy.c (TEST_NAME): Likewise.
69986         * string/test-strnlen.c (TEST_NAME): Likewise.
69987         * string/test-strpbrk.c (TEST_NAME): Likewise.
69988         * string/test-strrchr.c (TEST_NAME): Likewise.
69989         * string/test-strspn.c (TEST_NAME): Likewise.
69990         * string/test-strstr.c (TEST_NAME): Likewise.
69991         * string/test-bcopy-ifunc.c: New file.
69992         * string/test-bzero-ifunc.c: Likewise.
69993         * string/test-memccpy-ifunc.c: Likewise.
69994         * string/test-memchr-ifunc.c: Likewise.
69995         * string/test-memcmp-ifunc.c: Likewise.
69996         * string/test-memcpy-ifunc.c: Likewise.
69997         * string/test-memmem-ifunc.c: Likewise.
69998         * string/test-memmove-ifunc.c: Likewise.
69999         * string/test-mempcpy-ifunc.c: Likewise.
70000         * string/test-memset-ifunc.c: Likewise.
70001         * string/test-rawmemchr-ifunc.c: Likewise.
70002         * string/test-stpcpy-ifunc.c: Likewise.
70003         * string/test-stpncpy-ifunc.c: Likewise.
70004         * string/test-strcasecmp-ifunc.c: Likewise.
70005         * string/test-strcasestr-ifunc.c: Likewise.
70006         * string/test-strcat-ifunc.c: Likewise.
70007         * string/test-strchr-ifunc.c: Likewise.
70008         * string/test-strchrnul-ifunc.c: Likewise.
70009         * string/test-strcmp-ifunc.c: Likewise.
70010         * string/test-strcpy-ifunc.c: Likewise.
70011         * string/test-strcspn-ifunc.c: Likewise.
70012         * string/test-strlen-ifunc.c: Likewise.
70013         * string/test-strncasecmp-ifunc.c: Likewise.
70014         * string/test-strncat-ifunc.c: Likewise.
70015         * string/test-strncmp-ifunc.c: Likewise.
70016         * string/test-strncpy-ifunc.c: Likewise.
70017         * string/test-strnlen-ifunc.c: Likewise.
70018         * string/test-strpbrk-ifunc.c: Likewise.
70019         * string/test-strrchr-ifunc.c: Likewise.
70020         * string/test-strspn-ifunc.c: Likewise.
70021         * string/test-strstr-ifunc.c: Likewise.
70023         * debug/Makefile (tests-ifunc): New variable.
70024         (tests): Add $(tests-ifunc).
70025         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70026         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70027         * debug/test-stpcpy_chk-ifunc.c: New file.
70028         * debug/test-strcpy_chk-ifunc.c: Likewise.
70030 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70032         [BZ #13601]
70033         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70034         header is not read in.
70036 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70038         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70039         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70040         directly.  Pass built executable to script as
70041         $(built-program-cmd).
70042         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70043         $testprogram without using LD_LIBRARY_PATH and $ldso.
70045         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70046         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70047         $(rtld-installed-name).
70048         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70049         (rtld_installed_name): Likewise.
70050         (library_path): Likewise.
70051         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70052         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70053         $(run-program-prefix) to tst-tables.sh.
70054         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70055         it to run tst-table-from and tst-table-to.
70056         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70057         Pass it to tst-table.sh.
70058         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70059         $(run-program-prefix) to tst-gettext.sh.
70060         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70061         tst-translit.sh.
70062         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70063         tst-gettext2.sh.
70064         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70065         to run tst-gettext.
70066         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70067         to run tst-gettext2.
70068         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70069         to run tst-translit.
70070         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70071         $(run-program-prefix) to tst-mtrace.sh.
70072         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70073         to run tst-mtrace.
70074         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70075         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70076         $(rtld-installed-name).
70077         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70078         (rtld_installed_name): Likewise.
70079         (run_program_prefix): New variable.  Use it to run wordexp-test.
70081         * Makeconfig (ARCH): Remove all definitions.
70082         (machine): Likewise.
70083         [ARCH]: Remove conditional code.
70084         [!objdir]: Give error.
70085         [!objdir] (objpfx): Remove.
70086         [!objdir] (common-objpfx): Likewise.
70087         [!objdir] (common-objdir): Likewise.
70088         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70089         AC_CONFIG_FILES call.
70090         * configure: Regenerated.
70092         [BZ #13888]
70093         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70094         or TMPDIR.
70095         (testout): Likewise.
70097         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70098         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70099         $(rtld-installed-name).
70100         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70101         (rtld_installed_name): Likewise.
70102         (runit): Remove function.
70103         (run_getconf): New variable,  Use it for running getconf binary.
70105 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70107         [BZ #14716]
70108         * string/test-memmem.c (check_result): New function.
70109         (do_one_test): Use it.
70110         (check1): New function.
70111         (test_main): Use it.
70113 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70115         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70117 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70119         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70120         (_G_LSEEK64): Likewise.
70121         (_G_MMAP64): Likewise.
70122         (_G_FSTAT64): Likewise.
70123         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70124         (_G_LSEEK64): Likewise.
70125         (_G_MMAP64): Likewise.
70126         (_G_FSTAT64): Likewise.
70127         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70128         unconditional.  Call __mmap64 directly.
70129         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70130         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70131         __lseek64 directly.
70132         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70133         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70134         __mmap64 directly.
70135         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70136         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70137         __lseek64 directly.
70138         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70139         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70140         __lseek64 directly.
70141         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70142         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70143         __lseek64 directly.
70144         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70145         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70146         __fxstat64 directly.
70147         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70148         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70149         unconditional.
70150         (freopen64) [!_G_OPEN64]: Remove conditional code.
70151         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70152         unconditional.
70153         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70154         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70155         unconditional.
70156         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70157         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70158         unconditional.
70159         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70160         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70161         unconditional.
70162         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70163         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70164         unconditional.
70165         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70166         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70167         unconditional.
70168         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70169         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70170         unconditional.
70171         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70173 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70175         [BZ #12140]
70176         * manual/memory.texi (Malloc Tunable Parameters): Add note
70177         about free list pointers overwriting some perturb bytes.
70178         Wording suggested by Roland McGrath.
70180 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70182         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70183         (lgamma_test): Likewise.
70184         (tgamma_test): Likewise.
70186 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70188         [BZ #14700]
70189         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70190         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70192 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70194         * NEWS: Mention BZ #14716.
70195         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70196         when removing AVAILABLE1_USES_J macro.
70198 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70200         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70201         (__bswap_64): __uint64_t for unsigned 64-bit int.
70203 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70205         * include/string.h (memmem): Declare libc hidden alias.
70206         * string/memmem.c (memmem): Define libc hidden alias.
70207         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70208         __read, __close instead of open, read, close.
70210 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70213         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70214         global and hidden.
70215         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70216         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70217         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70218         Likewise.
70219         (__rawmemchr_sse2): Likewise.
70220         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70221         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70222         (__strchr_sse2): Likewise.
70223         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70224         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70225         (__strcasecmp_sse2): Likewise.
70226         (__strncasecmp_sse2): Likewise.
70227         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70228         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70229         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70230         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70231         (__strrchr_sse2): Likewise.
70232         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70233         ifunc-impl-list.c.
70234         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70236         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70237         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70238         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70239         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70240         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70241         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70242         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70243         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70244         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70245         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70246         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70247         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70248         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70249         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70250         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70251         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70252         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70253         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70254         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70255         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70256         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70257         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70258         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70259         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70260         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70261         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70262         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70263         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70265         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70266         global and hidden.
70267         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70268         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70269         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70270         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70271         Likewise.
70272         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70273         Likewise.
70274         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70275         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70276         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70277         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70278         ifunc-impl-list.c.
70279         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70280         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70281         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70282         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70283         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70284         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70285         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70286         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70287         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70288         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70289         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70290         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70291         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70292         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70293         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70294         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70295         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70296         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70297         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70298         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70299         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70300         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70301         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70302         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70303         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70304         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70305         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70306         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70307         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70308         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70309         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70310         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70311         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70312         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70313         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70314         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70315         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70316         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70317         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70318         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70319         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70321         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70322         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70323         * include/ifunc-impl-list.h: New file.
70324         * misc/ifunc-impl-list.c: Likewise.
70325         * misc/Makefile (routines): Add ifunc-impl-list.
70326         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70327         * string/test-string.h: Include <ifunc-impl-list.h>.
70328         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70329         TEST_NAME]: New variables.
70330         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70331         are defined.
70332         (test_init): Call __libc_ifunc_impl_list to initialize
70333         func_list if TEST_IFUNC and TEST_NAME are defined.
70335         * string/Makefile (strop-tests): Add bcopy and bzero.
70336         * string/test-bcopy.c: New file.
70337         * string/test-bzero.c: Likewise.
70338         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70339         defined.
70340         * string/test-memset.c: Support bzero test if TEST_BZERO is
70341         defined.
70342         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70343         __libc_memmove.
70344         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70345         __libc_memset.
70346         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70347         of memset.
70349 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70351         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70352         * configure: Regenerated.
70354         * Makeconfig (+link-static-before-libc): Don't include
70355         $(link-static-libc).
70357         * libio/libio.h (_IO_pos_t): Remove.
70359 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70361         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70362         McGrath.
70364 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70366         * crypt/crypt-entry.c: Include fips-private.h.
70367         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70368         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70369         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70370         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70374         * crypt/crypt-private.h: Include stdbool.h.
70375         (_ufc_setup_salt_r): Return bool.
70376         * crypt/crypt-entry.c: Include errno.h.
70377         (__crypt_r): Return NULL with EINVAL for bad salt.
70378         * crypt/crypt_util.c (bad_for_salt): New.
70379         (_ufc_setup_salt_r): Check that salt is long enough and within
70380         the specified alphabet.
70381         * crypt/badsalttest.c: New file.
70382         * crypt/Makefile (tests): Add it.
70383         ($(objpfx)badsalttest): New.
70385 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70387         * NEWS: Add entry for BZ #14602.
70389 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70391         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70392         type-generic.
70393         * math/libm-test.inc: Update comment listing what functions and
70394         macros are tested.
70395         (isgreater_test): New function.
70396         (isgreaterequal_test): Likewise.
70397         (isless_test): Likewise.
70398         (islessequal_test): Likewise.
70399         (islessgreater_test): Likewise.
70400         (isunordered_test): Likewise.
70401         (main): Call the new functions.
70403 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70405         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70406         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70407         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70408         * sysdeps/i386/configure: Regenerated.
70409         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70410         * sysdeps/mach/configure: Regenerated.
70411         * sysdeps/mach/hurd/configure: Regenerated.
70412         * sysdeps/powerpc/configure: Regenerated.
70413         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70414         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70415         * sysdeps/s390/s390-32/configure: Regenerated.
70416         * sysdeps/s390/s390-64/configure: Regenerated.
70417         * sysdeps/sh/configure: Regenerated.
70418         * sysdeps/sparc/configure: Regenerated.
70419         * sysdeps/unix/sysv/linux/configure: Regenerated.
70420         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70421         * sysdeps/x86_64/configure: Regenerated.
70423         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70424         defined.  Don't check if MAP is NULL.
70426 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70428         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70429         (_G_stat64): Likewise.
70430         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70431         (_G_stat64): Likewise.
70432         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70433         instead of struct _G_stat64.
70434         * libio/fileops.c (mmap_remap_check): Likewise.
70435         (decide_maybe_mmap): Likewise.
70436         (_IO_new_file_seekoff): Likewise.
70437         (_IO_file_stat): Likewise.
70438         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70439         _G_off64_t.
70440         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70441         instead of struct _G_stat64.
70442         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70444 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70446         [BZ #14602]
70447         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70448         Replace with ...
70449         (CHECK_EOL): New macro.
70450         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70451         CHECK_EOL.
70452         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70453         Replace with CHECK_EOL.
70454         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70455         Replace with CHECK_EOL.
70457 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70459         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70460         type-generic.
70461         * math/libm-test.inc: Update comment listing what functions and
70462         macros are tested.
70463         (finite_test): New function.
70464         (isinf_test): Likewise.
70465         (isnan_test): Likewise.
70466         (fpclassify_test): Test subnormal input.
70467         (isfinite_test): Likewise.
70468         (isnormal_test): Likewise.
70469         (main): Call the new functions.
70471 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70473         [BZ #14660]
70474         * Makerules (%.dynsym): Force C locale when running
70475         $(OBJDUMP) --dynamic-syms.
70477 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70479         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70480         <stdint.h>.
70482 2012-10-06  David S. Miller  <davem@davemloft.net>
70484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70485         upper 32-bits of the length value in %o2 since we use branch-on-register
70486         tests which consider the entire 64-bit register.
70488 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70490         * string/test-strstr.c (check2): Add a test for page boundary.
70492 2012-10-05  David S. Miller  <davem@davemloft.net>
70494         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70495         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70496         file.
70497         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70498         sysdep_routines.
70499         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70500         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70501         and bzero when HWCAP_SPARC_CRYPTO is present.
70503 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70505         [BZ #14602]
70506         * string/test-strstr.c (check2): New function.
70507         (test_main): Call check2.
70509         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70510         and bug-strchr1.
70511         * string/bug-strcasestr1.c (do_test): Moved to ...
70512         * string/test-strcasestr.c (check1): Here.  New function.
70513         (do_one_test): Break out result checking code into ...
70514         (check_result): This.  New function.
70515         (do_one_test): Call check_result.
70516         (test_main): Call check1.
70517         * string/bug-strchr1.c (do_test): Moved to ...
70518         * string/test-strchr.c (check1): Here.  New function.
70519         (do_one_test): Break out result checking code into ...
70520         (check_result): This.  New function.
70521         (do_one_test): Call check_result.
70522         (test_main): Call check1.
70523         * string/bug-strstr1.c (main): Moved to ...
70524         * string/test-strstr.c (check1): Here.  New function.
70525         (do_one_test): Break out result checking code into ...
70526         (check_result): This.  New function.
70527         (do_one_test): Call check_result.
70528         (test_main): Call check1.
70529         * string/bug-strcasestr1.c: Removed.
70530         * string/bug-strchr1.c: Likewise.
70531         * string/bug-strstr1.c: Likewise.
70533         * elf/Makefile (dl-routines): Add hwcaps.
70534         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70535         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70536         (_dl_important_hwcaps): Moved to ...
70537         * elf/dl-hwcaps.c: Here.  New file.
70538         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70540         [BZ #14557]
70541         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70542         if IS_IN_rtld isn't defined.
70544         * elf/dl-support.c (_dl_sysinfo_map): New.
70545         Include "get-dynamic-info.h" and "setup-vdso.h".
70546         (_dl_non_dynamic_init): Call setup_vdso.
70547         * elf/dynamic-link.h: Don't include <assert.h>.
70548         (elf_get_dynamic_info): Moved to ...
70549         * elf/get-dynamic-info.h: Here.  New file.
70550         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70551         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70552         * elf/setup-vdso.h: Here.  New file.
70553         * elf/rtld.c: Include "setup-vdso.h".
70554         (dl_main): Call setup_vdso.
70556 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70558         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70559         creal in comment listing functions tested.  List finite, isinf,
70560         isnan, isless, islessequal, isgreater, isgreaterequal,
70561         islessgreater, isunordered, lgamma_r and pow10 as functions and
70562         macros not tested.  Mention which functions not tested are aliases
70563         for other functions.  Fix typo.  Note that signs of NaNs are not
70564         tested.
70566         * scripts/config.guess: Update from config.git.
70567         * scripts/config.sub: Likewise.
70569 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70571         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70572         * misc/madvise.c (madvise): Renamed to __madvise.
70573         Make madvise a weak alias.
70574         * include/sys/mman.h: Declare __madvise.
70575         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70576         * sysdeps/unix/syscalls.list
70577         (madvise): Make __madvise the strong name, and madvise a weak alias.
70578         * sysdeps/unix/sysv/linux/syscalls.list
70579         (madvise, mmap): Remove redundant entries.
70580         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70581         * malloc/malloc.c (mtrim): Likewise.
70582         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70584 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70586         * sysdeps/mach/hurd/dl-cache.c: File removed.
70587         * config.h.in (USE_LDCONFIG): New #undef.
70588         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70589         * configure: Regenerated.
70590         * elf/Makefile (dl-routines): Add dl-cache only under
70591         [$(use-ldconfig) = yes].
70592         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70593         cache on [USE_LDCONFIG].
70594         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70595         [USE_LDCONFIG].
70596         * elf/rtld.c (dl_main): Likewise.
70598 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70600         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70601         _SC_LEVEL4_CACHE_LINESIZE.
70603 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70605         * sysdeps/unix/bsd/confstr.h: File removed.
70607 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70609         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70610         sys/sdt-config.h.
70612 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70614         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70615         Make 'mapoff' field ElfW(Off) rather than off_t.
70617 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70619         * nscd/Makefile: Remove nscd-cflags and all its users.
70620         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70621         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70623         [BZ #10631]
70624         * malloc.c (malloc_printerr): Clarify error message.
70626 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70628         [BZ #14648]
70629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70630         Set bit_FMA_Usable if FMA is supported.
70631         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70632         macro.
70633         (bit_FMA4_Usable): Updated.
70634         (index_FMA_Usable): New macro.
70635         (CPUID_FMA): Likewise.
70636         (HAS_FMA): Defined with bit_FMA_Usable.
70638 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70640         * bits/types.h (__swblk_t): Type removed.
70641         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70642         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70644         (__SWBLK_T_TYPE): Likewise.
70645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70646         (__SWBLK_T_TYPE): Likewise.
70647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70648         (__SWBLK_T_TYPE): Likewise.
70649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70650         (__SWBLK_T_TYPE): Likewise.
70652 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70653             Honza Horak <hhorak@redhat.com>
70655         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70656         (xdr_mapname): Use YPMAXMAP as maxsize.
70657         (xdr_peername): Use YPMAXPEER as maxsize.
70658         (xdr_keydat): Use YPAXRECORD as maxsize.
70659         (xdr_valdat): Use YPMAXRECORD as maxsize.
70661 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70663         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70665         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70666         * csu/init-first.c: ... here.
70667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70668         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70669         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70670         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70671         * sysdeps/i386/init-first.c: File removed.
70672         * sysdeps/sh/init-first.c: File removed.
70674 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70676         [BZ #14645]
70677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70678         if x * y might underflow to zero and z is zero.
70679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70681         * math/libm-test.inc (min_subnorm_value): New variable.
70682         (fma_test): Add more tests.
70683         (fma_test_towardzero): Likewise.
70684         (fma_test_downward): Likewise.
70685         (fma_test_upward): Likewise.
70686         (initialize): Set min_subnorm_value.
70688 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70690         [BZ #14638]
70691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70692         0 + 0.
70693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70694         mode for addition resulting in exact zero.
70695         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70697         exact 0 + 0.
70698         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70700         * math/libm-test.inc (fma_test): Add more tests.
70701         (fma_test_towardzero): New function.
70702         (fma_test_downward): Likewise.
70703         (fma_test_upward): Likewise.
70704         (main): Call the new functions.
70706 2012-09-28  David S. Miller  <davem@davemloft.net>
70708         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70710 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70712         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70713         instead of SIGALRM.
70715         * sysdeps/gnu/_G_config.h: Moved to ...
70716         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70717         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70718         * sysdeps/generic/_G_config.h: ... here.
70720         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70722         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70724         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70725         Conditionalize target on [libnss_test1.so-version].
70727         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70729         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70730         (elfobjdir): Move out of conditionals.
70732         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70733         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70734         (__nss_lookup_function): Conditionalize label remove_from_tree on
70735         [!DO_STATIC_NSS || SHARED], matching its only use.
70737 2012-09-28  David S. Miller  <davem@davemloft.net>
70739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70740         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70741         file.
70742         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70743         sysdep_routines.
70744         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70746         when HWCAP_SPARC_CRYPTO is present.
70748 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70750         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70752 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70754         [BZ #6530]
70755         * stdio-common/vfprintf.c (process_string_arg): Revert
70756         2000-07-22 change.
70758 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70760         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70761         for testcase.
70762         * stdio-common/tst-sprintf.c: Include <locale.h>
70763         (main): Test sprintf's handling of incomplete multibyte
70764         characters.
70766 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70768         * elf/dl-runtime.c (VERSYMIDX): Removed.
70769         * elf/dl-version.c (VERSYMIDX): Likewise.
70770         * elf/do-rel.h (VERSYMIDX): Likewise.
70771         (VALIDX): Likewise.
70772         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70773         * elf/rtld.c (VALIDX): Likewise.
70774         (ADDRIDX): Likewise.
70775         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70776         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70777         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70778         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70779         (VALIDX): Likewise.
70780         (ADDRIDX): Likewise.
70782 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70784         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70786 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70788         [BZ #11438]
70789         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70790         to global scope.
70791         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70792         addresses are in the same scope as 192.0.2/24.
70793         * posix/gai.conf: Document new scope table defaults.
70795 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70797         [BZ #5298]
70798         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70799         for ftell.  Compute offsets from write pointers instead.
70800         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70802 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70804         [BZ #14543]
70805         * libio/Makefile (tests): New test case tst-fseek.
70806         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70807         combination works in wide mode.
70808         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70809         state when the external buffer state changes.
70811 2012-09-27  David S. Miller  <davem@davemloft.net>
70813         [BZ #14376]
70814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70815         pass reloc->r_addend in as the 'high' argument to
70816         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70820 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70822         * rt/tst-aio2.c: Include <pthread.h>.
70823         * rt/tst-aio3.c: Likewise.
70825 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70827         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70829 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70831         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70832         contents on [SHARED].
70834 2012-09-26  Marek Polacek  <polacek@redhat.com>
70836         [BZ #14530]
70837         [BZ #13741]
70838         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70839         for C++ and GCC <4.3 as well as for non GCC compilers.
70841 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70845 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70847         * Makefile.in (all, install): Declare with .PHONY.
70848         Reported by Michael Hope <michael.hope@linaro.org>.
70850 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70852         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70853         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70854         system header.
70855         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70856         Likewise.
70857         (sydep_routines): Add the new and the internal functions.
70858         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70859         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70861         (GLIBC_2.17): Add the new function.
70862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70863         (GLIBC_2.17): Likewise.
70864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70865         (GLIBC_2.17): Likewise.
70866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70867         (GLIBC_2.17): Likewise.
70868         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70870 2012-09-25  Alan Modra  <amodra@gmail.com>
70872         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70873         Add release barrier before setting once_control to say
70874         initialisation is done.  Add hints on lwarx.  Use macro in
70875         place of isync.
70876         (clear_once_control): Add release barrier.
70878 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70880         [BZ #13629]
70881         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70882         specially.
70883         * math/s_clog10.c (__clog10): Likewise.
70884         * math/s_clog10f.c (__clog10f): Likewise.
70885         * math/s_clog10l.c (__clog10l): Likewise.
70886         * math/s_clogf.c (__clogf): Likewise.
70887         * math/s_clogl.c (__clogl): Likewise.
70888         * math/Makefile (libm-calls): Add x2y2m1.
70889         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70890         (__x2y2m1): Likewise.
70891         (__x2y2m1l): Likewise.
70892         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70893         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70894         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70895         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70896         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70897         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70898         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70899         * sysdeps/i386/fpu/libm-test-ulps: Update.
70900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70902         [BZ #14621]
70903         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70904         int as type of variable DEPTH.
70905         (glob): Use size_t instead of int as type of variables NEWCOUNT
70906         and OLD_PATHC.
70908 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70910         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70911         Add s_sincosf-sse2.
70912         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70913         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70914         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70915         macros for using routine as __sincosf_ia32.
70916         Use macro for function declaration and weak_alias.
70917         * sysdeps/i386/fpu/libm-test-ulps: Update.
70919         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70922         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70923         subnormal argument.
70924         * math/s_cexpf.c (__cexpf): Likewise.
70925         * math/s_csinf.c (__csinf): Likewise.
70926         * math/s_csinhf.c (__csinhf): Likewise.
70927         * math/s_ctanf.c (__ctanf): Likewise.
70928         * math/s_ctanhf.c (__ctanhf): Likewise.
70929         * math/s_ccosh.c (__ccoshf): Likewise.
70930         * math/s_cexp.c (__cexpl): Likewise.
70931         * math/s_csin.c (__csin): Likewise.
70932         * math/s_csinh.c (__csinh): Likewise.
70933         * math/s_ctan.c (__ctan): Likewise.
70934         * math/s_ctanh.c (ctanh): Likewise.
70935         * math/s_ccoshl.c (__ccoshl): Likewise.
70936         * math/s_cexpl.c (__cexpl): Likewise.
70937         * math/s_csinl.c (__csinl): Likewise.
70938         * math/s_csinhl.c (__csinhl): Likewise.
70939         * math/s_ctanl.c (__ctanl): Likewise.
70940         * math/s_ctanhl.c (__ctanhl): Likewise.
70942 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70944         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70945         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70946         (_IO_off_t): Define to __off_t, not _G_off_t.
70947         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70948         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70949         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70950         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70951         type of __dummy and __dummy2 fields.
70952         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70953         (_G_ssize_t): Likewise.
70954         (_G_off_t): Likewise.
70955         (_G_pid_t): Likewise.
70956         (_G_uid_t): Likewise.
70957         (_G_wchar_t): Likewise.
70958         (_G_wint_t): Likewise.
70959         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70960         (_G_ssize_t): Likewise.
70961         (_G_off_t): Likewise.
70962         (_G_pid_t): Likewise.
70963         (_G_uid_t): Likewise.
70964         (_G_wchar_t): Likewise.
70965         (_G_wint_t): Likewise.
70966         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70967         (_G_ssize_t): Likewise.
70968         (_G_off_t): Likewise.
70969         (_G_pid_t): Likewise.
70970         (_G_uid_t): Likewise.
70971         (_G_wchar_t): Likewise.
70972         (_G_wint_t): Likewise.
70974 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70976         * malloc/arena.c: Include malloc-sysdep.h.
70977         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70978         is sufficient to shrink the heap or an unmap is needed.
70979         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70980         new function check_may_shrink_heap.
70981         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70982         new function check_may_shrink_heap.
70984 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70986         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70987         comments.
70989 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70991         * catgets/test-gencat.sh: Add "set -e".
70992         * elf/tst-pathopt.sh: Likewise.
70993         * grp/tst_fgetgrent.sh: Likewise.
70994         * iconvdata/run-iconv-test.sh: Likewise.
70995         * intl/tst-gettext.sh: Likewise.
70996         * intl/tst-gettext2.sh: Likewise.
70997         * intl/tst-gettext4.sh: Likewise.
70998         * intl/tst-gettext6.sh: Likewise.
70999         * intl/tst-translit.sh: Likewise.
71000         * io/ftwtest-sh: Likewise.
71001         * libio/test-freopen.sh: Likewise.
71002         * malloc/tst-mtrace.sh: Likewise.
71003         * posix/globtest.sh: Likewise.
71004         * posix/tst-getconf.sh: Likewise.
71005         * posix/wordexp-tst.sh: Likewise.
71006         * stdio-common/tst-printf.sh: Likewise.
71007         * stdio-common/tst-unbputc.sh: Likewise.
71008         * stdlib/tst-fmtmsg.sh: Likewise.
71009         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71010         * catgets/Makefile: Do not specify -e option when running
71011         testsuite shell scripts.
71012         * elf/Makefile: Likewise.
71013         * grp/Makefile: Likewise.
71014         * iconvdata/Makefile: Likewise.
71015         * intl/Makefile: Likewise.
71016         * io/Makefile: Likewise.
71017         * libio/Makefile: Likewise.
71018         * malloc/Makefile: Likewise.
71019         * posix/Makefile: Likewise.
71020         * stdio-common/Makefile: Likewise.
71021         * stdlib/Makefile: Likewise.
71022         * sysdeps/x86_64/Makefile: Likewise.
71024         * io/ftwtest-sh: Add copyright header.
71025         * posix/globtest.sh: Likewise.
71026         * posix/tst-getconf.sh: Likewise.
71027         * posix/wordexp-tst.sh: Likewise.
71028         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71030 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71032         [BZ #13679]
71033         * Makeconfig (+link): Defined as $(+link-static) if
71034         $(build-shared) isn't yes.
71035         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71036         isn't yes.
71037         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71039         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71041         [BZ #14562]
71042         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71043         new chunk size with MALLOC_ALIGN_MASK.
71045 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71047         [BZ #5044]
71048         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71049         <rounding-mode.h>.
71050         (__printf_fphex): Determine rounding using get_rounding_mode and
71051         round_away.
71052         * stdio-common/tst-printf-round.c (struct hex_test): New
71053         structure.
71054         (hex_tests): New variable.
71055         (test_hex_in_one_mode): New function.
71056         (do_test): Also run tests for hex float output.
71058 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71060         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71061         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71062         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71063         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71064         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71065         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71066         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71067         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71069 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71071         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71072         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71073         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71074         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71076 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71078         [BZ #14579]
71079         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71080         mode only.
71081         * elf/tst-rtld-load-self.sh: New test.
71082         * elf/Makefile: Run it.
71084 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71086         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71087         (tst-writev-ENV): Remove.
71088         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71090 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71092         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71094 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71096         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71097         unconditional.
71098         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71099         Likewise.
71100         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71101         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71102         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71103         Likewise.
71105 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71107         [BZ #14587]
71108         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71109         * config.make.in (have-cpp-asm-debuginfo): Removed.
71110         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71111         * configure: Regenerated.
71113 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71115         [BZ #5044]
71116         * stdio-common/printf_fp.c: Include <stdbool.h> and
71117         <rounding-mode.h>.
71118         (___printf_fp): Determine rounding using get_rounding_mode and
71119         round_away.
71120         * stdio-common/tst-printf-round.c: New file.
71121         * stdio-common/Makefile (tests): Add tst-printf-round.
71122         (link-libm): New variable.
71123         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71125 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71127         [BZ #14576]
71128         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71129         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71130         Likewise.
71131         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71132         Likewise.
71134 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71136         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71137         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71138         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71139         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71141 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71143         [BZ #14518]
71144         * include/rounding-mode.h: New file.
71145         * sysdeps/generic/get-rounding-mode.h: Likewise.
71146         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71147         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71148         (MAX_VALUE): New macro.
71149         (MIN_VALUE): Likewise.
71150         (overflow_value): New function.
71151         (underflow_value): Likewise.
71152         (round_and_return): Use overflow_value and underflow_value to
71153         determine return values in overflow and underflow cases.  Use
71154         round_away to determine rounding depending on rounding mode.
71155         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71156         determine return values in overflow and underflow cases.
71157         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71158         (struct test_results): New structure.
71159         (struct test): Use struct test_results to store expected results
71160         for all rounding modes.
71161         (TEST): Include expected results for all rounding modes.
71162         (test_in_one_mode): New function.
71163         (do_test): Use test_in_one_mode to compute and check results.
71164         Check results for all rounding modes.
71165         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71166         $(link-libm).
71168 2012-12-09  Allan McRae  <allan@archlinux.org>
71170         * sysdeps/i386/fpu/libm-test-ulps: Update
71172 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71174         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71175         (_G_int32_t): Likewise.
71176         (_G_uint16_t): Likewise.
71177         (_G_uint32_t): Likewise.
71178         (_G_HAVE_BOOL): Likewise.
71179         (_G_HAVE_ATEXIT): Likewise.
71180         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71181         (_G_HAVE_IO_FILE_OPEN): Likewise.
71182         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71183         (_G_int32_t): Likewise.
71184         (_G_uint16_t): Likewise.
71185         (_G_uint32_t): Likewise.
71186         (_G_HAVE_BOOL): Likewise.
71187         (_G_HAVE_ATEXIT): Likewise.
71188         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71189         (_G_HAVE_IO_FILE_OPEN): Likewise.
71190         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71191         (_G_int32_t): Likewise.
71192         (_G_uint16_t): Likewise.
71193         (_G_uint32_t): Likewise.
71194         (_G_HAVE_BOOL): Likewise.
71195         (_G_HAVE_ATEXIT): Likewise.
71196         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71197         (_G_HAVE_IO_FILE_OPEN): Likewise.
71199 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71201         * csu/libc-tls.c: Update copyright years.
71203 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71205         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71206         [!_G_USING_THUNKS]: Remove conditional code.
71207         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71208         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71210         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71211         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71212         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71213         (_G_VTABLE_LABEL_PREFIX): Likewise.
71214         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71215         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71216         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71217         (_G_VTABLE_LABEL_PREFIX): Likewise.
71218         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71219         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71221         (_G_VTABLE_LABEL_PREFIX): Likewise.
71222         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71224 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71226         * libio/Makefile: Include ../Makeconfig before tests.
71227         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71228         only if $(build-shared) is yes.
71230         * iconv/gconv_db.c: Update copyright years.
71232 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71235         unwind info if defined PIC. Fix special cases description.
71236         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71238         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71239         DP_HI_MASK entry.
71240         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71242 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71244         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71246         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71247         is NULL.
71249         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71250         (LDLIBS-tst-chk4): This.
71251         (LDFLAGS-tst-chk5): Renamed to ...
71252         (LDLIBS-tst-chk5): This.
71253         (LDFLAGS-tst-chk6): Renamed to ...
71254         (LDLIBS-tst-chk6): This.
71255         (LDFLAGS-tst-lfschk4): Renamed to ...
71256         (LDLIBS-tst-lfschk4): This.
71257         (LDFLAGS-tst-lfschk5): Renamed to ...
71258         (LDLIBS-tst-lfschk5): This.
71259         (LDFLAGS-tst-lfschk6): Renamed to ...
71260         (LDLIBS-tst-lfschk6): This.
71262         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71263         on $(common-objpfx)soversions.mk.
71265 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71267         [BZ #10014]
71268         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71269         example host name.
71271 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71273         * malloc/arena.c (arena_get_retry): New function that gets
71274         another arena for the caller to try its request on.
71275         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71276         current arena cannot fulfill the request.
71277         (__libc_memalign): Likewise.
71278         (__libc_memalign): Likewise.
71279         (__libc_pvalloc): Likewise.
71280         (__libc_calloc): Likewise.
71282 2012-09-05  John Tobey  <john.tobey@gmail.com>
71284         [BZ #13542]
71285         * manual/arith.texi (Operations on Complex): Fix description
71286         of carg branch cut.
71288 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71290         [BZ #10014]
71291         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71292         host name.
71294         [BZ #10038]
71295         * manual/memory.texi (Memory): Make order of menu items match
71296         order of sections.
71298 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71300         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71301         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71302         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71306         * csu/libc-tls.c (static_dtv): Renamed to ...
71307         (_dl_static_dtv): This.  Make it global.
71308         (_dl_initial_dtv): Removed.
71309         (__libc_setup_tls): Updated.
71310         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71311         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71312         DL_INITIAL_DTV.
71314 2012-09-06  Petr Machata  <pmachata@redhat.com>
71316         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71317         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71318         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71319         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71321 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71323         [BZ #14545]
71324         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71325         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71326         freeing dtv[-1].
71328 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71330         [BZ #14544]
71331         * Makeconfig (link-static-before-libc): Replace $(+prector)
71332         with $(+prectorT).
71333         (link-static-after-libc): Replace $(+postctor) with
71334         $(+postctorT).
71335         (link-bounded): Replace $(+prector)/$(+postctor) with
71336         $(+prectorT)/$(+postctorT).
71337         (+prectorT): New macro.
71338         (+postctorT): Likewise.
71340 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71342         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71343         (round_str): Handle values above the maximum for IBM long double
71344         as inexact.
71345         * stdlib/tst-strtod-round.c (tests): Regenerated.
71347 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71349         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71350         assembler flag.
71351         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71352         zarch_nohighgprs around the zarch optimized routines.
71353         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71354         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71355         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71356         for zarch.
71358 2012-09-05  David S. Miller  <davem@davemloft.net>
71360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71362         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71363         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71364         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71365         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71366         entries.
71368 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71370         * malloc/arena.c: Fold copyright years.
71371         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71373 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71375         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71379         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71383         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71384         change internal state upon failure.
71386 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71388         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71389         * malloc/memusage.c (mmap): Likewise.
71390         (mmap64, mremap): Likewise.  Adjust name in comment.
71392 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71394         * libio/fileops.c: Fix typos in comments.
71395         * libio/oldfileops.c: Likewise.
71396         * libio/wfileops.c: Likewise.
71398 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71400         [BZ #1349]
71401         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71402         (tst-malloc-usable-ENV): Set environment for test case.
71403         * malloc/hooks.c (malloc_check_get_size): New function to get
71404         requested size.
71405         * malloc/malloc.c (musable): Use malloc_check_get_size.
71406         * malloc/tst-malloc-usable.c: New test case.
71408 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71410         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71412 2012-09-05  Allan McRae  <allan@archlinux.org>
71414         [BZ #13966]
71415         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71416         determine header location.
71417         * configure: Regenerated.
71419 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71421         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71422         float format.
71423         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71424         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71425         format.
71426         (test): Regenerate.
71428 2012-09-04  David S. Miller  <davem@davemloft.net>
71430         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71431         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71432         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71434 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71436         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71437         failures.
71439         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71441 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71443         [BZ #9914]
71444         * libio/iogetdelim.c: Include <limits.h>.
71445         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71446         + len + 1 would overflow.
71448 2012-09-03  Andreas Jaeger  <aj@suse.de>
71450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71451         * sysdeps/i386/fpu/libm-test-ulps: Update.
71453 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71455         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71456         Add s_sinf-sse2, s_conf-sse2.
71458         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71459         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71460         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71461         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71463         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71464         for using routine as __sinf_ia32.
71465         Use macro for function declaration and weak_alias.
71466         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71467         for using routine as __cosf_ia32.
71468         Use macro for function declaration and weak_alias.
71470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71471         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71473         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71474         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71477         * math/libm-test.inc (cos_test): Add more test cases.
71478         (sin_test): Likewise.
71479         (sincos_test): Likewise.
71481 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71484         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71485         hidden.
71486         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71488 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71490         [BZ #14538]
71491         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71492         first element of the GOT.
71493         (elf_machine_load_address): Return the difference between
71494         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71496 2012-09-01  Allan McRae  <allan@archlinux.org>
71498         [BZ #13412]
71499         * configure.in (AWK): Require gawk version 3.0 or later.
71500         * configure: Regenerated.
71502 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71504         * sysdeps/unix/sysv/linux/kernel-features.h
71505         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71506         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71507         [__NR_clock_getres]: Make code unconditional.
71508         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71509         (clock_getcpuclockid): Remove code left unreachable by removal of
71510         conditionals.
71511         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71512         code unconditional.
71513         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71514         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71515         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71516         Make code unconditional.
71517         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71518         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71519         * sysdeps/unix/sysv/linux/clock_settime.c
71520         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71521         conditional code.
71522         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71523         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71525 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71527         [BZ #14476]
71528         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71529         scripts/test-installation.pl.
71531         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71532         and $ld_so_version if it is set.
71534 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71536         [BZ #14516]
71537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71538         failure if reading from procfs failed.
71539         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71541 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71543         * sysdeps/unix/sysv/linux/kernel-features.h
71544         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71545         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71546         Remove conditional code.
71547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71548         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71549         Remove conditional code.
71550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71551         * sysdeps/unix/sysv/linux/i386/fxstat.c
71552         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71554         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71555         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71557         * sysdeps/unix/sysv/linux/i386/lxstat.c
71558         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71560         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71561         Remove conditional code.
71562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71563         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71564         Remove conditional code.
71565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71566         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71567         <kernel-features.h>.
71568         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71569         Remove.
71570         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71571         Remove conditional code.
71572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71573         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71574         Remove conditional.
71576 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71578         [BZ #5400]
71579         * NEWS: Add fixed bug number.
71581 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71583         [BZ #14519]
71584         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71585         underflowing exponent in case of negative sign.
71586         * stdlib/tst-strtod-round-data: Add more tests.
71587         * stdlib/tst-strtod-round.c (tests): Regenerated.
71589         [BZ #3479]
71590         * stdlib/strtod_l.c (NDIG): Remove.
71591         (HEXNDIG): Likewise.
71592         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71593         smallest representable value.
71594         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71595         lie within an exact representation of 1/2 ulp of the result.
71596         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71597         unconditionally.
71598         (TENS_P9_IDX): Define unconditionally.
71599         (TENS_P9_SIZE): Likewise.
71600         (TENS_P10_IDX): Likewise.
71601         (TENS_P10_SIZE): Likewise.
71602         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71603         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71604         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71605         entries for 10^2^13 and 10^2^14.
71606         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71607         (TENS_P13_IDX): Define.
71608         (TENS_P13_SIZE): Likewise.
71609         (TENS_P14_IDX): Likewise.
71610         (TENS_P14_SIZE): Likewise.
71611         (_fpioconst_pow10): Change array size to
71612         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71613         unconditional.
71614         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71615         1024]: Add entries for 10^2^13 and 10^2^14.
71616         [LAST_POW10 > _LAST_POW10]: Remove #error.
71617         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71618         (_fpioconst_pow10): Change array size to
71619         FPIOCONST_POW10_ARRAY_SIZE.
71620         * stdlib/gen-fpioconst.c: New file.
71621         * stdlib/gen-tst-strtod-round.c: Likewise.
71622         * stdlib/tst-strtod-round-data: Likewise.
71623         * stdlib/tst-strtod-round.c: Likewise.
71624         * stdlib/Makefile (tests): Add tst-strtod-round.
71626         [BZ #14459]
71627         * stdlib/strtod_l.c: Include <stdint.h>.
71628         (NDEBUG): Do not define.
71629         (round_and_return): Change EXPONENT parameter to type intmax_t.
71630         Rearrange calculations to avoid internal overflow possibilities.
71631         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71632         Rearrange calculations to avoid internal overflow possibilities.
71633         Assert that number fits inside MPNSIZE limbs.
71634         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71635         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71636         calculations and add assertions to avoid internal overflow
71637         possibilities.  Add casts to avoid signed/unsigned operations.
71638         * stdlib/tst-strtod-overflow.c: New file.
71639         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71641 2012-08-25  Marek Polacek  <polacek@redhat.com>
71643         * time/time.h: Fix some typos in comments.
71645 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71647         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71648         * posix/tst-rfc3484-2.c: Likewise.
71649         * posix/tst-rfc3484-3.c: Likewise.
71651 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71653         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71654         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71656 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71658         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71659         #include of fxstatat64.c.
71661 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71663         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71664         * shadow/getspent_r.c: Likewise.
71665         * shadow/getspnam.c: Likewise.
71666         * shadow/getspnam_r.c: Likewise.
71667         * gshadow/getsgent.c: Likewise.
71668         * gshadow/getsgent_r.c: Likewise.
71669         * gshadow/getsgnam.c: Likewise.
71670         * gshadow/getsgnam_r.c: Likewise.
71671         * inet/getnetbyad.c: Likewise.
71672         * inet/getnetbyad_r.c: Likewise.
71673         * inet/getnetbynm.c: Likewise.
71674         * inet/getnetbynm_r.c: Likewise.
71675         * inet/getnetent.c: Likewise.
71676         * inet/getnetent_r.c: Likewise.
71677         * inet/getproto.c: Likewise.
71678         * inet/getproto_r.c: Likewise.
71679         * inet/getprtent.c: Likewise.
71680         * inet/getprtent_r.c: Likewise.
71681         * inet/getprtname.c: Likewise.
71682         * inet/getprtname_r.c: Likewise.
71683         * inet/getrpcbyname.c: Likewise.
71684         * inet/getrpcbyname_r.c: Likewise.
71685         * inet/getrpcbynumber.c: Likewise.
71686         * inet/getrpcbynumber_r.c: Likewise.
71687         * inet/getrpcent.c: Likewise.
71688         * inet/getrpcent_r.c: Likewise.
71689         * inet/getaliasent.c: Likewise.
71690         * inet/getaliasent_r.c: Likewise.
71691         * inet/getaliasname.c: Likewise.
71692         * inet/getaliasname_r.c: Likewise.
71693         * nscd/getgrgid_r.c: Likewise.
71694         * nscd/getgrnam_r.c: Likewise.
71695         * nscd/gethstbyad_r.c: Likewise.
71696         * nscd/gethstbynm3_r.c: Likewise.
71697         * nscd/getpwnam_r.c: Likewise.
71698         * nscd/getpwuid_r.c: Likewise.
71699         * nscd/getsrvbynm_r.c: Likewise.
71700         * nscd/getsrvbypt_r.c: Likewise.
71701         * nscd/gai.c: Likewise.
71703         * configure.in (build_nscd): New substituted variable, set
71704         by --disable-build-nscd and defaults to $use_nscd.
71705         * configure: Regenerated.
71706         * config.make.in (build-nscd): New substituted variable.
71707         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71708         Change conditional to require [$(build-nscd) = yes] as well.
71709         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71711         [BZ #13696]
71712         * configure.in (use_nscd): New substituted variable, set by
71713         --disable-nscd.  If enabled, define USE_NSCD.
71714         * configure: Regenerated.
71715         * config.h.in: Add USE_NSCD.
71716         * config.make.in (use-nscd): New substituted variable.
71717         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71718         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71719         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71720         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71721         (CFLAGS-getgrnam_r.c): Likewise.
71722         (CFLAGS-initgroups.c): Likewise.
71723         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71724         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71725         Variables removed.
71726         * inet/getnetgrent_r.c
71727         (nscd_setnetgrent): New function, broken out of ...
71728         (setnetgrent): ... here.  Call it.
71729         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71730         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71731         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71732         * nscd/Makefile (routines, aux): Move definitions after include of
71733         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71734         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71735         Conditionalize on [USE_NSCD].
71736         (is_nscd, nscd_init_cb): Likewise.
71737         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71738         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71739         * nss/nss_db/db-init.c: Likewise.
71740         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71741         [USE_NSCD].
71742         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71743         (make_request): Use it.
71744         (cache_valid_p): New function.
71745         (__check_pf): Use it.
71746         * NEWS: Add item for --disable-nscd.
71748 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71750         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71751         to support sed >= 4.2.1-20-ga9bf076.
71752         * configure: Regenerated.
71754 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71756         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71757         Conditionalize whole body on [IREL].
71759 2012-08-22  Jeff Law <law@redhat.com>
71761         [BZ #14505]
71762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71763         if the family is PF_UNSPEC.
71765 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71767         * Makerules (lib-version): Rename from V.
71768         (install-lib-nosubdir): Change V to lib-version.
71770 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71772         [BZ #14252]
71773         * powerpc32/power6/wcschr.c: New file.
71774         * powerpc32/power6/wcscpy.c: New file.
71775         * powerpc32/power6/wcsrchr.c: New file.
71776         * powerpc64/power6/wcschr.c: New file.
71777         * powerpc64/power6/wcscpy.c: New file.
71778         * powerpc64/power6/wcsrchr.c: New file.
71780 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71782         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71783         (two_way_short_needle): Use it.
71784         * string/strstr.c (AVAILABLE1_USES_J): Define.
71785         * string/strcasestr.c: Likewise.
71787         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71788         array references.
71789         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71791         [BZ #11607]
71792         * NEWS: Add an entry.
71793         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71794         define their defaults.
71795         (two_way_short_needle): Detect end-of-string on-the-fly.
71796         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71797         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71798         * string/bug-strcasestr1.c: New test.
71799         * string/Makefile: Run it.
71801 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71803         [BZ #11607]
71804         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71805         the first character.
71807 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71809         * csu/elf-init.c (__libc_csu_irel): Function removed.
71810         * csu/libc-start.c (apply_irel): New function.
71811         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71813 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71815         * sysdeps/unix/sysv/linux/kernel-features.h
71816         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71817         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71818         <kernel-features.h>.
71819         [__NR_fadvise64_64]: Make code unconditional.
71820         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71821         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71822         !__NR_fadvise64_64)]: Likewise.
71823         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71824         !__NR_fadvise64_64))]: Likewise.
71825         [__NR_fadvise64]: Make code unconditional.
71826         [!__NR_fadvise64]: Remove conditional code.
71827         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71828         <kernel-features.h>.
71829         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71830         unconditional.
71831         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71832         conditional code.
71833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71834         not include <kernel-features.h>.
71835         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71836         unconditional.
71837         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71838         conditional code.
71839         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71840         include <kernel-features.h>.
71841         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71842         unconditional.
71843         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71844         conditional code.
71846 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71848         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71849         slight instruction rearrangements per scrollpipe analysis.
71850         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71852 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71854         * manual/syslog.texi (syslog; vsyslog, closelog):
71855         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71856         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71858         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71859         DSOCAPS to match condition on defining it.
71861 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71863         * sysdeps/unix/sysv/linux/kernel-features.h
71864         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71866         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71867         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71869         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71870         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71872         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71873         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71875         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71876         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71878         * sysdeps/unix/sysv/linux/kernel-features.h
71879         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71880         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71881         unconditional.
71882         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71883         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71884         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71885         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71886         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71887         Make code unconditional.
71888         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71889         (__mmap64) [!__NR_mmap2]: Likewise.
71890         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71891         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71892         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71893         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71894         [__NR_mmap2]: Make code unconditional.
71895         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71896         (__mmap64) [!__NR_mmap2]: Likewise.
71898 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71900         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71902 2012-08-18  Andreas Jaeger  <aj@suse.de>
71904         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71906 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71908         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71909         * include/unistd.h (__have_sock_cloexec): Likewise.
71910         (__have_pipe2): Likewise.
71911         (__have_dup3): Likewise.
71913 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71915         [BZ #9685]
71916         * include/unistd.h (__have_pipe2): Change define into an extern int.
71917         (__have_dup3): Likewise.
71918         * socket/have_sock_cloexec.c: Include fcntl.h.
71919         (__have_pipe2): New variable.
71920         (__have_dup3): Likewise.
71922 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71924         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71926 2012-08-17  Marek Polacek  <polacek@redhat.com>
71928         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71929         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71931 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71933         * configure.in: Add AC_SUBST for sysheaders.
71934         * configure: Regenerated.
71935         * config.make.in (sysheaders): New substituted variable.
71937         * sysdeps/unix/mkfifo.c: Moved ...
71938         * sysdeps/posix/mkfifo.c: ... here.
71939         * sysdeps/unix/mkfifoat.c: Moved ...
71940         * sysdeps/posix/mkfifoat.c: ... here.
71942         * sysdeps/unix/utime.c: Moved ...
71943         * sysdeps/posix/utime.c: ... here.
71945         * sysdeps/unix/time.c: Moved ...
71946         * sysdeps/posix/time.c: ... here.
71947         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71948         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71950         * sysdeps/unix/nice.c: Moved ...
71951         * sysdeps/posix/nice.c: ... here.
71953         * sysdeps/unix/alarm.c: Moved ...
71954         * sysdeps/posix/alarm.c: ... here.
71956         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71958 2012-08-17  Jeff Law <law@redhat.com>
71960         * intl/Makefile (codeset_mo): New variable.
71961         ($(codeset_mo)): New target.
71962         (tst-codeset.out): Depend on that.  Remove explicit rule.
71963         (tst-gettext3.out, tst-gettext5.out): Likewise.
71964         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71965         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71966         * intl/tst-codeset.sh: Remove.
71967         * intl/tst-gettext3.sh: Likewise.
71968         * intl/tst-gettext5.sh: Likewise.
71970 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71972         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71973         * sysdeps/unix/syscalls.list: ... here.
71975         * sysdeps/posix/getaddrinfo.c
71976         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71977         (gaiconf_init, gaiconf_reload): Use them.
71978         [!_STATBUF_ST_NSEC]
71979         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71980         Define using time_t rather than struct timespec.
71982         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71983         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71984         Macros removed.
71985         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71986         [!NO_THREADS].
71987         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71988         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71989         Likewise.
71991         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71992         __libc_cleanup_push argument.
71994         * bits/param.h: New file.
71995         * misc/sys/param.h: New file.
71996         * include/sys/param.h: New file.
71997         * misc/Makefile (headers): Add bits/param.h.
71998         * sysdeps/generic/sys/param.h: File removed.
71999         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72000         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72001         * sysdeps/mach/hurd/bits/param.h: New file.
72002         * sysdeps/mach/hurd/sys/param.h: File removed.
72004         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72005         last change.
72007         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72008         [_IO_MTSAFE_IO].
72009         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72010         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72011         New macros.
72013         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72014         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72015         rather than -D_IO_MTSAFE_IO conditionally.
72016         * stdio-common/Makefile (CPPFLAGS): Likewise.
72017         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72018         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72019         Use $(libio-mtsafe).
72020         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72021         of -D_IO_MTSAFE_IO.
72022         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72023         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72024         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72025         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72026         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72027         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72028         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72029         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72030         (CFLAGS-fread_u_chk.c): Likewise.
72031         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72032         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72033         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72034         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72035         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72036         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72037         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72038         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72039         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72041         * libio/Makefile: Test [$(libc-reentrant) = yes]
72042         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72044         * Makeconfig
72045         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72046         * sysdeps/pthread/configure: File removed.
72047         * sysdeps/pthread/Makeconfig: New file.
72048         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72049         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72051 2012-08-16  Gary Benson  <gbenson@redhat.com>
72053         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72054         unmapping the first object in a namespace.
72056 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72058         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72059         (__internal_setnetgrent): ... this.  Add internal_function to
72060         definition.  Add libc_hidden_def.
72061         (setnetgrent): Update caller.
72062         (internal_endnetgrent): Renamed to ...
72063         (__internal_endnetgrent): ... this.  Add internal_function to
72064         definition.  Add libc_hidden_def.
72065         (endnetgrent): Update caller.
72066         (internal_getnetgrent_r): Renamed to ...
72067         (__internal_getnetgrent_r): ... this.  Add internal_function to
72068         definition.  Add libc_hidden_def.
72069         (__getnetgrent_r): Update caller.
72070         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72072 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72074         * stdlib/longlong.h: Update from GCC.
72076 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72078         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72079         on _QL, which is set by umul_ppmm but never used.
72080         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72081         variables, which are set by GMP macros but never used.
72082         * stdio-common/_itowa.c (_itowa): Likewise.
72083         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72084         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72086 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72088         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72089         struct La_sh_regs is not constant.
72090         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72091         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72092         and struct La_sparc64_regs are not constant.
72094 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72096         * sysdeps/unix/sysv/linux/kernel-features.h
72097         (__ASSUME_POSIX_TIMERS): Remove.
72098         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72099         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72100         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72101         Make code unconditional.
72102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72103         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72104         Make code unconditional.
72105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72106         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72107         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72108         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72109         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72110         Make code unconditional.
72111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72112         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72113         (__libc_missing_posix_timers): Remove.
72115 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72117         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72118         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72120         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72122         * elf/dl-sym.c: Include <stdlib.h>.
72124         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72125         constants, which avoids warnings in 32-bit builds.
72127         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72128         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72130         * misc/lseek.c: File moved to ...
72131         * io/lseek.c: ... here.
72133         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72135         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72136         shifting LEN more than 31 bits at once.
72138 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72140         [BZ #14195]
72141         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72142         segmentation fault for a case of two empty input strings.
72143         * string/test-strncasecmp.c (check1): Renamed to...
72144         (bz12205): ...this.
72145         (bz14195): Add new testcase for two empty input strings and N > 0.
72146         (test_main): Call new testcase, adapt for renamed function.
72148 2012-08-15  Andreas Jaeger  <aj@suse.de>
72150         [BZ #14090]
72151         * crypt/md5test2.c: New test, based on test supplied by Serge
72152         Belyshev <belyshev@depni.sinp.msu.ru>.
72153         * crypt/Makefile (xtests): Add md5test-giant..
72154         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72156 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72158         [BZ #14090]
72159         * crypt/md5.c (md5_process_block): Don't assume the buffer
72160         length is less than 2**32.
72161         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72162         length is less than 2**64.
72164 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72166         * string/str-two-way.h: Include <sys/param.h>.
72167         (MAX): Macro removed.
72169         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72170         Move #define and #undef of memmove to just before and after
72171         including <string.h>.
72173         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72174         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72175         and after including <string.h>.  Move declarations of
72176         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72177         to before #include "string/memmove.c".
72179         * include/dirent.h: Declare __getdirentries.
72181         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72182         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72184 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72186         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72187         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72188         * sysdeps/i386/configure: Regenerated.
72189         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72190         STABS_CURRENT_FILE, and STABS_FUN.
72191         (END): Remove call to STABS_FUN_END.
72192         (STABS_CURRENT_FILE1): Delete.
72193         (STABS_CURRENT_FILE): Likewise.
72194         (STABS_FUN): Likewise.
72195         (STABS_FUN_END): Likewise.
72196         (STABS_FUN2): Likewise.
72197         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72198         * sysdeps/x86_64/configure: Regenerated.
72200 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72202         * elf/dl-open.c: Include <atomic.h>.
72203         * elf/dl-lookup.c: Likewise.
72205 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72207         * sysdeps/unix/sysv/linux/kernel-features.h
72208         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72209         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72210         unconditionally.
72211         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72212         unconditionally.
72213         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72214         condition on __ASSUME_CLONE_THREAD_FLAGS.
72216 2012-08-14  Andreas Jaeger  <aj@suse.de>
72218         * sysdeps/i386/fpu/libm-test-ulps: Update.
72220 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72222         * include/atomic.h (atomic_exchange_and_add): Split into ...
72223         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72224         New atomic macros.
72226 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72230 2012-08-13  Jeff Law <law@redhat.com>
72232         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72233         null byte in the output string.
72235 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72237         * sysdeps/unix/sysv/linux/kernel-features.h
72238         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72239         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72240         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72241         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72242         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72243         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72244         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72246 2012-08-09  Jeff Law <law@redhat.com>
72248         [BZ #13939]
72249         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72250         When avoid_arena is set, don't retry in the that arena.  Pick the
72251         next one, whatever it might be.
72252         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72253         (arena_lock): Pass in new parameter to arena_get2.
72254         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72255         arena_get2.
72256         (__libc_malloc): Unify retrying after main arena failure with
72257         __libc_memalign version.
72258         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72260 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72262         [BZ #14166]
72263         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72264         to __redirect_strstr.
72265         (__strstr_sse42): Use typeof __redirect_strstr.
72266         (__strstr_ia32): Likewise.
72267         (__libc_strstr): New prototype.
72268         (strstr): Renamed to ...
72269         (__libc_strstr): This.
72270         (strstr): New strong alias of __libc_strstr.
72271         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72272         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72273         __redirect_time.
72274         Include <time.h>.
72275         (__libc_time): New prototype.
72276         (time_ifunc): Replace time with __libc_time.
72277         (time): New strong alias and hidden definition of __libc_time.
72278         (__GI_time): Remove strong alias.
72279         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72280         Include <stddef.h>.
72281         (memmove): Redefined to __redirect_memmove.
72282         (__memmove_sse2): Use typeof __redirect_memmove.
72283         (__memmove_ssse3): Likewise.
72284         (__memmove_ssse3_back): Likewise.
72285         (__libc_memmove): New prototype.
72286         (memmove): Renamed to ...
72287         (__libc_memmove): This.
72288         (memmove): New strong alias of __libc_memmove.
72290 2012-08-08  Mark Salter  <msalter@redhat.com>
72292         * elf/elf.h
72293         (R_MN10300_TLS_GD): Define.
72294         (R_MN10300_TLS_LD): Likewise.
72295         (R_MN10300_TLS_LDO): Likewise.
72296         (R_MN10300_TLS_GOTIE): Likewise.
72297         (R_MN10300_TLS_IE): Likewise.
72298         (R_MN10300_TLS_LE): Likewise.
72299         (R_MN10300_TLS_DTPMOD): Likewise.
72300         (R_MN10300_TLS_DTPOFF): Likewise.
72301         (R_MN10300_TLS_TPOFF): Likewise.
72302         (R_MN10300_SYM_DIFF): Likewise.
72303         (R_MN10300_ALIGN): Likewise.
72304         (R_MN10300_NUM): Update.
72306 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72309         Remove.
72311 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72313         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72315         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72316         sysdeps/unix -> sysdeps/posix move.
72317         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72319 2012-08-07      Allan McRae     <allan@archlinux.org>
72321         [BZ #14303]
72322         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72323         (SUNOS_CPP): Likewise.
72324         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72325         not found.
72326         (open_input): Call CPP using execvp.
72328 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72330         * sysdeps/unix/sysv/linux/kernel-features.h
72331         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72332         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72333         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72334         (__ASSUME_WAITID_SYSCALL): Likewise.
72335         * sysdeps/unix/sysv/linux/dl-execstack.c
72336         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72337         code unconditional.
72338         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72339         conditional code.
72340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72341         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72342         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72343         code.
72344         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72345         unconditional.
72346         [__ASSUME_WAITID_SYSCALL]: Likewise.
72347         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72349 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72351         * sysdeps/unix/closedir.c: Renamed to ...
72352         * sysdeps/posix/closedir.c: ... here.
72353         * sysdeps/unix/dirfd.c: Renamed to ...
72354         * sysdeps/posix/dirfd.c: ... here.
72355         * sysdeps/unix/dirstream.h: Renamed to ...
72356         * sysdeps/posix/dirstream.h: ... here.
72357         * sysdeps/unix/fdopendir.c: Renamed to ...
72358         * sysdeps/posix/fdopendir.c: ... here.
72359         * sysdeps/unix/opendir.c: Renamed to ...
72360         * sysdeps/posix/opendir.c: ... here.
72361         * sysdeps/unix/readdir.c: Renamed to ...
72362         * sysdeps/posix/readdir.c: ... here.
72363         * sysdeps/unix/readdir_r.c: Renamed to ...
72364         * sysdeps/posix/readdir_r.c: ... here.
72365         * sysdeps/unix/rewinddir.c: Renamed to ...
72366         * sysdeps/posix/rewinddir.c: ... here.
72367         * sysdeps/unix/seekdir.c: Renamed to ...
72368         * sysdeps/posix/seekdir.c: ... here.
72369         * sysdeps/unix/telldir.c: Renamed to ...
72370         * sysdeps/posix/telldir.c: ... here.
72371         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72372         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72373         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72374         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72376         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72377         * bits/fcntl.h: ... here.
72379         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72380         not 0.
72381         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72382         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72383         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72384         (struct flock): Move l_start, l_len to the beginning.
72385         Use __pid_t for l_pid.
72386         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72387         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72388         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72389         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72390         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72391         [__USE_LARGEFILE64] (struct flock64): New type.
72392         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72394         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72395         * bits/dirent.h: ... here.
72397         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72398         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72400 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72403         Change from 2.6.0 to 2.6.16.
72404         * sysdeps/unix/sysv/linux/configure: Regenerated.
72405         * sysdeps/unix/sysv/linux/kernel-features.h
72406         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72407         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72408         version.
72409         (__ASSUME_UTIMES): Likewise.
72410         (__ASSUME_CLONE_STOPPED): Remove.
72411         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72412         architectures, not kernel version.
72413         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72414         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72415         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72416         (__ASSUME_WAITID_SYSCALL): Likewise.
72417         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72418         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72419         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72420         refer to older versions.
72422 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72424         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72425         Define alphasort64 as an alias.
72426         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72427         Define versionsort64 as an alias.
72428         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72429         Define scandir64 as an alias.
72430         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72431         Define scandirat64 as an alias.
72432         * dirent/alphasort64.c (alphasort64):
72433         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72434         * dirent/versionsort64.c: Likewise.
72435         * dirent/scandir64.c: Likewise.
72436         * dirent/scandirat64.c: Likewise.
72437         * sysdeps/wordsize-64/alphasort.c: File removed.
72438         * sysdeps/wordsize-64/alphasort64.c: File removed.
72439         * sysdeps/wordsize-64/scandir.c: File removed.
72440         * sysdeps/wordsize-64/scandir64.c: File removed.
72441         * sysdeps/wordsize-64/scandirat.c: File removed.
72442         * sysdeps/wordsize-64/scandirat64.c: File removed.
72443         * sysdeps/wordsize-64/versionsort.c: File removed.
72444         * sysdeps/wordsize-64/versionsort64.c: File removed.
72445         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72446         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72447         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72448         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72449         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72450         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72451         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72452         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72454         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72456         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72458         [defined __arch64__ || defined __sparcv9]
72459         (__INO_T_MATCHES_INO64_T): New macro.
72460         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72461         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72462         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72463         * sysdeps/unix/sysv/linux/bits/dirent.h
72464         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72465         (_DIRENT_MATCHES_DIRENT64): New macro.
72467         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72468         Define lockf64 as an alias.
72469         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72470         Define fseeko64 as an alias.
72471         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72472         Define ftello64 as an alias.
72473         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72474         Define _IO_fgetpos64 and fgetpos64 as aliases.
72475         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72476         Define _IO_fsetpos64 and fsetpos64 as aliases.
72477         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72478         Conditionalize body on this.
72479         * libio/fseeko64.c: Likewise.
72480         * libio/ftello64.c: Likewise.
72481         * libio/iofgetpos64.c: Likewise.
72482         * libio/iofsetpos64.c: Likewise.
72483         * sysdeps/wordsize-64/lockf.c: File removed.
72484         * sysdeps/wordsize-64/lockf64.c: File removed.
72485         * sysdeps/wordsize-64/fseeko.c: File removed.
72486         * sysdeps/wordsize-64/fseeko64.c: File removed.
72487         * sysdeps/wordsize-64/ftello.c: File removed.
72488         * sysdeps/wordsize-64/ftello64.c: File removed.
72489         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72490         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72491         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72492         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72493         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72494         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72496         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72498         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72499         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72500         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72501         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72502         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72504         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72505         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72506         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72508         [defined __arch64__ || defined __sparcv9]
72509         (__OFF_T_MATCHES_OFF64_T): New macro.
72510         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72511         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72513         (__OFF_T_MATCHES_OFF64_T): New macro.
72515 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72517         * stdlib/secure-getenv.c (__secure_getenv): Replace
72518         GLIBC_2_16 with GLIBC_2_17.
72520 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72522         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72523         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72525 2012-08-03  David S. Miller  <davem@davemloft.net>
72527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72529 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72532         Remove.
72533         (__ASSUME_CORRECT_SI_PID): Likewise.
72534         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72535         (__ASSUME_TMPFS_NAME): Likewise.
72536         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72537         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72538         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72539         (HAVE_AUX_SECURE): Make definition unconditional.
72540         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72541         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72543 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72545         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72546         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72547         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72548         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72549         __eloop_threshold instead of SYMLOOP_MAX.
72551         * sysdeps/generic/eloop-threshold.h: New file.
72552         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72553         of MAXSYMLINKS.
72554         * elf/chroot_canon.c (chroot_canon): Likewise.
72556 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72558         [BZ #13717]
72559         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72560         Change to 2.6.0 everywhere.
72561         * sysdeps/unix/sysv/linux/configure: Regenerated.
72562         * sysdeps/unix/sysv/linux/kernel-features.h
72563         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72564         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72565         kernel versions.
72566         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72567         (__ASSUME_FUTEX_REQUEUE): Remove.
72568         (__ASSUME_STATFS64): Define unconditionally.
72569         (__ASSUME_AT_SECURE): Likewise.
72570         (__ASSUME_CORRECT_SI_PID): Likewise.
72571         (__ASSUME_TGKILL): Define without depending on kernel version for
72572         i386.
72573         (__ASSUME_UTIMES): Likewise.
72574         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72575         kernel version.
72576         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72577         (__ASSUME_TMPFS_NAME): Likewise.
72578         * README: Update reference to Linux kernel versions.
72580 2012-08-02  Marek Polacek  <polacek@redhat.com>
72582         [BZ #14150]
72583         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72584         libc_cv_asm_type_prefix with %.
72585         * configure: Regenerated.
72586         * include/libc-symbols.h: Remove comment about
72587         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72588         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72589         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72590         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72591         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72592         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72593         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72594         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72595         * elf/tst-unique2mod1.c: Likewise.
72596         * elf/tst-unique1mod2.c: Likewise.
72597         * elf/tst-unique1mod1.c: Likewise.
72598         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72599         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72600         Replace ASM_TYPE_DIRECTIVE with .type.
72601         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72602         * sysdeps/i386/sysdep.h: Likewise.
72603         * sysdeps/x86_64/sysdep.h: Likewise.
72604         * sysdeps/sh/sysdep.h: Likewise.
72605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72606         Do not define ASM_TYPE_DIRECTIVE.
72607         * sysdeps/powerpc/sysdep.h: Likewise.
72608         * sysdeps/powerpc/powerpc32/sysdep.h:
72609         Replace ASM_TYPE_DIRECTIVE with .type.
72610         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72611         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72612         * sysdeps/i386/fpu/e_powf.S: Likewise.
72613         * sysdeps/i386/fpu/e_expl.S: Likewise.
72614         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72615         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72616         * sysdeps/i386/fpu/e_pow.S: Likewise.
72617         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72618         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72619         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72620         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72621         * sysdeps/i386/fpu/e_log2.S: Likewise.
72622         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72623         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72624         * sysdeps/i386/fpu/e_powl.S: Likewise.
72625         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72626         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72627         * sysdeps/i386/fpu/e_logl.S: Likewise.
72628         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72629         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72630         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72631         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72632         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72633         * sysdeps/i386/fpu/e_log.S: Likewise.
72634         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72635         * sysdeps/i386/fpu/e_logf.S: Likewise.
72636         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72637         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72638         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72639         * sysdeps/i386/fpu/e_log10.S: Likewise.
72640         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72641         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72642         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72643         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72644         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72645         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72646         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72647         * sysdeps/i386/i686/strtok.S: Likewise.
72648         * sysdeps/i386/i386-mcount.S: Likewise.
72649         * sysdeps/i386/strtok.S: Likewise.
72650         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72651         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72652         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72653         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72654         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72655         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72656         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72657         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72658         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72659         * sysdeps/x86_64/_mcount.S: Likewise.
72660         * sysdeps/x86_64/strtok.S: Likewise.
72661         * sysdeps/sh/_mcount.S: Likewise.
72663 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72665         * libio/iofopen.c: Include <fcntl.h>.
72666         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72667         (_IO_fopen64, fopen64): Define as aliases.
72668         * libio/iofopen64.c: Include <fcntl.h>.
72669         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72670         Conditionalize body on this.
72671         * sysdeps/wordsize-64/iofopen.c: File removed.
72672         * sysdeps/wordsize-64/iofopen64.c: File removed.
72674 2012-08-01  Marek Polacek  <polacek@redhat.com>
72676         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72677         Use dlfcn directly instead of a variable.
72678         (binfmt-subdir): Do not define.
72679         (dlfcn): Likewise.
72681 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72684         Remove all definitions.
72685         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72686         <kernel-features.h>.
72687         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72688         (miss_F_GETOWN_EX): Remove all definitions.
72689         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72690         macro definition.
72691         [!__ASSUME_FCNTL64]: Remove conditional code.
72692         [__ASSUME_FCNTL64]: Make code unconditional.
72693         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72694         <kernel-features.h>.
72695         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72696         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72697         (lockf64) [__NR_fcntl64]: Make code unconditional.
72698         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72700         * sysdeps/unix/sysv/linux/kernel-features.h
72701         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72702         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72703         Make code unconditional.
72704         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72705         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72707         [__NR_vfork]: Make code unconditional.
72708         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72709         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72711         [__NR_vfork]: Make code unconditional.
72712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72715 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72717         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72718         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72720         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72721         Define mkstemp64 as an alias.
72722         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72723         Define mkstemps64 as an alias.
72724         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72725         Define mkostemp64 as an alias.
72726         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72727         Define mkostemps64 as an alias.
72728         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72729         Conditionalize body on this.
72730         * misc/mkostemp64.c: Likewise.
72731         * misc/mkostemps64.c: Likewise.
72732         * misc/mkstemps64.c: Likewise.
72733         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72734         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72735         * sysdeps/wordsize-64/mkostemp.c: File removed.
72736         * sysdeps/wordsize-64/mkstemp.c: File removed.
72737         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72738         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72739         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72740         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72742         [BZ #14138]
72743         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72744         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72745         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72746         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72748         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72749         compat_symbol macros from <shlib-compat.h> rather than the underlying
72750         default_symbol_version and symbol_version macros, so that DEFAULT
72751         lines in shlib-versions are respected.
72752         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72754 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72756         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72757         Declare with warn_unused_result.
72758         (setgid, setregid, setegid, setresgid): Likewise.
72759         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72760         Likewise.
72761         * WUR-REPORT: Remove set*id functions.
72763 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72765         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72767 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72769         [BZ #10191]
72770         * include/sys/socket.h (__libc_accept, __libc_accept4):
72771         Add attribute_hidden.
72772         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72774         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72775         use of PTR_MANGLE.
72776         * inet/getnetgrent_r.c (setup): Likewise.
72778         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72780 2012-07-31  David S. Miller  <davem@davemloft.net>
72782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72784 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72786         [BZ #13629]
72787         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72788         value between 1.0 and 2.0 and smaller part has absolute value less
72789         than 1.0.
72790         * math/s_clog10.c (__clog10): Likewise.
72791         * math/s_clog10f.c (__clog10f): Likewise.
72792         * math/s_clog10l.c (__clog10l): Likewise.
72793         * math/s_clogf.c (__clogf): Likewise.
72794         * math/s_clogl.c (__clogl): Likewise.
72795         * math/libm-test.inc (clog_test): Add more tests.
72796         (clog10_test): Likewise.
72797         * sysdeps/i386/fpu/libm-test-ulps: Update.
72798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72800 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72802         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72803         Exit with zero in case no suitable GID is found, and write a
72804         message to standard error.
72806 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72808         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72809         rather than to 1.
72810         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72811         (MAXPATHLEN): Removed.
72812         (NOGROUP, NODEV): New macros.
72813         (setbit, clrbit, isset, isclr): New macros.
72814         (howmany, roundup, powerof2): New macros.
72815         (DEV_BSIZE): New macro.
72817         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72818         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72820         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72821         definition on [!__NO_LONG_DOUBLE_MATH].
72823         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72824         PTR_MANGLE and PTR_DEMANGLE.
72826         * socket/accept4.c (accept4): Rename to __libc_accept4.
72827         Define accept4 as a weak alias.
72829         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72830         on [_DIRENT_HAVE_D_TYPE].
72831         * io/ftw.c (ftw_dir): Likewise.
72833         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72835         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72837         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72838         Use the BSD numbers rather than the arbitrary ones we had.
72839         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72840         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72841         (SIGXCPU, SIGXFSZ): New macros.
72842         (_NSIG): Now 32.
72844         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72845         initializer on [_LIBC_REENTRANT].
72847         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72848         definitions inside [_POSIX_MAPPED_FILES].
72850         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72852         * dirent/opendir.c: Include <fcntl.h>.
72854         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72855         (__libc_getspecific): Likewise.
72856         (__libc_key_create): Likewise.
72858         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72859         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72860         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72861         (tmpfile64): Define as alias.
72862         * sysdeps/wordsize-64/tmpfile.c: File removed.
72863         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72864         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72865         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72867         * stdio-common/vfscanf.c: Include <stdbool.h>.
72868         * nss/makedb.c: Likewise.
72869         * stdio-common/_i18n_number.h: Likewise.
72870         * argp/argp-help.c: Likewise.
72871         * posix/wordexp.c: Likewise.
72872         * sysdeps/posix/spawni.c: Likewise.
72873         * nss/nss_files/files-initgroups.c: Likewise.
72874         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72875         * nss/nss_files/files-initgroups.c: Likewise.
72876         * nss/nss_db/db-netgrp.c: Likewise.
72877         * nss/nss_db/db-initgroups.c: Likewise.
72878         * io/fchmodat.c: Include <sys/stat.h>.
72880         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72881         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72883         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72884         [HAVE_MMAP].
72886         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72887         Add multiple inclusion protection.
72889 2012-07-27  David S. Miller  <davem@davemloft.net>
72891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72893 2012-07-27  Gary Benson  <gbenson@redhat.com>
72895         [BZ #14298]
72896         * elf/rtld.c: Include <stap-probe.h>.
72897         (dl_main): Added static probes "init_start" and "init_complete".
72898         * elf/dl-load.c: Include <stap-probe.h>.
72899         (lose): Take new parameter "nsid".
72900         Added static probe "map_failed".
72901         (_dl_map_object_from_fd): Pass namespace id to lose.
72902         Added static probe "map_start".
72903         (open_verify): Pass namespace id to lose.
72904         * elf/dl-open.c: Include <stap-probe.h>.
72905         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72906         and "reloc_complete".
72907         * elf/dl-close.c: Include <stap-probe.h>.
72908         (_dl_close_worker): Added static probes "unmap_start" and
72909         "unmap_complete".
72910         * elf/rtld-debugger-interface.txt: New file documenting the above.
72912 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72914         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72915         rather than a string variable.
72916         * sunrpc/rpc_main.c (h_output): Likewise.
72917         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72919 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72921         * inet/check_native.c: New file.
72923 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72925         [BZ #13629]
72926         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72927         if larger part has absolute value 1.0.
72928         * math/s_clog10.c (__clog10): Likewise.
72929         * math/s_clog10f.c (__clog10f): Likewise.
72930         * math/s_clog10l.c (__clog10l): Likewise.
72931         * math/s_clogf.c (__clogf): Likewise.
72932         * math/s_clogl.c (__clogl): Likewise.
72933         * math/libm-test.inc (clog_test): Add more tests.
72934         (clog10_test): Likewise.
72935         * sysdeps/i386/fpu/libm-test-ulps: Update.
72936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72938         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72939         (pltexit): Likewise.
72940         (La_regs): Likewise.
72941         (La_retval): Likewise.
72942         (int_retval): Likewise.
72943         Update #error for removed macros to refer only to definitions in
72944         tst-audit.h.
72945         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72946         macro.
72947         (pltexit): Likewise.
72948         (La_regs): Likewise.
72949         (La_retval): Likewise.
72950         (int_retval): Likewise.
72951         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72952         macro.
72953         (pltexit): Likewise.
72954         (La_regs): Likewise.
72955         (La_retval): Likewise.
72956         (int_retval): Likewise.
72957         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72958         macro.
72959         (pltexit): Likewise.
72960         (La_regs): Likewise.
72961         (La_retval): Likewise.
72962         (int_retval): Likewise.
72963         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72964         macro.
72965         (pltexit): Likewise.
72966         (La_regs): Likewise.
72967         (La_retval): Likewise.
72968         (int_retval): Likewise.
72969         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72970         macro.
72971         (pltexit): Likewise.
72972         (La_regs): Likewise.
72973         (La_retval): Likewise.
72974         (int_retval): Likewise.
72975         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72976         macro.
72977         (pltexit): Likewise.
72978         (La_regs): Likewise.
72979         (La_retval): Likewise.
72980         (int_retval): Likewise.
72981         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72982         macro definitions in tst-audit.h.
72983         * sysdeps/i386/tst-audit.h: New file.
72984         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72985         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72986         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72987         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72988         * sysdeps/sh/tst-audit.h: Likewise.
72989         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72990         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72991         * sysdeps/x86_64/tst-audit.h: Likewise.
72993 2012-07-26  Andreas Jaeger  <aj@suse.de>
72995         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72996         ptrace.
72998         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72999         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73000         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73001         PTRACE_O_MASK.
73002         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73003         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73004         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73006         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73007         value.
73009         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73010         _sigsys.
73011         (si_call_addr, si_syscall, si_arch): Define new macro.
73012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73013         _sigsys.
73014         (si_call_addr, si_syscall, si_arch): Define new marcro.
73015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73016         _sigsys.
73017         (si_call_addr, si_syscall, si_arch): Define new macro.
73018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73019         _sigsys.
73020         (si_call_addr, si_syscall, si_arch): Define new macro.
73022 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73024         [BZ #13717]
73025         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73026         Change to 2.4.21 where previously 2.4.1.
73027         * sysdeps/unix/sysv/linux/configure: Regenerated.
73028         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73029         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73030         Linux kernel version.
73031         (__ASSUME_STD_AUXV): Remove.
73032         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73033         kernel version.
73034         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73035         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73036         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73037         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73038         (__ASSUME_NETLINK_SUPPORT): Likewise.
73039         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73040         (__no_netlink_support): Remove conditional definition.
73041         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73042         Remove.
73043         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73044         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73045         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73046         (if_nameindex_ioctl): Remove.
73047         (if_nameindex_netlink): Do not handle __no_netlink_support.
73048         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73049         code.
73050         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73051         Remove conditional code.
73052         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73053         code.
73054         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73055         unconditional.
73056         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73057         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73058         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73059         Remove.
73060         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73061         [!__ASSUME_STD_AUXV]: Remove conditional code.
73062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73063         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73064         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73066         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73067         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73068         code.
73069         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73071         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73072         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73073         conditional code.
73074         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73076         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73077         code.
73078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73079         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73080         conditional code.
73081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73082         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73083         code unconditional.
73084         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73085         conditional code.
73086         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73087         unconditional.
73088         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73089         conditional code.
73090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73091         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73092         unconditional.
73093         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73094         conditional code.
73095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73096         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73097         code unconditional.
73098         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73099         conditional code.
73100         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73101         unconditional.
73102         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73103         conditional code.
73104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73105         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73106         code unconditional.
73107         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73108         conditional code.
73109         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73110         unconditional.
73111         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73112         conditional code.
73114 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73116         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73117         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73118         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73119         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73120         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73121         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73122         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73123         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73124         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73125         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73126         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73127         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73128         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73129         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73131         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73132         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73133         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73134         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73136         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73137         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73138         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73140 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73142         * Versions.def: Add GLIBC_2.17.
73143         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73144         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73145         Introduce __libc_secure_getenv.
73146         * stdlib/Versions (2.17): Add secure_getenv
73147         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73148         * stdlib/secure-getenv.c: Rename __secure_getenv to
73149         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73150         symbol __secure_getenv for GLIBC_2.0.
73151         * stdlib/tst-secure-getenv.c: New.
73152         * stdlib/Makefile (tests): Add testcase.
73153         * manual/startup.texi (Environment Access): Document
73154         secure_getenv.
73155         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73156         __libc_secure_getenv.
73157         * inet/ruserpass.c (ruserpass): Likewise.
73158         * malloc/mtrace.c (mtrace): Likewise.
73159         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73160         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73161         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73162         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73163         HAVE_SECURE_GETENV.
73164         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73165         __secure_getenv to __libc_secure_getenv.
73166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73168         Likewise.
73169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73170         Likewise.
73171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73179 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73181         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73182         (struct La_i86_retval): Likewise.
73183         (struct La_x86_64_regs): Likewise.
73184         (struct La_x86_64_retval): Likewise.
73185         (struct La_x32_regs): Likewise.
73186         (struct La_x32_retval): Likewise.
73187         (struct La_ppc32_regs): Likewise.
73188         (struct La_ppc32_retval): Likewise.
73189         (struct La_ppc64_regs): Likewise.
73190         (struct La_ppc64_retval): Likewise.
73191         (struct La_sh_regs): Likewise.
73192         (struct La_sh_retval): Likewise.
73193         (struct La_s390_32_regs): Likewise.
73194         (struct La_s390_32_retval): Likewise.
73195         (struct La_s390_64_regs): Likewise.
73196         (struct La_s390_64_retval): Likewise.
73197         (struct La_sparc32_regs): Likewise.
73198         (struct La_sparc32_retval): Likewise.
73199         (struct La_sparc64_regs): Likewise.
73200         (struct La_sparc64_retval): Likewise.
73201         (struct audit_ifaces): Remove architecture-specific pltenter and
73202         pltexit members.
73203         * sysdeps/i386/ldsodefs.h: New file.
73204         * sysdeps/powerpc/ldsodefs.h: Likewise.
73205         * sysdeps/s390/ldsodefs.h: Likewise.
73206         * sysdeps/sh/ldsodefs.h: Likewise.
73207         * sysdeps/sparc/ldsodefs.h: Likewise.
73208         * sysdeps/x86_64/ldsodefs.h: Likewise.
73210 2012-07-25  Marek Polacek  <polacek@redhat.com>
73212         [BZ #6808]
73213         * math/libm-test.inc (yn_test): Add another test.
73214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73215         to ERANGE when the result is +-Inf.
73216         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73219         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73221 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73223         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73224         equal to 0.
73225         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73226         clock_t.
73227         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73229 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73231         * configure.in <sysdeps resolving>: Correct printing
73232         Implies_before.
73233         * configure: Regenerate.
73235 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73237         * math/w_ilogb.c: Include <limits.h>.
73238         * math/w_ilogbl.c: Likewise.
73240 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73242         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73243         va_copy.  Document allowing for unavailable va_copy only as
73244         pre-C99 compatibility.
73245         * manual/string.texi (Copying and Concatenation): Use va_copy
73246         instead of __va_copy in concat example.
73248 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73250         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73251         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73252         it if not null.
73254         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73255         with O_NOLINK passed to __file_name_lookup.
73257         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73258         with O_NOLINK passed to __file_name_lookup.
73260         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73261         negative N or less than NGIDS.
73263         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73264         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73265         enough.  Use memcpy instead of strncpy.
73267 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73269         * elf/Makefile (check-data): Remove.
73270         (localplt.data): New vpath directive.
73271         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73272         instead of $(check-data).
73273         * scripts/data/localplt-generic.data: Move to ...
73274         * sysdeps/generic/localplt.data: ... here.
73275         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73276         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73277         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73279         ... here.
73280         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73282         ... here.
73283         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73285         ... here.
73286         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73288         ... here.
73289         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73291         ... here.
73292         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73294         ... here.
73296 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73298         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73299         PPC32 and PPC64 files.
73300         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73301         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73303 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73305         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73306         __makecontext_ret to ...
73307         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73308         ... here and call exit if uc_link is NULL.  New file.
73309         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73310         __makecontext_ret.S.
73311         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73312         __makecontext_ret to ...
73313         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73314         ... here and call exit if uc_link is NULL.  New file.
73315         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73316         __makecontext_ret.S.
73318 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73320         * elf/elf.h (R_390_IRELATIVE): New definition.
73321         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73322         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73323         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73324         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73325         (elf_machine_lazy_rel): Likewise.
73326         * sysdeps/s390/dl-irel.h: New file.
73327         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73328         * sysdeps/s390/s390-64/memset.S: New asm code.
73329         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73330         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73332         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73333         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73334         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73335         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73336         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73337         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73338         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73339         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73340         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73341         * sysdeps/s390/s390-32/memset.S: New asm code.
73342         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73344 2012-07-17  Marek Polacek  <polacek@redhat.com>
73346         [BZ #14349]
73347         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73348         * sysdeps/s390/s390-64/configure.in: Likewise.
73349         * sysdeps/sparc/configure.in: Likewise.
73350         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73351         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73352         * sysdeps/i386/configure.in: Likewise.
73353         * sysdeps/x86_64/configure.in: Likewise.
73354         * sysdeps/sh/configure.in: Likewise.
73355         * sysdeps/s390/s390-32/configure: Regenerated.
73356         * sysdeps/s390/s390-64/configure: Likewise.
73357         * sysdeps/x86_64/configure: Likewise.
73358         * sysdeps/sh/configure: Likewise.
73359         * sysdeps/powerpc/powerpc64/configure: Likewise.
73360         * sysdeps/powerpc/powerpc32/configure: Likewise.
73361         * sysdeps/sparc/configure: Likewise.
73362         * sysdeps/i386/configure: Likewise.
73364         * elf/dl-open.c: Comment fixes.
73366 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73368         * Makefile [CXX] (check-data): Remove.
73369         [CXX] (c++-types.data): New vpath directive.
73370         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73371         vpath.  Do not allow for C++ type data being missing.
73372         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73373         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73374         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73375         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73376         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73377         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73378         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73380         ... here.
73381         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73383         ... here.
73384         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73386         ... here.
73387         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73389         ... here.
73390         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73392         ... here.
73393         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73395         ... here.
73396         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73398         ... here.
73399         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73402         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73403         definitions to architecture-specific files.
73404         (TLS_IE): Likewise.
73405         (TLS_LD): Likewise.
73406         (TLS_GD): Likewise.
73407         * sysdeps/i386/tls-macros.h: New file.
73408         * sysdeps/powerpc/tls-macros.h: Likewise.
73409         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73410         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73411         * sysdeps/sh/tls-macros.h: Likewise.
73412         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73413         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73414         * sysdeps/x86_64/tls-macros.h: Likewise.
73416 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73418         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73419         zero value for regular exit case.
73421         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73422         (__start_context): Preserve zero value for regular exit case.
73424 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73425             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73427         * manual/setjmp.texi (setcontext): Clarify normal process
73428         termination when uc_link is the null pointer.
73429         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73430         exit call.
73432 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73434         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73435         preprocessor.  Test for each exception mask separately.
73437 2012-07-16  Andreas Jaeger  <aj@suse.de>
73439         * po/ru.po: Update from translation team.
73441 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73443         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73444         equal to 0.
73445         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73446         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73447         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73448         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73451 2012-07-13  Andreas Jaeger  <aj@suse.de>
73453         * po/fr.po: Update from translation team.
73455 2012-07-12  Marek Polacek  <polacek@redhat.com>
73457         [BZ #14173]
73458         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73459         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73460         loop condition.
73462 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73464         [BZ #13717]
73465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73466         Change to 2.4.1 where previously 2.4.0.
73467         * sysdeps/unix/sysv/linux/configure: Regenerated.
73468         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73469         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73470         version.
73471         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73472         (__ASSUME_AT_CLKTCK): Remove.
73473         (__ASSUME_AT_PAGESIZE): Likewise.
73474         (__ASSUME_AT_XID): Likewise.
73475         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73476         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73477         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73478         unconditionally.
73479         (HAVE_AUX_PAGESIZE): Likewise.
73480         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73481         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73482         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73484 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73486         [BZ #14307]
73487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73488         the temporary buffer used to invoke __gethostbyname2_r,
73489         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73490         host_data / struct gaih_addrtuple.
73491         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73492         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73493         header file nss/nsswitch.h.
73494         * nss/nsswitch.h (global scope): Add definition of implementation
73495         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73496         resolv/nss_dns/dns-host.c).
73498 2012-07-11  Andreas Jaeger  <aj@suse.de>
73500         * po/fr.po: Update from translation team.
73502         * po/sv.po: Update from translation team
73503         * po/fr.po: Another update from translation team.
73505 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73507         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73508         for subnormals or multiply small sinh result by itself.
73509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73512 2012-07-11  David S. Miller  <davem@davemloft.net>
73514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73516 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73518         [BZ #14347]
73519         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73520         (INTERNAL_MARK): Shift it here.
73522 2012-07-10  Marek Polacek  <polacek@redhat.com>
73524         [BZ #14151]
73525         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73526         libc_cv_asm_global_directive with .globl.
73527         * configure: Regenerated.
73528         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73529         with .globl.
73530         * sysdeps/i386/configure: Regenerated.
73531         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73532         with .globl.
73533         * sysdeps/x86_64/configure: Regenerated.
73534         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73535         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73536         * elf/tst-unique2mod2.c: Likewise.
73537         * elf/tst-unique2mod1.c: Likewise.
73538         * elf/tst-unique1mod2.c: Likewise.
73539         * elf/tst-unique1mod1.c: Likewise.
73540         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73541         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73542         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73543         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73544         * sysdeps/mach/sysdep.h: Likewise.
73545         * sysdeps/i386/sysdep.h: Likewise.
73546         * sysdeps/i386/i386-mcount.S: Likewise.
73547         * sysdeps/x86_64/_mcount.S: Likewise.
73548         * sysdeps/x86_64/sysdep.h: Likewise.
73549         * sysdeps/sh/_mcount.S: Likewise.
73550         * sysdeps/sh/sysdep.h: Likewise.
73551         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73552         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73553         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73554         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73555         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73556         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73557         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73558         * locale/localeinfo.h: Likewise.
73559         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73560         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73562 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73564         [BZ #14336]
73565         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73566         system".
73567         * manual/message.texi (The Uniforum approach): Likewise.
73568         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73569         (glibc iconv Implementation): Likewise.
73571 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73573         [BZ #14337]
73574         * math/s_clog.c (__clog): Avoid scaling a value down where that
73575         could result in underflow.
73576         * math/s_clog10.c (__clog10): Likewise.
73577         * math/s_clog10f.c (__clog10f): Likewise.
73578         * math/s_clog10l.c (__clog10l): Likewise.
73579         * math/s_clogf.c (__clogf): Likewise.
73580         * math/s_clogl.c (__clogl): Likewise.
73581         * math/libm-test.inc (clog_test): Add more tests.
73582         (clog10_test): Likewise.
73583         * sysdeps/i386/fpu/libm-test-ulps: Update.
73584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73586 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73588         [BZ #14283]
73589         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73590         by 7 not 8 to examine high bit of fractional part.
73592         [BZ #14042]
73593         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73594         for call to __mcount_internal.
73595         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73596         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73597         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73599 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73601         [BZ #14154]
73602         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73603         approximation for values within 0x1p-13f of an odd multiple of
73604         pi/4.
73605         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73606         exception.  Add more tests.
73607         * sysdeps/i386/fpu/libm-test-ulps: Update.
73609         [BZ #6778]
73610         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73611         inputs and return -1 for them.  Do not check for +Inf in case not
73612         reachable for +Inf.
73613         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73614         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73615         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73616         and return -1 for them.  Do not check for +Inf in case not
73617         reachable for +Inf.
73618         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73619         define.
73620         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73621         and return -1 for them.  Do not check for +Inf in case not
73622         reachable for +Inf.
73623         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73624         spurious underflow.
73625         * sysdeps/i386/fpu/libm-test-ulps: Update.
73626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73628 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73630         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73632 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73634         [BZ #14157]
73635         [BZ #14331]
73636         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73637         could result in spurious underflow.  Scale down values above
73638         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73639         * math/s_csqrtf.c (__csqrtf): Likewise.
73640         * math/s_csqrtl.c (__csqrtl): Likewise.
73641         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73642         spurious underflow.
73643         * sysdeps/i386/fpu/libm-test-ulps: Update.
73644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73646 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73648         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73649         xopen-msg.sed.
73650         * catgets/xopen-msg.awk: New file.
73651         * catgets/xopen-msg.sed: Removed.
73653         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73654         po2text.sed.
73655         * intl/po2test.awk: New file.
73656         * intl/po2test.sed: Removed.
73658 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73660         [BZ #14328]
73661         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73662         or multiply small sinh result by itself.
73663         * math/s_ctanf.c (__ctanf): Likewise.
73664         * math/s_ctanh.c (__ctanh): Likewise.
73665         * math/s_ctanhf.c (__ctanhf): Likewise.
73666         * math/s_ctanhl.c (__ctanhl): Likewise.
73667         * math/s_ctanl.c (__ctanl): Likewise.
73668         * math/libm-test.inc (ctan_test_tonearest): New function.
73669         (ctan_test_towardzero): Likewise.
73670         (ctan_test_downward): Likewise.
73671         (ctan_test_upward): Likewise.
73672         (ctanh_test_tonearest): Likewise.
73673         (ctanh_test_towardzero): Likewise.
73674         (ctanh_test_downward): Likewise.
73675         (ctanh_test_upward): Likewise.
73676         (main): Call these new functions.
73677         * sysdeps/i386/fpu/libm-test-ulps: Update.
73678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73680 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73682         * .gitignore: Delete /ports entry.
73684 2012-07-03  Andreas Jaeger  <aj@suse.de>
73686         * po/bg.po: Update from translation team.
73687         * po/cs.po: Likewise.
73688         * po/de.po: Likewise.
73689         * po/hr.po: Likewise.
73690         * po/nl.pl: Likewise.
73691         * po/pl.po: Likewise.
73692         * po/vi.po: Likewise.
73694 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73696         * Makeconfig [!+link] (+link-before-libc): New variable.
73697         [!+link] (+link-after-libc): Likewise.
73698         [!+link] (+link-tests): Likewise.
73699         [!+link] (+link): Define in terms of $(+link-before-libc) and
73700         $(+link-after-libc).
73701         [!+link-static] (+link-static-before-libc): New variable.
73702         [!+link-static] (+link-static-after-libc): Likewise.
73703         [!+link-static] (+link-static-tests): Likewise.
73704         [!+link-static] (+link-static): Define in terms of
73705         $(+link-static-before-libc) and $(+link-static-after-libc).
73706         [build-shared] (link-libc-before-gnulib): New variable.
73707         [build-shared] (link-libc-tests): Likewise.
73708         [build-shared] (link-libc): Define in terms of
73709         $(link-libc-before-gnulib).
73710         [!build-shared] (link-libc-tests): New variable.
73711         (link-libc-static-tests): New variable.
73712         [!gnulib] (gnulib-arch): New variable.
73713         [!gnulib] (gnulib-tests): Likewise.
73714         [!gnulib] (static-gnulib-arch): Likewise.
73715         [!gnulib] (static-gnulib-tests): Likewise.
73716         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73717         Define with "=" instead of ":=".
73718         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73719         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73720         * Rules (binaries-all-notests): New variable.
73721         (binaries-all-tests): Likewise.
73722         (binaries-static-notests): Likewise.
73723         (binaries-static-tests): Likewise.
73724         (binaries-all): Define using $(binaries-all-notests) and
73725         $(binaries-all-tests).
73726         (binaries-static): Define using $(binaries-static-notests) and
73727         $(binaries-static-tests).
73728         (binaries-shared-tests): New variable.
73729         (binaries-shared-notests): Likewise.
73730         (binaries-shared): Remove variable.
73731         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73732         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73733         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73734         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73735         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73736         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73737         * elf/Makefile (sln-modules): New variable.
73738         (extra-objs): Add $(sln-modules:=.o).
73739         (ldconfig-modules): Add static-stubs.
73740         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73741         * elf/static-stubs.c: New file.
73743         [BZ #14283]
73744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73745         by 7 not 8 to examine high bit of fractional part.  Use volatile
73746         variables when splitting into final array of floats if
73747         __FLT_EVAL_METHOD__ != 0.
73748         * math/libm-test.inc (cos_test): Add another test.
73749         (sin_test): Likewise.
73750         * sysdeps/i386/fpu/libm-test-ulps: Update.
73752         [BZ #14273]
73753         * math/libm-test.inc (cosh_test): Add more tests.
73755         * version.h (RELEASE): Set to "development".
73756         (VERSION): Set to "2.16.90".
73758 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73760         * NEWS: Update copyright. Remove last-updated date.
73761         Mention math library bug fixes and timezone data changes.
73762         * README: Mention GNU/Hurd, x32, and HPPA support status.
73764 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73766         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73768 2012-06-27  Andreas Jaeger  <aj@suse.de>
73770         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73772 2012-06-25  Andreas Jaeger  <aj@suse.de>
73774         * sysdeps/s390/fpu/libm-test-ulps: Update.
73776 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73777             Thomas Schwinge  <thomas@codesourcery.com>
73779         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73780         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73781         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73782         fanotify_mark.
73784 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73786         * sysdeps/mach/start.c: Remove file.
73787         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73788         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73789         * sysdeps/sh/init-first.c: Likewise.
73791         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73792         registers for frame unwinding purposes, add CFI directives.
73793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73794         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73795         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73796         Likewise.
73798         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73799         __fortify_fail returning.
73800         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73802         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73803         sysdeps/sh/____longjmp_chk.S.
73804         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73805         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73806         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73807         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73809         * sysdeps/sh/abort-instr.h: New file.
73810         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73811         process in case exit returns.
73813         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73814         initialize the GOT register before use.
73816         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73817         calculation of ARGC > 4.
73819         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73820         meaningful names to some local labels.
73822 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73823             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73825         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73826         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73827         (__arch_compare_and_exchange_val_16_acq): Likewise.
73828         (__arch_compare_and_exchange_val_32_acq): Likewise.
73829         (atomic_exchange_and_add): Fix gUSA sequence.
73830         (atomic_add): Likewise.
73831         (atomic_add_negative): Likewise.
73832         (atomic_add_zero): Likewise.
73833         (atomic_bit_test_set): Likewise.
73835 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73837         [BZ #13579]
73838         * include/link.h (struct link_map): Add l_free_initfini.
73839         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73840         l_initfini.
73841         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73842         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73843         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73844         set.
73846 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73848         * configure.in: Use AC_LANG_SOURCE.
73849         * configure: Regenerate.
73851 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73853         * configure.in (libc_cv_localstatedir): New substituted variable.
73854         * configure: Regenerated.
73855         * config.make.in (localstatedir): New variable, substituted from
73856         libc_cv_localstatedir.
73857         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73858         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73859         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73860         * sysdeps/gnu/configure: Regenerated.
73862 2012-06-21  Jeff Law  <law@redhat.com>
73864         [BZ #14277]
73865         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73866         free.  Simplify list management for _LIBC case.
73868 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73870         [BZ #14273]
73871         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73872         Clear sign bit of 64-bit integer value before comparing against
73873         overflow value.
73875         * sysdeps/mach/configure: Regenerated.
73877 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73879         [BZ #14278]
73880         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73882 2012-06-21  Jeff Law  <law@redhat.com>
73884         [BZ #13882]
73885         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73886         uint16_t for elements in the "seen" array to avoid char overflows.
73887         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73888         * elf/dl-open.c (dl_open_worker): Likewise.
73890 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73892         * scripts/list-sources.sh: Scan PORTS for translations.
73893         * po/libc.pot: Regenerated.
73895 2012-06-21  Andreas Jaeger  <aj@suse.de>
73897         [BZ #12194]
73898         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73899         warning.
73900         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73901         * bits/byteswap-16.h (__bswap_16): Likewise.
73902         * bits/byteswap.h (__bswap_constant_16): Likewise.
73904 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73906         [BZ #14117]
73907         * sysdeps/i386/fpu_control.h: Removed.
73908         * sysdeps/x86_64/fpu_control.h: Moved to ...
73909         * sysdeps/x86/fpu_control.h: Here.
73911         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73912         (_FPU_SETCW): Likewise.
73914 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73916         [BZ #14117]
73917         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73918         * sysdeps/x86/fpu/bits/mathinline.h: This.
73919         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73921         [BZ #14050]
73922         [BZ #14117]
73923         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73924         functions if __x86_64__ is defined.
73926 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73928         * string/endian.h: Add !__ASSEMBLER__ condition for including
73929         conversion interfaces.
73931 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73933         [BZ #14241]
73934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73935         of ABS(x) in calculating zero to negative powers other than odd
73936         integers.
73937         * math/libm-test.inc (pow_test): Add more tests.
73939 2012-06-15  Andreas Jaeger  <aj@suse.de>
73941         * manual/contrib.texi (Contributors): Update entry of Liubov
73942         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73943         Machado Filho.
73945 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73947         * string/string.h: Add __wur to GNU version of strerror_r.
73949 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73951         [BZ #14229]
73952         * string/Makefile (tests): Add tst-strtok_r.
73953         * string/tst-strtok_r.c: New file.
73954         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73955         RAX_LP/RDX_LP on SAVE_PTR.
73957 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73959         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73961 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73963         * libm_test.inc (csqrt_test): Allow more spurious underflow
73964         exceptions.
73965         (j0_test): Likewise.
73966         (j1_test): Likewise.
73967         (y0_test): Likewise.
73968         (y1_test): Likewise.
73970 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73972         * po/Makefile (libc.pot): Use UTF-8 charset.
73974 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73976         [BZ #14210]
73977         Suppress sign-conversion warning from FD_SET.
73978         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73979         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73980         not unsigned long int.
73981         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73983 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73985         [BZ #14050]
73986         [BZ #14117]
73987         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73988         __extern_always_inline instead of __extern_inline.
73989         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73990         (__signbit): Likewise.
73991         (__signbitl): Support C++ namespace.
73992         (lrintf): New inline function.
73993         (lrint): Likewise.
73994         (llrintf): Likewise.
73995         (llrint): Likewise.
73996         (fmaxf): Likewise.
73997         (fmax): Likewise.
73998         (fminf): Likewise.
73999         (fmin): Likewise.
74000         (rint): Likewise.
74001         (rintf): Likewise.
74002         (ceil): Likewise.
74003         (ceilf): Likewise.
74004         (floor): Likewise.
74005         (floorf): Likewise.
74006         (nearbyint): Likewise.
74007         (nearbyintf): Likewise.
74009 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74011         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74012         non-default versions.
74014 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74016         [BZ #14218]
74017         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74019 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74021         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74022         (FE_UPWARD, FE_DOWNWARD): Don't define.
74023         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74024         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74026         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74027         reading it.
74028         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74029         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74031 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74033         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74035         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74036         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74038 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74040         [BZ #14117]
74041         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74042         * sysdeps/i386/fpu/Implies: New file.
74043         * sysdeps/x86_64/fpu/Implies: Likewise.
74044         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74045         * sysdeps/x86/fpu/bits/fenv.h: This.
74047         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74048         __SSE_MATH__.
74050 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74052         [BZ #14134]
74053         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74054         character 0xffff that matches the last element of the
74055         conversion table.
74057 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74059         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74060         fmodl commit.
74062 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74065         values higher than 25.6283.
74067 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74069         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74070         subnormal exponent extraction and add some __builtin_expect.
74071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74072         Fix for subnormal mantissa calculation.
74074 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74076         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74077         cpu2 is -1 and errno is not ENOSYS.
74079 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74081         [BZ #14117]
74082         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74083         * sysdeps/x86/bits/string.h: This.
74084         * sysdeps/x86_64/bits/string.h: Removed.
74086         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74087         if not compiling for x86-64, but compiling for >= i486.
74089         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74090         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74092         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74093         New macro from Linux kernel 3.4.0.
74094         (FP_XSTATE_MAGIC2): Likewise.
74095         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74096         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74097         (struct _fpx_sw_bytes): New struct.
74098         (struct _xsave_hdr): Likewise.
74099         (struct _ymmh_state): Likewise.
74100         (struct _xstate): Likewise.
74102         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74103         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74104         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74105         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74106         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74107         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74109         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74111         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74112         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74113         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74114         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74116 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74118         [BZ #13743]
74119         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74120         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74121         (sysdep_headers): Include sys/platform/ppc.h.
74122         * sysdeps/powerpc/test-gettimebase.c: Test for
74123         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74124         * manual/Makefile (appendices): Include platform.texi.
74125         * manual/contrib.texi (Contributors): Update @node pointers.
74126         * manual/maint.texi (Maintenance): Likewise.
74127         (Platform): New node.
74128         * manual/platform.texi: New file.  Document the new features.
74130 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74131             Jakub Jelinek  <jakub@redhat.com>
74133         [BZ #14188]
74134         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74135         where __builtin_expect is unavailable.
74137 2012-06-03  David S. Miller  <davem@davemloft.net>
74139         * stdlib/longlong.h: Updated from GCC.
74141 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74143         [BZ #14042]
74144         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74145         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74146         __mcount_internal.
74147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74148         (GLIBC_2.16): Likewise.
74150 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74152         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74154 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74157         (default-abi): New variable.
74158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74159         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74160         variable.
74161         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74162         Likewise.
74163         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74164         Likewise.
74165         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74166         Likewise.
74168         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74169         definition.  Document in comment.
74171 2012-06-01  David S. Miller  <davem@davemloft.net>
74173         * stdlib/longlong.h: Updated from GCC.
74175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74177         [BZ #14117]
74178         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74179         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74180         sys/debugreg.h sys/io.h here.
74181         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74182         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74183         sys/io.h.
74184         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74185         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74186         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74187         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74188         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74189         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74191         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74192         Define only if __x86_64__ is defined.
74194 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74196         [BZ #14048]
74197         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74198         Use int64_t for variable i.
74199         * math/libm-test.inc (fmod_test): Add more tests.
74201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74202         z computation is not scheduled after fetestexcept.
74203         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74204         Use math_force_eval instead of asm to ensure calculation scheduled
74205         before exception test.
74206         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74207         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74209 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74212         computation is not scheduled after fetestexcept.
74214 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74216         [BZ #14117]
74217         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74218         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74220 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74222         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74223         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74225 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74227         [BZ #14117]
74228         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74229         <bits/wordsize.h>.
74230         (__WCHAR_MIN): Support __WORDSIZE == 64.
74231         (__WCHAR_MAX): Likewise.
74233         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74234         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74236         [BZ #14183]
74237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74238         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74240         [BZ #14117]
74241         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74242         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74244         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74245         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74247         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74248         Defined to 1 if __x86_64__ isn't defined.
74249         (_STAT_VER_LINUX_OLD): New.
74250         (st_atime): Remove duplicate.
74251         (st_mtime): Likewise.
74252         (st_ctime): Likewise.
74254 2012-05-31  David S. Miller  <davem@davemloft.net>
74256         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74257         entries.
74259 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74261         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74262         gen-libm-test.pl.
74264         [BZ #14132]
74265         * elf/dl-reloc.c: Include <_itoa.h>.
74266         (_dl_reloc_bad_type): Remove use of INTUSE.
74267         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74268         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74269         * stdio-common/psiginfo.c (psiginfo): Likewise.
74270         * stdio-common/psignal.c (psignal): Likewise.
74271         * string/strsignal.c (strsignal): Likewise.
74272         * include/signal.h (_sys_siglist): Declare hidden proto.
74273         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74274         INTVARDEF with libc_hidden_data_def.
74275         * stdio-common/itoa-udigits.c: Likewise.
74276         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74277         (_itoa_lower_digits_internal): Remove declaration.
74278         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74279         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74280         (_sys_sigabbrev_internal): Remove aliases.
74281         (_sys_siglist): Define hidden alias.
74283 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74286         bits/sysctl.h.
74288 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74290         [BZ #14117]
74291         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74292         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74294         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74295         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74296         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74297         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74298         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74299         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74301         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74302         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74303         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74305         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74306         with __addr.
74307         (insw): Likewise.
74308         (insl): Likewise.
74309         (outsb): Likewise.
74310         (outsw): Likewise.
74311         (outsl): Likewise.
74313         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74315         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74317         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74318         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74319         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74321         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74322         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74324         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74325         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74327         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74328         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74332         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74334         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74335         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74336         to ...
74337         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74339         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74340         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74341         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74343         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74344         for x86-64.
74345         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74347 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74349         * math/math.h (M_El): Use two more decimal places.
74350         (M_LOG2El): Likewise.
74351         (M_LOG10El): Likewise.
74352         (M_LN2l): Likewise.
74353         (M_LN10l): Likewise.
74354         (M_PIl): Likewise.
74355         (M_PI_2l): Likewise.
74356         (M_PI_4l): Likewise.
74357         (M_1_PIl): Likewise.
74358         (M_2_PIl): Likewise.
74359         (M_2_SQRTPIl): Likewise.
74360         (M_SQRT2l): Likewise.
74361         (M_SQRT1_2l): Likewise.
74363 2012-05-31  David S. Miller  <davem@davemloft.net>
74365         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74366         values between float registers.
74367         * sysdeps/sparc/sparc64/memset.S: Likewise.
74368         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74370 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74372         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74373         -D_FORTIFY_SOURCE=1.
74374         (CPPFLAGS-tst-longjmp_chk.c): Define.
74375         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74376         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74377         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74378         CFLAGS-tst-wchar-h.c.
74380 2012-05-31  Marek Polacek  <polacek@redhat.com>
74382         [BZ #14132]
74383         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74384         __endmntent_internal): Remove declaration.
74385         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74386         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74387         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74389 2012-05-30  David S. Miller  <davem@davemloft.net>
74391         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74392         (___Q_simulate_exceptions): Use real FP ops rather than writing
74393         into the %fsr.
74394         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74395         Likewise.
74397 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74399         [BZ #14117]
74400         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74401         * sysdeps/x86/bits/xtitypes.h: This.
74403         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74404         * sysdeps/x86/bits/wordsize.h: This.
74406         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74407         * sysdeps/x86/bits/huge_vall.h: This.
74409         * sysdeps/i386/bits/select.h: Removed.
74410         * sysdeps/x86_64/bits/select.h: Renamed to ...
74411         * sysdeps/x86/bits/select.h: This.
74413         * sysdeps/i386/bits/setjmp.h: Removed.
74414         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74415         * sysdeps/x86/bits/setjmp.h: This.
74417         * sysdeps/i386/bits/mathdef.h: Removed.
74418         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74419         * sysdeps/x86/bits/mathdef.h: This.
74421 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74423         [BZ #14132]
74424         * include/sys/socket.h (__connect_internal)
74425         (__libc_sa_len_internal): Remove declaration.
74426         (__connect, __libc_sa_len): Declare hidden_proto.
74427         (SA_LEN): Remove use of INTUSE.
74428         * socket/connect.c: Add libc_hidden_def.
74429         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74430         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74431         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74432         alias.
74433         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74435         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74436         of adding _internal alias.
74438 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74440         [BZ #14117]
74441         * sysdeps/i386/bits/link.h: Removed.
74442         * sysdeps/i386/bits/linkmap.h: Likewise.
74443         * sysdeps/x86_64/bits/link.h: Renamed to ...
74444         * sysdeps/x86/bits/link.h: This.
74445         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74446         * sysdeps/x86/bits/linkmap.h: This.
74448         * sysdeps/i386/bits/endian.h: Removed.
74449         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74450         * sysdeps/x86/bits/endian.h: This.
74452         * sysdeps/i386/bits/byteswap.h: Removed.
74453         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74454         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74455         * sysdeps/x86/bits/byteswap.h: This.
74456         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74457         * sysdeps/x86/bits/byteswap-16.h: This.
74458         * sysdeps/i386/Implies: Add x86.
74459         * sysdeps/x86_64/Implies: Likewise.
74461 2012-05-30  David S. Miller  <davem@davemloft.net>
74463         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74464         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74465         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74466         (FP_TRAPPING_EXCEPTIONS): Define.
74467         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74468         (FP_TRAPPING_EXCEPTIONS): Define.
74469         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74470         subnormals only when inexact has been signalled or underflow
74471         exceptions are enabled.
74472         (_FP_PACK_CANONICAL): Likewise.
74474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74476         [BZ #14183]
74477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74478         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74480 2012-05-30  Richard Henderson  <rth@twiddle.net>
74482         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74483         with #ifndef NOT_IN_libc.
74485         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74486         marked to avoid plt entry.
74488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74490         [BZ #14112]
74491         * Makeconfig (default-abi): New macro.
74492         (abi-includes): Likewise.
74493         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74494         $(abi-$(default-abi)-lib-soname) for soname if defined.
74495         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74496         abi-variants.
74497         * Makefile (installed-stubs): Likewise.
74498         * include/stubs-biarch.h: Removed.
74499         * scripts/lib-names.awk: Only handle one library at a time.
74500         * scripts/soversions.awk: Remove WORDSIZE support.
74501         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74502         entries.
74503         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74504         Removed.
74505         (syscall-list-default-condition): Likewise.
74506         (syscall-list-default-condition): Likewise.
74507         (syscall-list-includes): Likewise.
74508         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74509         syscall-list-* with abi-*.  Handle undefined abi-variants.
74510         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74511         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74512         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74513         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74514         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74515         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74516         Removed.
74517         (syscall-list-32-options): Likewise.
74518         (syscall-list-32-condition): Likewise.
74519         (syscall-list-64-options): Likewise.
74520         (syscall-list-64-condition): Likewise.
74521         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74522         macro.
74523         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74524         Renamed to ...
74525         (abi-*): This.
74526         (abi-64-ld-soname): New macro.
74527         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74528         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74529         Renamed to ...
74530         (abi-*): This.
74531         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74532         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74534 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74536         * sysdeps/unix/sysv/linux/kernel-features.h
74537         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74538         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74539         include <kernel-features.h>.
74540         [!__NR_ftruncate64]: Remove conditional code.
74541         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74542         [__NR_ftruncate64]: Make code unconditional.
74543         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74544         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74545         include <kernel-features.h>.
74546         [!__NR_ftruncate64]: Remove conditional code.
74547         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74548         [__NR_ftruncate64]: Make code unconditional.
74549         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74551         include <kernel-features.h>.
74552         [!__NR_ftruncate64]: Remove conditional code.
74553         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74554         [__NR_ftruncate64]: Make code unconditional.
74555         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74557         include <kernel-features.h>.
74558         [!__NR_ftruncate64]: Remove conditional code.
74559         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74560         [__NR_ftruncate64]: Make code unconditional.
74561         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74563         * configure.in (libc_cv_fpie): Weaken to a compile test using
74564         LIBC_TRY_CC_OPTION.
74565         * configure: Regenerated.
74567 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74573         Refreshed.
74574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74580         Refreshed.
74582 2012-05-27  David S. Miller  <davem@davemloft.net>
74584         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74585         (___Q_zero): New.
74586         (__Q_simulate_exceptions): Return void.  Change to simulate
74587         exceptions by writing into the %fsr.
74588         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74589         (__Qp_handle_exceptions): Likewise.
74590         (numbers): Delete.
74591         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74592         __Qp_handle_exceptions.
74593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74594         __Qp_handle_exceptions.
74595         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74596         as unused and give dummy FP_RND_NEAREST initializer.
74597         (FP_INHIBIT_RESULTS): Define.
74598         (___Q_simulate_exceptions): Update declaration.
74599         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74600         formatting.
74601         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74602         as unused and give dummy FP_RND_NEAREST initializer.
74603         (__Qp_handle_exceptions): Update declaration.
74604         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74605         formatting.
74607 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74609         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74610         the temporary FPU control word.
74611         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74612         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74613         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74614         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74615         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74616         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74617         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74618         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74619         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74620         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74621         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74623 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74625         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74626         fields.
74628 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74630         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74631         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74632         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74633         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74634         Likewise.
74635         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74636         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74637         Likewise.
74639 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74641         * po/h.po: Update from translation team.
74643 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74645         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74647         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74648         handling of denormals.
74649         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74650         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74651         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74652         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74656         Likewise.
74658 2012-05-26  Marek Polacek  <polacek@redhat.com>
74660         [BZ #14152]
74661         * math/libm-test.inc (fma_test): Don't always expect underflow
74662         exception.
74664 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74666         [BZ #12416]
74667         * elf/tst-execstack.c: Include stackinfo.h.
74668         (do_test): Adjust test case to ensure that pthread_getattr_np
74669         behaviour remains the same after marking stack executable.
74671 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74673         * sysdeps/unix/sysv/linux/kernel-features.h
74674         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74675         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74676         kernel-features.h.
74677         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74678         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74679         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74680         kernel-features.h.
74681         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74682         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74684 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74686         * configure.in: Define the default includes to being none.
74687         * configure: Regenerated.
74689 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74691         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74692         * sysdeps/x86_64/setjmp.S: Likewise.
74693         * sysdeps/i386/bsd-setjmp.S: Likewise.
74694         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74695         * sysdeps/i386/setjmp.S: Likewise.
74696         * sysdeps/i386/__longjmp.S: Likewise.
74697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74698         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74700         * include/stap-probe.h: New file.
74701         * configure.in: Handle --enable-systemtap.
74702         * configure: Regenerated.
74703         * config.h.in (USE_STAP_PROBE): New #undef.
74704         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74705         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74706         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74708 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74710         [BZ #13717]
74711         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74712         to 2.4.0 where earlier.
74713         * sysdeps/unix/sysv/linux/configure: Regenerated.
74714         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74715         <kernel-features.h>.
74716         [__ASSUME_32BITUIDS]: Make code unconditional.
74717         [!__ASSUME_32BITUIDS]: Remove conditional code.
74718         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74719         <kernel-features.h>.
74720         [__ASSUME_32BITUIDS]: Make code unconditional.
74721         [!__ASSUME_32BITUIDS]: Remove conditional code.
74722         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74723         [__ASSUME_32BITUIDS]: Make code unconditional.
74724         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74725         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74726         <kernel-features.h>.
74727         [__ASSUME_32BITUIDS]: Make code unconditional.
74728         [!__ASSUME_32BITUIDS]: Remove conditional code.
74729         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74730         <kernel-features.h>.
74731         [__ASSUME_32BITUIDS]: Make code unconditional.
74732         [!__ASSUME_32BITUIDS]: Remove conditional code.
74733         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74734         <kernel-features.h>.
74735         [__ASSUME_32BITUIDS]: Make code unconditional.
74736         [!__ASSUME_32BITUIDS]: Remove conditional code.
74737         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74738         <kernel-features.h>.
74739         [__ASSUME_32BITUIDS]: Make code unconditional.
74740         [!__ASSUME_32BITUIDS]: Remove conditional code.
74741         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74742         <kernel-features.h>.
74743         [__ASSUME_32BITUIDS]: Make code unconditional.
74744         [!__ASSUME_32BITUIDS]: Remove conditional code.
74745         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74746         <kernel-features.h>.
74747         [__ASSUME_32BITUIDS]: Make code unconditional.
74748         [!__ASSUME_32BITUIDS]: Remove conditional code.
74749         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74750         <kernel-features.h>.
74751         [__ASSUME_32BITUIDS]: Make code unconditional.
74752         [!__ASSUME_32BITUIDS]: Remove conditional code.
74753         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74754         <kernel-features.h>.
74755         [__ASSUME_32BITUIDS]: Make code unconditional.
74756         [!__ASSUME_32BITUIDS]: Remove conditional code.
74757         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74758         <kernel-features.h>.
74759         [__ASSUME_32BITUIDS]: Make code unconditional.
74760         [!__ASSUME_32BITUIDS]: Remove conditional code.
74761         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74762         <kernel-features.h>.
74763         [__ASSUME_32BITUIDS]: Make code unconditional.
74764         [!__ASSUME_32BITUIDS]: Remove conditional code.
74765         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74766         <kernel-features.h>.
74767         [__NR_setresgid] (__setresgid): Do not declare.
74768         [__ASSUME_32BITUIDS]: Make code unconditional.
74769         [!__ASSUME_32BITUIDS]: Remove conditional code.
74770         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74771         <kernel-features.h>.
74772         [__NR_setresuid] (__setresuid): Do not declare.
74773         [__ASSUME_32BITUIDS]: Make code unconditional.
74774         [!__ASSUME_32BITUIDS]: Remove conditional code.
74775         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74776         <kernel-features.h>.
74777         [__ASSUME_32BITUIDS]: Make code unconditional.
74778         [!__ASSUME_32BITUIDS]: Remove conditional code.
74779         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74780         <kernel-features.h>.
74781         [__ASSUME_32BITUIDS]: Make code unconditional.
74782         [!__ASSUME_32BITUIDS]: Remove conditional code.
74783         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74784         <kernel-features.h>.
74785         [__ASSUME_32BITUIDS]: Make code unconditional.
74786         [!__ASSUME_32BITUIDS]: Remove conditional code.
74787         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74788         <kernel-features.h>.
74789         [__ASSUME_32BITUIDS]: Make code unconditional.
74790         [!__ASSUME_32BITUIDS]: Remove conditional code.
74791         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74792         <kernel-features.h>.
74793         [__ASSUME_32BITUIDS]: Make code unconditional.
74794         [!__ASSUME_32BITUIDS]: Remove conditional code.
74795         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74796         <kernel-features.h>.
74797         [__ASSUME_32BITUIDS]: Make code unconditional.
74798         [!__ASSUME_32BITUIDS]: Remove conditional code.
74799         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74800         <kernel-features.h>.
74801         [__ASSUME_32BITUIDS]: Make code unconditional.
74802         [!__ASSUME_32BITUIDS]: Remove conditional code.
74803         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74804         <kernel-features.h>.
74805         [__ASSUME_32BITUIDS]: Make code unconditional.
74806         [!__ASSUME_32BITUIDS]: Remove conditional code.
74807         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74808         <kernel-features.h>.
74809         [__ASSUME_32BITUIDS]: Make code unconditional.
74810         [!__ASSUME_32BITUIDS]: Remove conditional code.
74811         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74812         <kernel-features.h>.
74813         [__ASSUME_32BITUIDS]: Make code unconditional.
74814         [!__ASSUME_32BITUIDS]: Remove conditional code.
74815         * sysdeps/unix/sysv/linux/kernel-features.h
74816         (__ASSUME_SETRESUID_SYSCALL): Remove.
74817         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74818         (__ASSUME_32BITUIDS): Likewise.
74819         (__ASSUME_LDT_WORKS): Likewise.
74820         (__ASSUME_O_DIRECTORY): Likewise.
74821         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74822         architecture but not kernel version.
74823         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74824         (__ASSUME_MMAP2_SYSCALL): Likewise.
74825         (__ASSUME_STAT64_SYSCALL): Likewise.
74826         (__ASSUME_IPC64): Likewise.
74827         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74828         <kernel-features.h>.
74829         [__ASSUME_32BITUIDS]: Make code unconditional.
74830         [!__ASSUME_32BITUIDS]: Remove conditional code.
74831         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74832         <kernel-features.h>.
74833         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74834         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74835         132096]: Remove conditional code.
74836         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74837         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74838         <kernel-features.h>.
74839         [__ASSUME_32BITUIDS]: Make code unconditional.
74840         [!__ASSUME_32BITUIDS]: Remove conditional code.
74841         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74842         <kernel-features.h>.
74843         [__ASSUME_32BITUIDS]: Make code unconditional.
74844         [!__ASSUME_32BITUIDS]: Remove conditional code.
74845         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74846         <kernel-features.h>.
74847         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74848         unconditional.
74849         (__setresgid): Do not declare.
74850         [__ASSUME_32BITUIDS]: Make code unconditional.
74851         [!__ASSUME_32BITUIDS]: Remove conditional code.
74852         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74853         <kernel-features.h>.
74854         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74855         unconditional.
74856         (__setresuid): Do not declare.
74857         [__ASSUME_32BITUIDS]: Make code unconditional.
74858         [!__ASSUME_32BITUIDS]: Remove conditional code.
74859         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74860         <kernel-features.h>.
74861         [__ASSUME_32BITUIDS]: Make code unconditional.
74862         [!__ASSUME_32BITUIDS]: Remove conditional code.
74863         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74864         <kernel-features.h>.
74865         [__ASSUME_32BITUIDS]: Make code unconditional.
74866         [!__ASSUME_32BITUIDS]: Remove conditional code.
74868 2012-05-25  Richard Henderson  <rth@twiddle.net>
74870         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74871         dl_hwcap to ifunc resolver.
74872         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74873         elf_ifunc_invoke.
74874         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74875         dl_hwcap to ifunc resolver.
74876         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74878 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74880         [BZ #14153]
74881         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74882         for |x| <= 2**-26, not 2**-57.
74883         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74884         exception.
74886 2012-05-24  Jeff Law  <law@redhat.com>
74888         * stdio-common/Makefile (tests): Add bug25.
74889         * stdio-common/bug25.c: New test.
74891 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74893         [BZ #13576]
74894         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74895         multiple of MALLOC_ALIGNMENT in size.
74896         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74898 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74900         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74901         Require >= 256.
74902         (FILENAME_MAX): Use macro-int-constant.
74903         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74904         (_IOFBF): Use macro-int-constant.
74905         (_IOLBF): Likewise.
74906         (_IONBF): Likewise.
74907         (SEEK_CUR): Likewise.
74908         (SEEK_END): Likewise.
74909         (SEEK_SET): Likewise.
74910         (TMP_MAX): Likewise.
74911         (EOF): Use macro-int-constant.  Require < 0.
74912         (NULL): Use macro-constant.  Require == 0.
74913         (stdin): Require type to be FILE *.
74914         (stdout): Likewise.
74915         (stderr): Likewise.
74916         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74917         macro-int-constant.
74918         (EXIT_SUCCESS): Likewise.
74919         (NULL): Use macro-constant.  Require == 0.
74920         (RAND_MAX): Use macro-int-constant.
74921         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74922         [C99-based standards] (strtof): Require function.
74923         [C99-based standards] (strtold): Likewise.
74924         [C99-based standards] (strtoll): Likewise.
74925         [C99-based standards] (strtoull): Likewise.
74926         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74927         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74928         [ISO || ISO99 || ISO11] (math.h): Likewise.
74929         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74930         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74931         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74933 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74935         [BZ #14132]
74936         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74937         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74938         * intl/dgettext.c (DCGETTEXT): Likewise.
74939         * intl/gettext.c (DCGETTEXT): Likewise.
74940         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74941         * posix/regex_internal.h (gettext): Likewise.
74942         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74943         Remove declaration.
74944         * include/argz.h (__argz_count_internal)
74945         (__argz_stringify_internal): Remove declaration.
74946         (__argz_count, __argz_stringify): Declare hidden proto.
74947         * intl/dcgettext.c: Remove use of INTDEF.
74948         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74949         * string/argz-stringify.c: Likewise.
74950         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74951         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74952         Declare hidden proto.
74953         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74954         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74955         Declare hidden proto.
74956         * include/stdio.h (__asprintf_internal): Don't declare.
74957         (__asprintf): Don't define as macro.  Declare hidden proto.
74958         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74959         (__fsetlocking): Declare hidden proto.
74960         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74961         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74962         hidden proto.
74963         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74964         (_IO_setlinebuf): Remove use of INTUSE.
74965         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74966         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74967         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74968         Remove declaration.
74969         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74970         (_IO_do_flush): Remove use of INTUSE.
74971         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74972         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74973         (_IO_adjust_column, _IO_least_wmarker)
74974         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74975         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74976         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74977         (_IO_default_doallocate, _IO_wdefault_doallocate)
74978         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74979         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74980         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74981         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74982         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74983         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74984         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74985         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74986         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74987         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74988         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74989         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74990         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74991         proto.
74992         (_IO_flush_all_internal, _IO_adjust_column_internal)
74993         (_IO_default_uflow_internal, _IO_default_finish_internal)
74994         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74995         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74996         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74997         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74998         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74999         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75000         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75001         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75002         (_IO_file_close_internal, _IO_file_close_it_internal)
75003         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75004         (_IO_file_init_internal, _IO_file_attach_internal)
75005         (_IO_file_fopen_internal, _IO_file_read_internal)
75006         (_IO_file_sync_internal, _IO_file_seek_internal)
75007         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75008         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75009         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75010         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75011         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75012         (_IO_list_all_internal, _IO_link_in_internal)
75013         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75014         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75015         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75016         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75017         (_IO_do_write_internal, _IO_padn_internal)
75018         (_IO_getline_info_internal, _IO_getline_internal)
75019         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75020         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75021         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75022         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75023         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75024         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75025         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75026         with libc_hidden_ver, remove use of INTUSE.
75027         * libio/genops.c: Likewise.
75028         * libio/freopen.c: Likewise.
75029         * libio/freopen64.c: Likewise.
75030         * libio/iofclose.c: Likewise.
75031         * libio/iofdopen.c: Likewise.
75032         * libio/iofflush.c: Likewise.
75033         * libio/iofflush_u.c: Likewise.
75034         * libio/iofgets.c: Likewise.
75035         * libio/iofgets_u.c: Likewise.
75036         * libio/iofopen.c: Likewise.
75037         * libio/iofopncook.c: Likewise.
75038         * libio/iofread.c: Likewise.
75039         * libio/iofread_u.c: Likewise.
75040         * libio/ioftell.c: Likewise.
75041         * libio/iofwrite.c: Likewise.
75042         * libio/iogetline.c: Likewise.
75043         * libio/iogets.c: Likewise.
75044         * libio/iogetwline.c: Likewise.
75045         * libio/iopadn.c: Likewise.
75046         * libio/iopopen.c: Likewise.
75047         * libio/ioseekoff.c: Likewise.
75048         * libio/ioseekpos.c: Likewise.
75049         * libio/iosetbuffer.c: Likewise.
75050         * libio/iosetvbuf.c: Likewise.
75051         * libio/ioungetc.c: Likewise.
75052         * libio/ioungetwc.c: Likewise.
75053         * libio/iovdprintf.c: Likewise.
75054         * libio/iovsprintf.c: Likewise.
75055         * libio/iovsscanf.c: Likewise.
75056         * libio/memstream.c: Likewise.
75057         * libio/obprintf.c: Likewise.
75058         * libio/oldfileops.c: Likewise.
75059         * libio/oldiofclose.c: Likewise.
75060         * libio/oldiofdopen.c: Likewise.
75061         * libio/oldiofopen.c: Likewise.
75062         * libio/oldiopopen.c: Likewise.
75063         * libio/oldstdfiles.c: Likewise.
75064         * libio/putc.c: Likewise.
75065         * libio/setbuf.c: Likewise.
75066         * libio/setlinebuf.c: Likewise.
75067         * libio/stdfiles.c: Likewise.
75068         * libio/strops.c: Likewise.
75069         * libio/vasprintf.c: Likewise.
75070         * libio/vscanf.c: Likewise.
75071         * libio/vsnprintf.c: Likewise.
75072         * libio/vswprintf.c: Likewise.
75073         * libio/wfiledoalloc.c: Likewise.
75074         * libio/wfileops.c: Likewise.
75075         * libio/wgenops.c: Likewise.
75076         * libio/wmemstream.c: Likewise.
75077         * libio/wstrops.c: Likewise.
75078         * libio/__fpurge.c: Likewise.
75079         * libio/__fsetlocking.c: Likewise.
75080         * assert/assert.c: Likewise.
75081         * debug/fgets_chk.c: Likewise.
75082         * debug/fgets_u_chk.c: Likewise.
75083         * debug/fread_chk.c: Likewise.
75084         * debug/fread_u_chk.c: Likewise.
75085         * debug/gets_chk.c: Likewise.
75086         * debug/obprintf_chk.c: Likewise.
75087         * debug/vasprintf_chk.c: Likewise.
75088         * debug/vdprintf_chk.c: Likewise.
75089         * debug/vsnprintf_chk.c: Likewise.
75090         * debug/vsprintf_chk.c: Likewise.
75091         * malloc/mtrace.c: Likewise.
75092         * misc/error.c: Likewise.
75093         * misc/syslog.c: Likewise.
75094         * stdio-common/asprintf.c: Likewise.
75095         * stdio-common/fxprintf.c: Likewise.
75096         * stdio-common/getw.c: Likewise.
75097         * stdio-common/isoc99_fscanf.c: Likewise.
75098         * stdio-common/isoc99_scanf.c: Likewise.
75099         * stdio-common/isoc99_vfscanf.c: Likewise.
75100         * stdio-common/isoc99_vscanf.c: Likewise.
75101         * stdio-common/isoc99_vsscanf.c: Likewise.
75102         * stdio-common/printf-prs.c: Likewise.
75103         * stdio-common/printf_fp.c: Likewise.
75104         * stdio-common/printf_fphex.c: Likewise.
75105         * stdio-common/printf_size.c: Likewise.
75106         * stdio-common/putw.c: Likewise.
75107         * stdio-common/scanf.c: Likewise.
75108         * stdio-common/sprintf.c: Likewise.
75109         * stdio-common/tmpfile.c: Likewise.
75110         * stdio-common/vfprintf.c: Likewise.
75111         * stdio-common/vfscanf.c: Likewise.
75112         * stdlib/strfmon_l.c: Likewise.
75113         * sunrpc/openchild.c: Likewise.
75114         * sunrpc/xdr_stdio.c: Likewise.
75115         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75116         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75118 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75120         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75122         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75123         in the third column, to generate for the shared library an IFUNC
75124         that uses _dl_vdso_vsym.
75125         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75126         * Makeconfig (object-suffixes-noshared): New variable.
75128         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75129         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75130         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75131         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75133         [BZ #14132]
75134         * include/sys/time.h (__gettimeofday): Remove macro.
75135         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75136         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75137         Remove INTDEF.
75138         (__gettimeofday): Add libc_hidden_def.
75139         (gettimeofday): Add libc_hidden_weak.
75140         * sysdeps/mach/gettimeofday.c: Likewise.
75141         * sysdeps/posix/gettimeofday.c: Likewise.
75142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75143         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75145         (__gettimeofday_internal): Remove strong_alias.
75146         (__gettimeofday): Add libc_hidden_def.
75147         (gettimeofday): Add libc_hidden_weak.
75148         * sysdeps/unix/syscalls.list (gettimeofday):
75149         Remove __gettimeofday_internal alias.
75151 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75152             H.J. Lu  <hongjiu.lu@intel.com>
75154         [BZ #12495]
75155         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75156         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75157         (largebin_index_32_big): New.
75158         (largebin_index): Use it for 16-byte alignment.
75159         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75160         correction with front_misalign.
75162 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75166         Likewise.
75167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75168         Likewise.
75169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75170         Likewise.
75171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75172         Likewise.
75173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75174         Likewise.
75175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75176         Likewise.
75177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75178         Likewise.
75179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75180         Likewise.
75181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75182         Likewise.
75183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75184         Likewise.
75185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75186         Likewise.
75187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75188         Likewise.
75190         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75191         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75193 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75195         [BZ #10846]
75196         [BZ #14036]
75197         * math/libm-test.inc (exp_test): Add test from bug 14036.
75198         (pow_test): Add test from bug 10846.
75200         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75201         and other flags.
75202         (special_function): Do not include flags in test name.
75203         (parse_args): Likewise.
75204         * sysdeps/i386/fpu/libm-test-ulps: Update.
75205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75206         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75207         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75210         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75211         exceptions.
75212         * math/libm-test.inc ("Philosophy"): Update comment about
75213         exception testing.
75214         (UNDERFLOW_EXCEPTION): New macro.
75215         (UNDERFLOW_EXCEPTION_OK): Likewise.
75216         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75217         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75218         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75219         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75220         (INVALID_EXCEPTION_OK): Update value.
75221         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75222         (OVERFLOW_EXCEPTION_OK): Likewise.
75223         (IGNORE_ZERO_INF_SIGN): Likewise.
75224         (test_exceptions): Handle underflow exceptions.
75225         (acos_test): Update for underflow exception expectations.
75226         (cexp_test): Likewise.
75227         (clog_test): Likewise.
75228         (clog10_test): Likewise.
75229         (csqrt_test): Likewise.
75230         (ctan_test): Likewise.
75231         (ctanh_test): Likewise.
75232         (exp_test): Likewise.
75233         (exp10_test): Likewise.
75234         (exp2_test): Likewise.
75235         (expm1_test): Likewise.
75236         (fma_test): Likewise.
75237         (j0_test): Likewise.
75238         (jn_test): Likewise.
75239         (nexttoward_test): Likewise.
75240         (pow_test): Likewise.
75241         (scalbn_test): Likewise.
75242         (scalbln_test): Likewise.
75243         (tan_test): Likewise.
75244         (y1_test): Likewise.
75245         * sysdeps/i386/fpu/libm-test-ulps: Update.
75246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75248 2012-05-23  David S. Miller  <davem@davemloft.net>
75250         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75251         (__libc_sigaction): Remove unused local variables.
75253 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75255         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75257 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75259         mktime: avoid signed integer overflow
75260         * time/mktime.c (__mktime_internal): Do not mishandle the case
75261         where diff == INT_MIN.
75263         mktime: simplify computation of average
75264         * time/mktime.c (ranged_convert): Use new time_t_avg function
75265         instead of rolling our own (probably-slower) code.
75267         mktime: do not assume signed right shift propagates sign bit
75268         * time/mktime.c (isdst_differ): New static function.
75269         (__mktime_internal): No need to normalize tm_isdst now.
75270         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75271         tm_isdst values.
75273         mktime: merge another wrapv change from gnulib
75274         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75275         from some compilers.
75277         mktime: remove incorrect attempt at unusual arithmetics
75278         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75279         The code didn't really work on such machines anyway.
75280         (TYPE_MINIMUM): Assume two's complement.
75281         (twos_complement_arithmetic): Verify that long_int and time_t
75282         are two's complement (or unsigned, in the latter case).
75284         mktime: check signed shifts on long_int and time_t, too
75285         * time/mktime.c (SHR): Check that shifts work as desired
75286         on the types long_int and time_t too, as SHR is used on
75287         such types.
75289         mktime: do not assume 'long' is wide enough
75290         * time/mktime.c (verify): Move decl up.
75291         (long_int): New type.
75292         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75293         to remove assumption in the code that 'long' is wide enough to
75294         store year values.  This assumption is not true on x32 and on
75295         some non-glibc platforms.
75297         mktime: merge wrapv change from gnulib
75298         * time/mktime.c (WRAPV): New macro.
75299         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75300         (guess_time_tm, __mktime_internal): Do not assume that signed
75301         integer overflow wraps around; modern compilers generate code
75302         where this assumption is no longer valid.
75304 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75306         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75307         Replace "jmp L(pseudo_end)" with "ret".
75308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75309         Likewise.
75311 2012-05-23  Andreas Jaeger  <aj@suse.de>
75313         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75314         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75316 2012-05-23  Andreas Jaeger  <aj@suse.de>
75317             Maximilian Attems  <max@stro.at>
75319         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75320         New macros.
75322 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75324         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75325         code so that pseudo_end is just ret and the stack pointer is
75326         correct also for static library in error case.
75328 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75330         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75331         move to syscalls.list.
75332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75337         * manual/install.texi (Running make install): Do not mention Linux
75338         kernel version for which pt_chown is not needed.
75339         (Linux): Do not mention problems with nscd with 2.0 kernels.
75340         * INSTALL: Regenerated.
75342 2012-05-23  Andreas Jaeger  <aj@suse.de>
75344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75345         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75346         macro.
75347         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75348         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75349         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75350         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75351         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75352         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75355         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75357         * sysdeps/unix/sysv/linux/bits/in.h
75358         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75360 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75362         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75363         (PREPARE_VERSION): Just use assert instead, it will be elided
75364         under [NDEBUG] anyway.
75366 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75368         * sysdeps/unix/sysv/linux/Makefile: Include
75369         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75370         (sysdep_routines): Remove sysctl.
75371         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75372         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75373         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75374         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75375         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75377 2012-05-22  Andreas Jaeger  <aj@suse.de>
75379         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75380         that pseudo_end is just ret and the stack pointer is correct also
75381         for static library in error case.
75383 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75385         [BZ #14122]
75386         * nss/nsswitch.c (defconfig_entries): New variable.
75387         (__nss_database_lookup): Don't leak defconfig entries.
75388         (nss_parse_service_list): Don't leak on error paths.
75389         (free_database_entries): New function.
75390         (free_defconfig): New function.
75391         (free_mem): Move common code to free_database_entries.
75393 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75395         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75396         Add arch_prctl.
75397         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75399         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75400         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75402         New macro.
75403         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75404         (INTERNAL_SYSCALL_TYPES): Likewise.
75405         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75406         (LOAD_REGS_TYPES_[1-6]): Likewise.
75407         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75408         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75410 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75412         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75413         copysignl for GLIBC_2_0.
75414         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75415         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75417         logbl for GLIBC_2_0.
75418         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75419         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75421 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75424         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75426         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75427         Use "neg %eax".
75429         * time/mktime.c: Update copyright years.
75431 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75433         mktime: merge comment-quoting-style change from gnulib
75434         * time/mktime.c: Quote 'like this' in comments.
75435         The GNU coding standards suggest that we no longer quote `like this',
75436         as "`" and "'" are typically rendered asymmetrically nowadays.
75437         The typical gnulib style is to quote 'like this' when quoting
75438         code, and "like this" when quoting English.
75440         * time/mktime.c (compile-command): Add "-I.".
75442         mktime: merge mktime-internal.h change from gnulib
75443         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75445         mktime: merge time_r change from gnulib
75446         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75448         mktime: merge DEBUG change from gnulib
75449         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75450         case system <time.h> has a #define.
75452         mktime: merge <sys/types.h> change from gnulib
75453         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75454         since <time.t> is now guaranteed to define time_t.
75456         mktime: merge HAVE_CONFIG_H change from gnulib
75457         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75459 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75462         Use "neg %eax".
75464         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75465         __rlim_t cast.
75466         (struct rusage): Use anonymous union to pad each field to
75467         __syscall_slong_t.
75469 2012-05-21  David S. Miller  <davem@davemloft.net>
75471         * Makefules (o-iterator): Remove .s cases.
75472         (compile-command.s): Delete.
75473         (COMPILE.s): Delete.
75474         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75476 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75478         * configure.in (libc_cv_predef_stack_protector): Only consider
75479         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75480         * configure: Regenerated.
75482 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75485         New macro.  Use R*LP on int and pointer.
75486         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75487         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75488         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75489         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75491         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75492         [__WORDSIZE_TIME64_COMPAT32] instead of
75493         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75494         (struct utmp): Likewise.
75495         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75496         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75497         Renamed to ...
75498         (__WORDSIZE_TIME64_COMPAT32): This.
75499         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75500         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75501         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75502         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75503         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75504         (__WORDSIZE_TIME64_COMPAT32): New macro.
75506 2012-05-21  Andreas Jaeger  <aj@suse.de>
75508         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75509         only if [SHARED]. Add prototype for __wcschr_ia32.
75511 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75513         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75514         of %rbp unmolested in the jmp_buf while mangling the low bits.
75515         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75516         unmolested high bits of %rbp while demangling the low bits.
75517         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75519 2012-05-21  Andreas Jaeger  <aj@suse.de>
75521         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75522         * sunrpc/svc_simple.c: Use it for registerrpc.
75523         * sunrpc/xcrypt.c: Use it for passwd2des.
75525         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75527 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75529         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75530         Don't define if [__SYSCALL_WORDSIZE != 32].
75531         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75532         New macro.
75534 2012-05-21  Bruno Haible  <bruno@clisp.org>
75535             Andreas Jaeger  <aj@suse.de>
75537         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75538         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75539         inptr and inend for must_buffer_ch.
75540         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75541         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75542         * stdio-common/Makefile (tests): Remove bug15.
75543         (bug15-ENV): Remove macro.
75544         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75545         anymore.
75547 2012-05-19  Andreas Jaeger  <aj@suse.de>
75548             Roland McGrath  <roland@hack.frob.com>
75550         * manual/contrib.texi: Completely rewritten. It contains now an
75551         alphabetical list of contributors and their contributions.
75553 2012-05-21  Richard Henderson  <rth@twiddle.net>
75555         * misc/getauxval.c (__getauxval): Use unsigned long int.
75556         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75557         (getauxval): Use unsigned long int.
75559 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75561         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75563 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75565         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75566         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75567         __alignof__ (long double).
75569 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75573 2012-05-20  Richard Henderson  <rth@twiddle.net>
75575         * misc/getauxval.c: New file.
75576         * misc/sys/auxv.h: New file.
75577         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75578         (routines): Add getauxval.
75579         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75580         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75581         * elf/dl-sysdep.c (_dl_auxv): Remove.
75582         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75583         * elf/dl-support.c (_dl_auxv): New variable.
75584         (_dl_aux_init): Initialize it.
75585         * manual/startup.texi (Auxiliary Vector): New node.
75586         * sysdeps/generic/bits/hwcap.h: New file.
75587         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75588         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75589         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75590         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75591         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75592         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75594         Update.
75595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75604 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75608 2012-05-19  David S. Miller  <davem@davemloft.net>
75610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75612 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75614         [BZ #14123]
75615         * math/s_ccosh.c: Include <float.h>
75616         (__ccosh): Avoid internal overflow calculating sinh and cosh
75617         values before multiplying by sin and cos values.
75618         * math/s_ccoshf.c: Likewise.
75619         * math/s_ccoshl.c: Likewise.
75620         * math/s_csin.c: Likewise.
75621         * math/s_csinf.c: Likewise.
75622         * math/s_csinl.c: Likewise.
75623         * math/s_csinh.c: Likewise.
75624         * math/s_csinhf.c: Likewise.
75625         * math/s_csinhl.c: Likewise.
75626         * math/libm-test.inc (ccos_test): Add more tests.
75627         (ccosh_test): Likewise.
75628         (csin_test): Likewise.
75629         (csinh_test): Likewise.
75630         * sysdeps/i386/fpu/libm-test-ulps: Update.
75631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75633 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75635         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75636         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75638         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75640 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75642         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75643         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75644         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75645         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75646         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75647         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75648         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75649         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75650         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75651         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75652         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75653         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75654         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75655         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75656         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75657         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75658         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75659         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75660         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75661         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75662         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75663         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75664         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75665         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75666         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75667         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75668         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75669         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75670         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75671         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75672         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75674 2012-05-18  Andreas Jaeger  <aj@suse.de>
75676         * csu/.gitignore: Delete.
75678 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75680         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75681         (timex): Use __syscall_slong_t.
75683 2012-05-18  Andreas Jaeger  <aj@suse.de>
75684             Carlos O'Donell  <carlos_odonell@mentor.com>
75686         * manual/install.texi (Configuring and compiling): Update
75687         description about files modified in the source directory.
75688         * INSTALL: Regenerated.
75690 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75692         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75693         value.  Use "or" to set return value to -1.
75694         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75695         negate return value.
75697 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75699         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75700         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75701         failure if the compiler has Graphite support disabled.
75702         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75703         Likewise.
75704         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75705         (CFLAGS-memmove.c): Likewise.
75706         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75707         Likewise.
75709 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75711         * sysdeps/x86_64/x32/_itoa.h: New file.
75713         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75714         getdents system call only if kernel and user dirents have the
75715         same d_ino and d_off.
75717         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75718         LLONG_MAX != LONG_MAX.
75719         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75720         (_fitoa_word): Likewise.
75722         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75723         years.
75724         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75725         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75726         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75729         include <bits/wordsize.h>.  Check __x86_64__ instead of
75730         __WORDSIZE.
75731         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75732         if __x86_64__ is defined.  Use anonymous union on fpstate.
75734         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75735         anonymous union.
75737 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75739         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75740         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75742         Refer to _rtld_local_ro instead of _rtld_global_ro.
75743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75744         Likewise.
75745         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75746         Likewise.
75747         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75748         Likewise.
75749         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75750         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75751         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75753         [BZ #10882]
75754         * sysdeps/powerpc/powerpc32/dl-machine.c
75755         (__elf_machine_runtime_setup) [PROF]: Don't reference
75756         _dl_prof_resolve.
75758 2012-05-18  Andreas Jaeger  <aj@suse.de>
75760         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75761         function only available for GCCs before 3.4 since GCC 3.4
75762         introduced a builtin.
75763         (lrint): Likewise.
75764         (llrintf): Likewise.
75765         (llrint): Likewise.
75766         (fmaxf): Likewise.
75767         (fmax): Likewise.
75768         (fminf): Likewise.
75769         (fmin): Likewise.
75770         (rint): Likewise.
75771         (rintf): Likewise.
75772         (nearbyint): Likewise.
75773         (nearbyintf): Likewise.
75774         (ceil): Likewise.
75775         (ceilf): Likewise.
75776         (floor): Likewise.
75777         (floorf): Likewise.
75779 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75781         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75782         on both fields and cast pointer to __syscall_ulong_t.
75784         * bits/types.h (__fsword_t): New type.
75785         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75786         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75787         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75788         (__FSWORD_T_TYPE): Likewise.
75789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75790         (__FSWORD_T_TYPE): Likewise.
75791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75792         (__FSWORD_T_TYPE): Likewise.
75793         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75794         (__FSWORD_T_TYPE): Likewise.
75795         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75796         __SWORD_TYPE with __fsword_t.
75797         (statfs64): Likewise.
75799 2012-05-17  David S. Miller  <davem@davemloft.net>
75801         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75803 2012-05-17  Andreas Jaeger  <aj@suse.de>
75805         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75806         warning.
75808 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75810         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75812 2012-05-17  Andreas Jaeger  <aj@suse.de>
75814         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75815         when it is used.
75817 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75819         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75821 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75823         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75824         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75826 2012-05-17  Andreas Jaeger  <aj@suse.de>
75827             Carlos O'Donell  <carlos_odonell@mentor.com>
75829         [BZ #14059]
75830         * sysdeps/x86_64/multiarch/init-arch.h
75831         (bit_YMM_Usable): Rename to...
75832         (bit_AVX_Usable): ... this.
75833         (bit_FMA4_Usable): New macro.
75834         (bit_XMM_state): New macro.
75835         (bit_YMM_state): New macro.
75836         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75837         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75838         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75839         (CPUID_OSXSAVE): New macro.
75840         (CPUID_AVX): New macro.
75841         (CPUID_FMA4): New macro.
75842         (index_YMM_Usable): Rename to...
75843         (index_AVX_Usable): ... this.
75844         (HAS_AVX): Use HAS_ARCH_FEATURE.
75845         (HAS_FMA4): Likewise.
75846         (HAS_YMM_USABLE): Remove.
75847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75848         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75849         are present.
75850         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75851         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75852         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75853         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75854         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75856 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75858         * math/libm-test.c: Support platforms without multiple rounding modes.
75859         * math/bug-nextafter.c: Support platforms without FP exceptions.
75860         * math/bug-nexttoward.c: Likewise.
75861         * math/test-fenv.c: Likewise.
75862         * math/test-misc.c: Likewise.
75863         * stdlib/bug-getcontext.c: Likewise.
75865 2012-05-17  Andreas Jaeger  <aj@suse.de>
75867         * manual/examples/search.c (critter_cmp): Change signature to
75868         avoid warnings.
75869         * manual/string.texi (Collation Functions): Likewise.
75871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75873         * bits/types.h: Fold copyright years.
75874         * bits/typesizes.h: Likewise.
75875         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75879         * time/time.h: Likewise.
75881 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75883         [BZ #208]
75884         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75885         in instead of returning them.  Return void.
75886         (__libc_mallinfo): Accumulate over all arenas.
75887         (__malloc_stats): Adjust for change in int_mallinfo interface.
75889 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75891         [BZ #10375]
75892         * configure.in (NM): Add AC_CHECK_TOOL for it.
75893         (libc_extra_cflags): New substituted variable.
75894         Check for -fstack-protector being used implicitly.
75895         * configure: Regenerated.
75896         * config.make.in (config-extra-cflags): New variable,
75897         gets @libc_extra_cflags@.
75898         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75900         [BZ #10375]
75901         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75902         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75903         * configure: Regenerated.
75904         * config.make.in (CPPUNDEFS): New substituted variable.
75905         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75906         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75907         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75909 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75911         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75912         (mq_attr): Use __syscall_slong_t.
75914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75916         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75917         Check __x86_64__ instead of __WORDSIZE.
75918         (_STAT_VER_LINUX): Likewise.
75919         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75920         __syscall_ulong_t and __syscall_slong_t.
75921         (stat64): Likewise.
75923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75929         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75933         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75934         __syscall_ulong_t.
75936         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75937         include <bits/wordsize.h>.  Check __x86_64__ instead of
75938         __WORDSIZE.
75939         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75940         defined.
75941         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75943         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75944         include <bits/wordsize.h>.  Check __x86_64__ instead of
75945         __WORDSIZE.
75946         (user_regs_struct): Use "__extension__ unsigned long long"
75947         instead of "unsigned long" if __x86_64__ is defined.
75948         (user): Likewise.  Pad after pointer field if __ILP32__ is
75949         defined.
75951 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75953         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75954         versions 5 to 9.
75955         * configure: Regenerated.
75956         * manual/install.texi (texinfo): Increase version requirement to
75957         4.5 or later.
75958         * INSTALL: Regenerated.
75960         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75964         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75966         * sysdeps/x86_64/x32/ffs.c: New file.
75968         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75969         __syscall_ulong_t.
75970         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75971         defined.  Use __syscall_ulong_t.
75972         (shminfo): Use __syscall_ulong_t.
75973         (shm_info): Likewise.
75975         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75976         __syscall_ulong_t.
75978         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75979         <bits/wordsize.h>.
75980         (msgqnum_t): Use __syscall_ulong_t.
75981         (msglen_t): Likewise.
75982         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75983         __syscall_ulong_t.
75985         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75986         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75988         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75990         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75991         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75993         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75994         __syscall_slong_t.
75996         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75997         include <bits/wordsize.h>.  Check __x86_64__ instead of
75998         __WORDSIZE.
76000         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76001         "unsigned long long int" if __x86_64__ is defined.
76002         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76004         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76005         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76006         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76008         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76009         <stdint.h>.
76010         (GET_PC): Cast to uintptr_t first.
76011         (GET_FRAME): Likewise.
76012         (GET_STACK): Likewise.
76014         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76015         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76016         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76018         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76020         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76021         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76022         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76023         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76024         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76025         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76026         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76027         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76028         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76029         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76031         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76032         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76033         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76034         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76035         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76036         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76037         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76038         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76039         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76040         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76041         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76042         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76044 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76046         * Makerules (+depfiles): Also collect depfiles from .oS in
76047         $(extra-objs).
76048         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76049         .oS, $(libnldbl-routines)).
76051         * Makerules (native-compile-mkdep-flags): Define.
76052         * sunrpc/Makefile (extra-objs): Add $(addprefix
76053         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76054         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76055         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76056         calling $(make-target-directory).
76058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76060         * bits/types.h (__snseconds_t): Removed.
76061         * time/time.h (struct timespec): Replace __snseconds_t with
76062         __syscall_slong_t.
76063         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76064         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76065         Likewise.
76066         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76067         (__SNSECONDS_T_TYPE): Likewise.
76068         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76069         (__SNSECONDS_T_TYPE): Likewise.
76070         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76071         (__SNSECONDS_T_TYPE): Likewise.
76073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76075         * sysdeps/mach/hurd/bits/typesizes.h
76076         (__SYSCALL_SLONG_TYPE): New macro.
76077         (__SYSCALL_ULONG_TYPE): Likewise.
76079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76081         * bits/types.h (__syscall_slong_t): New type.
76082         (__syscall_ulong_t): Likewise.
76084         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76085         (__SYSCALL_ULONG_TYPE): Likewise.
76086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76087         (__SYSCALL_SLONG_TYPE): Likewise.
76088         (__SYSCALL_ULONG_TYPE): Likewise.
76089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76090         (__SYSCALL_SLONG_TYPE): Likewise.
76091         (__SYSCALL_ULONG_TYPE): Likewise.
76092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76093         (__SYSCALL_SLONG_TYPE): Likewise.
76094         (__SYSCALL_ULONG_TYPE): Likewise.
76096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76098         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76099         Add sigaltstack-offsets.sym.
76100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76101         <sigaltstack-offsets.h>.
76102         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76103         longjmp_msg pointer.
76104         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76105         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76106         signal stack.
76107         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76109 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76111         * elf/stackguard-macros.h: Remove file.
76112         * sysdeps/generic/stackguard-macros.h: New file.
76113         * sysdeps/i386/stackguard-macros.h: Likewise.
76114         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76115         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76116         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76117         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76118         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76119         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76120         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76121         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76122         <elf/stackguard-macros.h>.
76124         [BZ #14109]
76125         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76126         __aligned__ in attribute.
76127         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76128         (gregset_t): Likewise.
76130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76132         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76133         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76134         * sysdeps/x86_64/x32/Implies-after: New file.
76136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76138         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76139         and access return value for _dl_profile_fixup.  Use R10_LP to
76140         load frame size.
76142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76144         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76148         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76149         * sysdeps/x86_64/x32/sysdep.h: New file.
76151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76153         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76154         * sysdeps/x86_64/setjmp.S: Likewise.
76156 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76158         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76160         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76161         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76162         remove unused global constant.
76164 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76166         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76167         include of <not-cancel.h>.
76169 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76171         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76173 2012-05-15  Jeff Law  <law@redhat.com>
76174             Andreas Jaeger  <aj@suse.de>
76176         [BZ #13594]
76177         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76178         out from...
76179         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76180         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76181         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76182         code changing __hst_map_handle.map.
76184 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76186         * configure.in (sysnames): Look for Implies-before and Implies-after
76187         files.
76188         * configure: Regenerated.
76190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76192         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76193         8-byte data alignment with LP_SIZE alignment.
76195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76197         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76198         into R10_LP.
76200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76202         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76206         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76207         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76208         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76209         Likewise.
76210         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76214         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76215         (stackinfo_sub_sp): Likewise.
76217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76219         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76220         RAX_LP.
76222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76225         into R*_LP.
76227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76229         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76230         sizes into R*_LP.
76232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76234         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76238         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76239         into R11_LP and load __x86_64_shared_cache_size_half into
76240         R8_LP.
76242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76244         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76245         R8_LP.
76247 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76250         logb for POWER7.
76251         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76252         logbf for POWER7.
76253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76254         logbl for POWER7.
76255         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76256         powerpc32/power7/fpu/s_logb.c via #include.
76257         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76258         powerpc32/power7/fpu/s_logbf.c via #include.
76259         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76260         powerpc32/power7/fpu/s_logbl.c via #include.
76262 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76264         * README.libm: Remove file.
76266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76268         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76269         count for x32.  Use R*_LP and omit operand-size suffix.
76271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76273         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76274         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76275         * sysdeps/x86_64/x32/shlib-versions: New file.
76277 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76279         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76280         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76281         Use _dl_fatal_printf instead.
76283 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76285         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76286         set if not set by the user.  Do not allow for being unset.
76287         * sysdeps/unix/sysv/linux/configure: Regenerated.
76289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76291         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76292         the `q' suffix from lea and replace .quad with ASM_ADDR.
76294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76297         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76298         instead of $17.
76299         (PTR_DEMANGLE): Likewise.
76301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76303         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76304         (LP_OP): Likewise.
76305         (ASM_ADDR): Likewise.
76306         (RAX_LP): Likewise.
76307         (RBP_LP): Likewise.
76308         (RBX_LP): Likewise.
76309         (RCX_LP): Likewise.
76310         (RDI_LP): Likewise.
76311         (RSI_LP): Likewise.
76312         (RSP_LP): Likewise.
76313         (R8_LP): Likewise.
76314         (R9_LP): Likewise.
76315         (R10_LP): Likewise.
76316         (R10_LP): Likewise.
76317         (R11_LP): Likewise.
76318         (R12_LP): Likewise.
76319         (R13_LP): Likewise.
76320         (R14_LP): Likewise.
76321         (R15_LP): Likewise.
76323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76325         * sysdeps/x86_64/x32/dl-machine.h: New file.
76327 2012-05-14  Andreas Jaeger  <aj@suse.de>
76329         * manual/Makefile (subdir): Remove export of subdir.
76330         (all): Remove target.
76331         (.PHONY): Remove all from list.
76332         (mkinstalldirs): Remove.
76333         (.PHONY): Remove installdirs from list.
76334         ($(inst_infodir)/libc.info): Use make-target-directory.
76335         (installdirs): Remove.
76336         (subdir_%): Remove.
76337         (glibc-targets): Remove.
76338         (lib): Remove.
76339         (stubs): Remove.
76340         ($(objpfx)stubs ../po/manual.pot): Remove.
76341         ($(objpfx)stamp%): Remove.
76342         (make-target-directory): Remove.
76343         (subdir_install): Remove.
76344         (routines): Remove.
76345         (aux): Remove.
76346         (sources): Remove.
76347         (objects): Remove.
76348         (headers): Remove.
76350         [BZ #13750]
76351         * manual/.gitignore: Remove, it's not needed anymore.
76352         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76353         all files in it.
76354         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76355         directory.
76356         (texis): Renamed to $(objpfx)texis.
76357         (texis-path): New, contains path to generated files.
76358         (chapters.%): Use texis-path for complete path, add extra argument
76359         libc-texinfo.sh.
76360         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76361         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76362         (summary,texi, stamp-summary): Use complete path of
76363         files. Generate files in build dir.
76364         (dir-add.texi): Build in build dir.
76365         (libm-err.texi,stamp-libm-err): Likewise.
76366         (version.texi, stamp-version): Likewise.
76367         (.%c.texi): Likewise.
76368         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76369         (mostlyclean): Remove target.
76370         (realclean): Remove target.
76371         (generated): Add new variable with contents from mostlyclean and
76372         realclean, remove entries duplicated in common-mostlyclean, add
76373         stamp-libm-err and stamp-version.
76374         (generated-dirs): Add libc directory.
76375         ($(inst_infodir)/libc.info): Install files from build dir.
76377         * manual/install.texi (Configuring and compiling): Adjust since
76378         the info files are not part of the tar ball anymore.
76380 2012-05-14  Andreas Jaeger  <aj@suse.de>
76382         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76383         variable.
76385 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76387         [BZ #13717]
76388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76389         to 2.2.0 where earlier.
76390         * sysdeps/unix/sysv/linux/configure: Regenerated.
76391         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76392         Remove conditional code.
76393         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76394         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76395         Remove conditional code.
76396         [!__NR_lchown]: Likewise.
76397         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76398         [__NR_lchown]: Likewise.
76399         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76400         comment referencing __ASSUME_LCHOWN_SYSCALL.
76401         * sysdeps/unix/sysv/linux/i386/sigaction.c
76402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76404         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76405         Remove conditional code.
76406         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76407         (__protocol_available): Remove #if 0 code.
76408         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76409         conditional code.
76410         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76411         * sysdeps/unix/sysv/linux/kernel-features.h
76412         (__ASSUME_GETCWD_SYSCALL): Don't define.
76413         (__ASSUME_REALTIME_SIGNALS): Likewise.
76414         (__ASSUME_PREAD_SYSCALL): Likewise.
76415         (__ASSUME_PWRITE_SYSCALL): Likewise.
76416         (__ASSUME_POLL_SYSCALL): Likewise.
76417         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76418         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76419         non-SPARC.
76420         (__ASSUME_SIOCGIFNAME): Don't define.
76421         (__ASSUME_MSG_NOSIGNAL): Likewise.
76422         (__ASSUME_SENDFILE): Define unconditionally.
76423         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76424         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76425         conditional code.
76426         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76427         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76428         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76429         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76430         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76431         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76432         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76434         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76435         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76437         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76438         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76440         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76441         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76443         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76444         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76446         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76449         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76452         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76457         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76458         Remove conditional code.
76459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76460         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76461         Remove conditional code.
76462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76463         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76464         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76465         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76466         Remove conditional code.
76467         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76468         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76469         Remove conditional code.
76470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76471         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76472         Remove conditional code.
76473         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76474         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76475         Remove conditional code.
76476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76477         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76478         Remove conditional code.
76479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76480         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76481         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76483         * sysdeps/unix/sysv/linux/sigaction.c
76484         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76485         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76486         * sysdeps/unix/sysv/linux/sigpending.c
76487         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76488         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76489         * sysdeps/unix/sysv/linux/sigprocmask.c
76490         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76491         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76492         * sysdeps/unix/sysv/linux/sigsuspend.c
76493         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76494         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76495         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76496         (__libc_missing_rt_sigs): Remove.
76497         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76498         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76499         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76500         Remove conditional code.
76501         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76502         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76503         return 1.
76504         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76505         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76506         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76507         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76509 2012-05-14  Andreas Jaeger  <aj@suse.de>
76511         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76512         it's not used in glibc.
76513         (__coshm1): Likewise.
76514         (__acosh1p): Likewise.
76515         (__sgn): Likewise.
76517         * manual/string.texi (Copying and Concatenation): Add missing
76518         variable in concat example.
76519         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76521 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76523         [BZ #14103]
76524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76525         __builtin_clzl with __builtin_clzll.
76527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76529         [BZ #14104]
76530         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76531         libc_freeres_ptr.
76533 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76535         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76536         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76537         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76538         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76540 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76542         * NEWS: Update ia64 info.
76544 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76546         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76547         used as bcopy.
76549 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76551         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76552         * sysdeps/unix/syscalls.list (dup3): Likewise.
76553         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76554         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76556 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76558         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76559         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76561 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76563         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76564         thread pointer.
76565         (TLS_IE): Use mov/add instead of movq/addq to load thread
76566         pointer.
76567         (TLS_GD_PREFIX): New.
76568         (TLS_GD): Use it.
76570 2012-05-11  David S. Miller  <davem@davemloft.net>
76572         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76573         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76574         (_FPU_SETCW): Likewise.
76576 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76578         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76579         is 32-byte aligned.
76581 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76583         [BZ #11837]
76584         * iconvdata/gb18030.c: Update tables.
76585         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76586         characters specially.
76587         (BODY for TO_LOOP): Add encoding of missing ranges.
76589 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76591         [BZ #13673]
76592         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76593         * sysdeps/mach/hurd/dup3.c: Likewise.
76594         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76595         * sysdeps/powerpc/memmove.c:: Likewise.
76597 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76600         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76602 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76604         * elf/elf.h (R_X86_64_RELATIVE64): New.
76605         (R_X86_64_NUM): Updated.
76606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76607         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76608         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76609         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76610         tst-quad1pie tst-quad2pie
76611         (modules-names): Add tst-quadmod1 tst-quadmod2.
76612         ($(objpfx)tst-quad1): New dependency.
76613         ($(objpfx)tst-quad2): Likewise.
76614         ($(objpfx)tst-quad1pie): Likewise.
76615         ($(objpfx)tst-quad2pie): Likewise.
76616         * sysdeps/x86_64/tst-quad1.c: New file.
76617         * sysdeps/x86_64/tst-quad1pie.c: New file.
76618         * sysdeps/x86_64/tst-quad2.c: Likewise.
76619         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76620         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76621         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76622         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76623         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76627         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76628         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76629         * streams/stropts.h (t_scalar_t): Define type.
76631         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76632         (_PATH_PRESERVE): Set to "/var/lib".
76633         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76635         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76636         instead of int.
76638         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76639         if __dir_mkfile succeeded.
76641         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76642         checking for _hurd_dtablesize.  Unlock it right after having
76643         finished _hurd_dtable allocation.
76645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76647         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76648         * sysdeps/mach/hurd/configure: Regenerated.
76649         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76650         special-casing to...
76651         * sysdeps/gnu/configure.in: ... this new file.
76652         * sysdeps/unix/sysv/linux/configure: Regenerated.
76653         * sysdeps/gnu/configure: New generated file.
76655         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76656         for Linux: use nsec instead of usec, as well as:
76657         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76658         members of type struct timespec.
76659         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76660         New macros.
76661         (struct stat64): Likewise.
76662         (_STATBUF_ST_NSEC): New macro.
76663         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76665         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76666         __strtoul_internal rather than strtoul.
76668 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76670         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76671         and reject them.
76673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76675         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76676         which preserves existing values.
76677         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76679 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76681         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76682         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76683         greater than FD_SETSIZE.
76685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76687         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76688         allocated, call __vm_protect to finish enabling the existing space, and
76689         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76690         allocate the remainder.
76692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76694         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76695         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76699         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76700         sysdeps/mach/hurd/readlink.c.
76702         * posix/tst-sysconf.c (posix_options): Only use
76703         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76704         _POSIX_SYNCHRONIZED_IO when they are defined
76705         * sysdeps/mach/hurd/bits/posix_opt.h:
76706         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76707         (_XOPEN_REALTIME): Undefine macro.
76708         (_XOPEN_REALTIME_THREADS): Undefine macro.
76709         (_XOPEN_SHM): Undefine macro.
76710         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76711         macro to -1.
76712         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76713         macro to -1.
76714         (_POSIX_ASYNC_IO): Undefine macro.
76715         (_POSIX_PRIORITIZED_IO): Undefine macro.
76716         (_POSIX_SPIN_LOCKS): Define macro to -1.
76718         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76719         SA_NODEFER, SA_RESETHAND.
76720         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76721         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76722         F_DUPFD_CLOEXEC.
76724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76726         * elf/Makefile (pldd-modules): Define unconditionally.
76728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76730         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76734         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76735         Return ENOENT when name is empty.
76736         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76740         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76742         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76746         Fix mlock in all cases except non-readable pages.
76747         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76748         instead of VM_PROT_ALL as parameter to __vm_wire function.
76750         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76751         (__mkdir): When path is `/', just fail with EEXIST.
76752         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76756         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76757         <sys/uio.h> (for writev).
76758         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76759         and <sys/param.h> (for MIN).
76761 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76763         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76764         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76765         if interrupted.
76767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76769         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76770         Depend on against $(link-rpcuserlibs).
76772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76774         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76775         (__libc_stack_end): Do not use attribute_relro.
76776         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76777         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76778         to libthread-provided value.
76779         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76780         attribute_relro.
76782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76784         [BZ #3748]
76785         * bits/libc-lock.h (__libc_once_get): New macro.
76786         * sysdeps/mach/bits/libc-lock.h: Likewise.
76787         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76788         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76789         instead of using implementation details.
76791         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76792         * libio/freopen.c: Likewise.
76793         * libio/freopen64.c: Likewise.
76794         * misc/syslog.c: Likewise.
76795         * nscd/connections.c: Likewise.
76796         * nscd/netgroupcache.c: Likewise.
76797         * sysdeps/posix/getcwd.c: Likewise.
76799 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76801         * math/w_ilogbf.c: Add #include <limits.h>.
76803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76805         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76806         path instead of returning without unlocking.
76808         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76809         immediate-write ioctls.
76810         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76814         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76815         __builtin_frame_address instead of making assumptions about the
76816         location of the return address relative to DATA.  Force early load of
76817         the return address.
76818         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76819         __builtin_frame_address.
76821         dup3 for GNU Hurd.
76822         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76823         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76824         implement dup3 and do some further code clean-ups.
76825         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76826         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76830         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76832         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76833         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76834         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76835         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76836         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76837         d->port.lock.
76839         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76840         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76841         when handler == SIG_ERR, not when handler != SIG_ERR.
76843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76845         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76846         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76847         definitions.
76849         accept4 for GNU Hurd.
76850         * include/sys/socket.h (__libc_accept4): New prototype.
76851         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76852         to implement __libc_accept4.
76853         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76854         __libc_accept4.
76855         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76857         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76858         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76859         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76860         signal-defines.sym.
76862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76864         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76868         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76869         assertion on O_CLOEXEC flag.
76870         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76871         * hurd/intern-fd.c: Likewise.
76872         * hurd/port2fd.c: Likewise.
76874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76876         [BZ #3906]
76877         * bits/in.h (IPV6_PKTINFO): Define new macro.
76878         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76880 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76882         [BZ #13954]
76883         [BZ #13955]
76884         [BZ #13956]
76885         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76887         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76888         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76890         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76891         * math/libm-test.inc (logb_test) : Additional logb tests.
76893 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76894             Andreas Jaeger  <aj@suse.de>
76896         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76897         * configure: Regenerated.
76898         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76899         * config.make.in (link-obsolete-rpc): New substituted variable.
76900         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76901         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76902         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76903         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76904         so that libc.a contains the symbols.
76905         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76906         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76907         * sunrpc/auth_none.c: Likewise.
76908         * sunrpc/auth_unix.c: Likewise.
76909         * sunrpc/authdes_prot.c: Likewise.
76910         * sunrpc/authuxprot.c: Likewise.
76911         * sunrpc/clnt_gen.c: Likewise.
76912         * sunrpc/clnt_perr.c: Likewise.
76913         * sunrpc/clnt_raw.c: Likewise.
76914         * sunrpc/clnt_simp.c: Likewise.
76915         * sunrpc/clnt_tcp.c: Likewise.
76916         * sunrpc/clnt_udp.c: Likewise.
76917         * sunrpc/clnt_unix.c: Likewise.
76918         * sunrpc/des_crypt.c: Likewise.
76919         * sunrpc/des_soft.c: Likewise.
76920         * sunrpc/get_myaddr.c: Likewise.
76921         * sunrpc/key_call.c: Likewise.
76922         * sunrpc/key_prot.c: Likewise.
76923         * sunrpc/netname.c: Likewise.
76924         * sunrpc/pm_getmaps.c: Likewise.
76925         * sunrpc/pm_getport.c: Likewise.
76926         * sunrpc/pmap_clnt.c: Likewise.
76927         * sunrpc/pmap_prot.c: Likewise.
76928         * sunrpc/pmap_prot2.c: Likewise.
76929         * sunrpc/pmap_rmt.c: Likewise.
76930         * sunrpc/publickey.c: Likewise.
76931         * sunrpc/rpc_cmsg.c: Likewise.
76932         * sunrpc/rpc_common.c: Likewise.
76933         * sunrpc/rpc_dtable.c: Likewise.
76934         * sunrpc/rpc_prot.c: Likewise.
76935         * sunrpc/rpc_thread.c: Likewise.
76936         * sunrpc/rtime.c: Likewise.
76937         * sunrpc/svc.c: Likewise.
76938         * sunrpc/svc_auth.c: Likewise.
76939         * sunrpc/svc_raw.c: Likewise.
76940         * sunrpc/svc_run.c: Likewise.
76941         * sunrpc/svc_tcp.c: Likewise.
76942         * sunrpc/svc_udp.c: Likewise.
76943         * sunrpc/svc_unix.c: Likewise.
76944         * sunrpc/svcauth_des.c: Likewise.
76945         * sunrpc/xcrypt.c: Likewise.
76946         * sunrpc/xdr.c: Likewise.
76947         * sunrpc/xdr_array.c: Likewise.
76948         * sunrpc/xdr_float.c: Likewise.
76949         * sunrpc/xdr_intXX_t.c: Likewise.
76950         * sunrpc/xdr_mem.c: Likewise.
76951         * sunrpc/xdr_rec.c: Likewise.
76952         * sunrpc/xdr_ref.c: Likewise.
76953         * sunrpc/xdr_sizeof.c: Likewise.
76954         * sunrpc/xdr_stdio.c: Likewise.
76956 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76958         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76959         change.  Update copyright years.
76961 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76963         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76965 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76966             Joseph Myers  <joseph@codesourcery.com>
76967             Paul Pluzhnikov  <ppluzhnikov@google.com>
76969         [BZ #14012]
76970         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76971         requiring rpcgen.
76972         [cross-compiling] (extra-libs): Likewise.
76973         [cross-compiling] (extra-libs-others): Likewise.
76974         [cross-compiling] (librpcsvc-routines): Likewise.
76975         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76976         [cross-compiling] (omit-deps): Likewise.
76977         (sunrpc-CPPFLAGS): New variable.
76978         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76979         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76980         (cross-rpcgen-objs): New variable.
76981         (extra-objs): Append $(cross-rpcgen-objs).
76982         ($(cross-rpcgen-objs)): New rule.
76983         ($(objpfx)cross-rpcgen): Likewise.
76984         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76985         comment.
76986         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76987         ($(objpfx)x%.stmp): Likewise.
76988         * sunrpc/proto.h [IS_IN_build] (_): Define.
76989         [IS_IN_build] (_libc_intl_domainname): Likewise.
76991 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76994         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76995         and R_X86_64_TPOFF64.
76997 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76999         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77000         sysdeps/unix/sysv/syscalls.list.
77001         (stime): Likewise.
77002         (utime): Likewise.
77003         * sysdeps/unix/sysv/syscalls.list: Remove file.
77005 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77007         [BZ #3440]
77008         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77009         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77010         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77011         (__LC_IDENTIFICATION): Make these macros useful in #if
77012         expressions, as required by C99.
77014 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77016         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77017         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77018         after this.
77020 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77022         * stdlib/longlong.h: Updated from GCC.
77024 2012-05-09  Andreas Jaeger  <aj@suse.de>
77026         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77027         default is first entry.
77028         (run_mode): Set type.
77029         (main): Remove informal message about syslog.
77030         (options): Fix typo.
77032         [BZ #14053]
77033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77034         to asm.
77035         (lrint): Likewise.
77036         (llrintf): Likewise.
77037         (llrint): Likewise.
77038         (rint): Likewise.
77039         (rintf): Likewise.
77040         (nearbyint): Likewise.
77041         (nearbyintf): Likewise.
77043 2012-05-09  Andreas Jaeger  <aj@suse.de>
77044             Pedro Alves  <palves@redhat.com>
77046         * nscd/nscd.c (run_mode): Use enum.
77047         (main): Cleanup coding style issue.
77049 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77050             Andreas Jaeger  <aj@suse.de>
77052         * nscd/nscd.c (go_background): Replaced with...
77053         (run_mode): ... this.
77054         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77055         (options): Add -F --foreground.
77056         (main): Implement it.
77057         (parse_opt): Parse it.
77059 2012-05-09  Andreas Jaeger  <aj@suse.de>
77061         [BZ #14083]
77062         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77063         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77064         -Wconversion warning.
77065         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77066         Likewise.
77068 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77070         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77071         == 0.
77072         (LC_ALL): Use macro-int-constant.
77073         (LC_COLLATE): Likewise.
77074         (LC_CTYPE): Likewise.
77075         (LC_MESSAGES): Likewise.
77076         (LC_MONETARY): Likewise.
77077         (LC_NUMERIC): Likewise.
77078         (LC_TIME): Likewise.
77079         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77080         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77082         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77083         Specify type.
77084         [C99-based standards] (float_t): Expect type.
77085         [C99-based standards] (double_t): Expect type.
77086         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77087         type.
77088         [C99-based standards] (HUGE_VALL): Likewise.
77089         [C99-based standards] (INFINITY): Likewise.
77090         [C99-based standards] (NAN): Likewise.
77091         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77092         [C99-based standards] (FP_NAN): Likewise.
77093         [C99-based standards] (FP_NORMAL): Likewise.
77094         [C99-based standards] (FP_SUBNORMAL): Likewise.
77095         [C99-based standards] (FP_ZERO): Likewise.
77096         [C99-based standards] (FP_FAST_FMA): Use
77097         optional-macro-int-constant.  Specify type.  Require == 1.
77098         [C99-based standards] (FP_FAST_FMAF): Likewise.
77099         [C99-based standards] (FP_FAST_FMAL): Likewise.
77100         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77101         [C99-based standards] (FP_ILOGBNAN): Likewise.
77102         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77103         Specify type.
77104         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77105         [C99-based standards] (math_errhandling): Specify type.
77106         [ISO99 || ISO11] (signgam): Do not allow.
77107         [non-C99-based standards] (copysignf): Do not allow.
77108         [non-C99-based standards] (exp2f): Likewise.
77109         [non-C99-based standards] (log2f): Likewise.
77110         [non-C99-based standards] (modff): Allow.
77111         [non-C99-based standards] (erff): Do not allow.
77112         [non-C99-based standards] (erfcf): Likewise.
77113         [non-C99-based standards] (gammaf): Likewise.
77114         [non-C99-based standards] (hypotf): Likewise.
77115         [non-C99-based standards] (j0f): Likewise.
77116         [non-C99-based standards] (j1f): Likewise.
77117         [non-C99-based standards] (jnf): Likewise.
77118         [non-C99-based standards] (lgammaf): Likewise.
77119         [non-C99-based standards] (tgammaf): Likewise.
77120         [non-C99-based standards] (y0f): Likewise.
77121         [non-C99-based standards] (y1f): Likewise.
77122         [non-C99-based standards] (ynf): Likewise.
77123         [non-C99-based standards] (isnanf): Likewise.
77124         [non-C99-based standards] (acoshf): Likewise.
77125         [non-C99-based standards] (asinhf): Likewise.
77126         [non-C99-based standards] (atanhf): Likewise.
77127         [non-C99-based standards] (cbrtf): Likewise.
77128         [non-C99-based standards] (expm1f): Likewise.
77129         [non-C99-based standards] (ilogbf): Likewise.
77130         [non-C99-based standards] (log1pf): Likewise.
77131         [non-C99-based standards] (logbf): Likewise.
77132         [non-C99-based standards] (nextafterf): Likewise.
77133         [non-C99-based standards] (remainderf): Likewise.
77134         [non-C99-based standards] (rintf): Likewise.
77135         [non-C99-based standards] (scalbf): Likewise.
77136         [non-C99-based standards] (copysignl): Likewise.
77137         [non-C99-based standards] (exp2l): Likewise.
77138         [non-C99-based standards] (log2l): Likewise.
77139         [non-C99-based standards] (modfl): Allow.
77140         [non-C99-based standards] (erfl): Do not allow.
77141         [non-C99-based standards] (erfcl): Likewise.
77142         [non-C99-based standards] (gammal): Likewise.
77143         [non-C99-based standards] (hypotl): Likewise.
77144         [non-C99-based standards] (j0l): Likewise.
77145         [non-C99-based standards] (j1l): Likewise.
77146         [non-C99-based standards] (jnl): Likewise.
77147         [non-C99-based standards] (lgammal): Likewise.
77148         [non-C99-based standards] (tgammal): Likewise.
77149         [non-C99-based standards] (y0l): Likewise.
77150         [non-C99-based standards] (y1l): Likewise.
77151         [non-C99-based standards] (ynl): Likewise.
77152         [non-C99-based standards] (isnanl): Likewise.
77153         [non-C99-based standards] (acoshl): Likewise.
77154         [non-C99-based standards] (asinhl): Likewise.
77155         [non-C99-based standards] (atanhl): Likewise.
77156         [non-C99-based standards] (cbrtl): Likewise.
77157         [non-C99-based standards] (expm1l): Likewise.
77158         [non-C99-based standards] (ilogbl): Likewise.
77159         [non-C99-based standards] (log1pl): Likewise.
77160         [non-C99-based standards] (logbl): Likewise.
77161         [non-C99-based standards] (nextafterl): Likewise.
77162         [non-C99-based standards] (remainderl): Likewise.
77163         [non-C99-based standards] (rintl): Likewise.
77164         [non-C99-based standards] (scalbl): Likewise.
77165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77166         [non-C99-based standards] (FP_*): Do not allow.
77167         [C99-based standards] (FP_*): Change to
77168         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77169         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77170         allow.
77171         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77172         (SIG_ERR): Likewise.
77173         [X/Open-based standards] (SIG_HOLD): Likewise.
77174         (SIG_IGN): Likewise.
77175         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77176         positive value.
77177         (SIGFPE): Likewise.
77178         (SIGILL): Likewise.
77179         (SIGINT): Likewise.
77180         (SIGSEGV): Likewise.
77181         (SIGTER): Likewise.
77182         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77183         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77184         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77185         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77186         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77187         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77188         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77189         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77190         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77191         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77192         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77193         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77194         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77195         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77196         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77197         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77198         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77199         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77200         [X/Open-based standards] (SIGTRAP): Likewise.
77201         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77202         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77203         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77204         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77205         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77206         allow.
77208 2012-05-08  Ian Wienand  <ianw@vmware.com>
77210         [BZ #14080]
77211         * time/tzset.c (__tzset_parse_tz): Update default rules for
77212         daylight time changes in the Energy Policy Act of 2005.
77214 2012-05-09  Andreas Jaeger  <aj@suse.de>
77216         [BZ #13983]
77217         * elf/ldconfig.c (parse_conf): Change string to make clear that
77218         ldconfig only issued a warning if ld.so.conf does not exist.
77220 2012-05-08  David S. Miller  <davem@davemloft.net>
77222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77223         movxtod instead of popping the value on the stack.
77225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77227 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77229         * config.h.in: Add HAVE_ARM_PCS_VFP.
77231 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77233         [BZ #13979]
77234         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77235         checking but the checks are disabled for any reason.
77237 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77239         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77240         and ELF64_R_TYPE with ELFW(R_TYPE).
77242 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77244         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77245         (ulimit): Likewise.
77247         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77248         (settimeofday): Likewise.
77250 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77252         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77253         a struct th_u2 inside the union, and move tu_block/tu_code into
77254         a new th_u3 union of tu_block/tu_code inside of that.  Move
77255         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77256         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77257         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77258         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77259         (th_stuff): Change to th_u1.tu_stuff.
77260         (th_data): Define.
77261         (th_msg): Change to th_u1.th_u2.tu_data.
77263 2012-05-07  David S. Miller  <davem@davemloft.net>
77265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77267         [BZ #14074]
77268         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77269         (SETUP_PIC_REG): Use it.
77270         (SETUP_PIC_REG_LEAF): Use it.
77272 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77274         [BZ #13885]
77275         [BZ #13923]
77276         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77277         USE_AS_EXPM1L.
77278         (EXPL_FINITE): Likewise.
77279         (FLDLOG): Likewise.
77280         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77281         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77282         e_expl.S.
77283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77284         USE_AS_EXPM1L.
77285         (EXPL_FINITE): Likewise.
77286         (FLDLOG): Likewise.
77287         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77288         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77289         e_expl.S.
77290         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77291         test of -max_value argument for long double.
77292         * sysdeps/i386/fpu/libm-test-ulps: Update.
77293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77295 2012-05-06  David S. Miller  <davem@davemloft.net>
77297         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77298         quad soft-float symbols whose references which are compiler
77299         generated.
77300         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77302 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77304         [BZ #13884]
77305         [BZ #13914]
77306         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77307         USE_AS_EXP10L.
77308         (EXPL_FINITE): Likewise.
77309         (FLDLOG): Likewise.
77310         (c0): Likewise.
77311         (c1): Likewise.
77312         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77313         Adjust comments for base varying.
77314         (__expl_finite): Change alias to EXPL_FINITE.
77315         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77316         e_expl.S.
77317         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77318         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77319         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77320         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77321         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77322         USE_AS_EXP10L.
77323         (EXPL_FINITE): Likewise.
77324         (FLDLOG): Likewise.
77325         (c0): Likewise.
77326         (c1): Likewise.
77327         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77328         Adjust comments for base varying.
77329         (__expl_finite): Change alias to EXPL_FINITE.
77330         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77331         tests for bugs.
77332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77334         [BZ #14064]
77335         * math/libm-test.inc (check_float_internal): Correct ulp
77336         calculation for subnormal expected results.
77338 2012-05-06  Andreas Jaeger  <aj@suse.de>
77340         * Makeconfig (+math-flags): New, set to -frounding-math.
77341         (+cflags): Add +math-flags so that all of glibc gets compiled with
77342         it.
77344         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77346 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77348         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77349         Disable one test.
77351         [BZ #13787]
77352         [BZ #13922]
77353         [BZ #14036]
77354         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77355         (__ieee754_expl): Allow for and saturate large arguments.
77356         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77357         (u_threshold): Likewise.
77358         (__exp): Call __ieee754_exp before checking for overflow and
77359         underflow.
77360         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77361         (u_threshold): Likewise.
77362         (__expf): Call __ieee754_expf before checking for overflow and
77363         underflow.
77364         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77365         (u_threshold): Likewise.
77366         (__expl): Call __ieee754_expl before checking for overflow and
77367         underflow.
77368         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77369         (__ieee754_expl): Allow for and saturate large arguments.
77370         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77371         missing overflow exception on overflow.
77372         (expm1_test): Do not allow missing overflow exception on overflow.
77374         * sysdeps/i386/fpu/e_expl.c: Move to ...
77375         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77376         rather than using inline asm.
77377         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77378         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77379         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77381         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77382         (nice): Likewise.
77383         (poll): Likewise.
77384         (signal): Likewise.
77385         (time): Likewise.
77386         (times): Likewise.
77388 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77390         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77391         sysdeps/unix/common/syscalls.list.
77392         (fchmod): Likewise.
77393         (fchown): Likewise.
77394         (ftruncate): Likewise.
77395         (getrusage): Likewise.
77396         (gettimeofday): Likewise.
77397         (setpgid): Likewise.
77398         (setregid): Likewise.
77399         (setreuid): Likewise.
77400         (sigaction): Likewise.
77401         (truncate): Likewise.
77402         (vhangup): Likewise.
77403         * sysdeps/unix/common/syscalls.list: Remove file.
77404         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77405         * sysdeps/unix/sysv/linux/Implies: Likewise.
77407 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77409         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77411         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77412         Moved to ...
77413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77414         Here.
77415         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77416         to ...
77417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77418         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77419         to ...
77420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77421         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77422         to ...
77423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77424         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77425         to ...
77426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77427         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77428         to ...
77429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77430         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77431         to ...
77432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77433         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77434         to ...
77435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77436         Here.
77437         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77438         to ...
77439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77440         Here.
77441         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77442         to ...
77443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77444         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77445         Moved to ...
77446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77447         Here.
77448         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77449         to ...
77450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77452 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77454         * sysdeps/unix/common/bits/dirent.h: Remove file.
77455         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77457         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77458         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77459         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77460         * sysdeps/unix/bsd/isatty.c: Likewise.
77461         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77462         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77463         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77465 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77467         [BZ #13563]
77468         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77469         long double comparison inaccuracies.
77470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77473 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77475         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77478 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77480         [BZ #14049]
77481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77482         nonzero digits before rounding a hex value.
77483         * stdlib/tst-strtod.c (tests): Add another test.
77485 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77487         * sysdeps/s390/fpu/libm-test-ulps: Update.
77489 2012-05-03  Andreas Jaeger  <aj@suse.de>
77491         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77492         does not get optimized out.
77493         (malloc_opt_barrier): New.
77495 2012-05-03  Andreas Jaeger  <aj@suse.de>
77496             Roland McGrath  <roland@hack.frob.com>
77498         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77499         intermediate file deletion.
77500         (generated): Add .symlist files.
77502 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77504         [BZ #13775]
77505         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77506         Redirect under this condition.
77507         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77508         [__USE_GNU] (__dprintf_chk): Not under this condition.
77509         [__USE_GNU] (__vdprintf_chk): Likewise.
77510         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77511         under this condition.
77512         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77513         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77514         [__USE_XOPEN2K8] (vdprintf): Likewise.
77515         [__USE_GNU] (__dprintf_chk): Not under this condition.
77516         [__USE_GNU] (__vdprintf_chk): Likewise.
77517         [__USE_GNU] (dprintf): Likewise.
77518         [__USE_GNU] (vdprintf): Likewise.
77520 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77522         * elf/Makefile (common-generated): Set this instead of generated for
77523         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77524         $(all-built-dso)-derived lists.
77526 2012-05-03  Andreas Jaeger  <aj@suse.de>
77528         * sysdeps/i386/fpu/libm-test-ulps: Update.
77530         * FAQ: Removed.
77531         * FAQ.in: Likewise.
77532         * scripts/gen-FAQ.pl: Likewise.
77533         * manual/install.texi (Installation): Point to online location of
77534         FAQ.
77535         * Makefile (files-for-dist): Remove FAQ.
77536         (FAQ): Remove.
77538 2012-05-02  Allan McRae  <allan@archlinux.org>
77540         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77541         (LDFLAGS-reldepmod5.so): Likewise.
77542         (LDFLAGS-reldep6mod1.so): Likewise.
77543         (LDFLAGS-reldep6mod4.so): Likewise.
77544         (LDFLAGS-reldep8mod3.so): Likewise.
77545         (LDFLAGS-unload4mod1.so): Likewise.
77546         (LDFLAGS-unload4mod2.so): Likewise.
77547         (LDFLAGS-tst-initorder): Likewise.
77548         (LDFLAGS-tst-initordera2.so): Likewise.
77549         (LDFLAGS-tst-initordera3.so): Likewise.
77550         (LDFLAGS-tst-initordera4.so): Likewise.
77551         (LDFLAGS-tst-initorderb2.so): Likewise.
77552         (LDFLAGS-noload): Likewise.
77553         (LDFLAGS-next): Likewise.
77554         (LDFLAGS-order2mod1.so): Likewise.
77555         (LDFLAGS-order2mod2.so): Likewise.
77556         (LDFLAGS-tst-initorder2): Likewise.
77557         (LDFLAGS-tst-initorder2a.so): Likewise.
77558         (LDFLAGS-tst-initorder2b.so): Likewise.
77559         (LDFLAGS-tst-initorder2c.so): Likewise.
77560         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77562 2012-05-02  David S. Miller  <davem@davemloft.net>
77564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77566 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77568         [BZ #14055]
77569         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77571 2012-05-02  Andreas Jaeger  <aj@suse.de>
77573         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77574         since we manipulate rounding mode.
77575         (CPPFLAGS-test-idouble.c): Likewise.
77576         (CPPFLAGS-test-ifloat.c): Likewise.
77577         (CFLAGS-test-ldouble.c): Likewise.
77578         (CFLAGS-test-double.c): Likewise.
77579         (CFLAGS-test-float.c): Likewise.
77580         (CFLAGS-test-misc.c): Likewise.
77581         (CFLAGS-test-test-fenv.c): Likewise.
77583 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77585         [BZ #2550]
77586         [BZ #2570]
77587         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77588         comparisons to determine direction to adjust input.
77590 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77592         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77593         output to the target.
77595         * scripts/localplt.awk: New file.
77596         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77597         (check-localplt-CFLAGS): Variable removed.
77598         ($(all-built-dso:=.jmprel)): New static pattern rule.
77599         (generated): Add those targets.
77600         (localplt-built-dso): New variable.
77601         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77603         * elf/check-localplt.c: File removed.
77605         * scripts/check-execstack.awk: New file.
77606         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77607         (check-execstack-CFLAGS): Variable removed.
77608         ($(objpfx)check-execstack.h): Target removed.
77609         ($(objpfx)execstack-default): New target.
77610         (generated): Add that instead of check-execstack.h.
77611         ($(all-built-dso:=.phdr)): New static pattern rule.
77612         (generated): Add those targets.
77613         * elf/check-execstack.c: File removed.
77615         * scripts/check-textrel.awk: New file.
77616         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77617         (check-textrel-CFLAGS): Variable removed.
77618         (all-built-dso): Use := to define.o
77619         ($(all-built-dso:=.dyn)): New static pattern rule.
77620         (generated): Add those targets.
77621         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77622         * config.make.in (READELF): New substituted variable.
77623         * elf/check-textrel.c: File removed.
77625 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77627         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77628         allow.
77629         * conform/data/ctype.h-data [C99-based standards] (isblank):
77630         Expect function.
77631         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77632         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77633         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77634         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77635         Specify type.  Require positive value.
77636         (EILSEQ): Likewise.
77637         (ERANGE): Likewise.
77638         [ISO || POSIX] (EILSEQ): Do not expect.
77639         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77640         Specify type.  Require positive value.
77641         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77642         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77643         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77644         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77645         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77646         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77647         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77648         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77649         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77650         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77651         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77652         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77653         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77654         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77655         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77656         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77657         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77658         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77659         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77660         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77661         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77662         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77663         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77664         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77665         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77666         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77667         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77668         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77669         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77670         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77671         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77672         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77673         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77674         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77675         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77676         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77677         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77678         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77679         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77680         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77681         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77682         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77683         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77684         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77685         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77686         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77687         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77688         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77689         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77690         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77691         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77692         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77693         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77694         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77695         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77696         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77697         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77698         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77699         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77700         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77701         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77702         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77703         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77704         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77705         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77706         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77707         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77708         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77709         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77710         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77711         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77712         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77713         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77714         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77715         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77716         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77717         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77718         Require >= 2.
77719         (FLT_ROUNDS): Expect as macro, not constant.
77720         (FLT_MANT_DIG): Use macro-int-constant.
77721         (DBL_MANT_DIG): Likewise.
77722         (LDBL_MANT_DIG): Likewise.
77723         (FLT_DIG): Likewise.
77724         (DBL_DIG): Likewise.
77725         (LDBL_DIG): Likewise.
77726         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77727         (DBL_MIN_EXP): Likewise.
77728         (LDBL_MIN_EXP): Likewise.
77729         (FLT_MAX_EXP): Use macro-int-constant.
77730         (DBL_MAX_EXP): Likewise.
77731         (LDBL_MAX_EXP): Likewise.
77732         (FLT_MAX_10_EXP): Likewise.
77733         (DBL_MAX_10_EXP): Likewise.
77734         (LDBL_MAX_10_EXP): Likewise.
77735         (FLT_MAX): Use macro-constant.
77736         (DBL_MAX): Likewise.
77737         (LDBL_MAX): Likewise.
77738         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77739         (DBL_EPSILON): Likewise.
77740         (LDBL_EPSILON): Likewise.
77741         (FLT_MIN): Likewise.
77742         (DBL_MIN): Likewise.
77743         (LDBL_MIN): Likewise.
77744         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77745         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77746         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77747         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77748         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77749         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77750         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77751         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77752         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77753         [ISO11] (FLT_TRUE_MIN): Likewise.
77754         [ISO11] (LDBL_TRUE_MIN): Likewise.
77755         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77756         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77757         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77758         (SCHAR_MAX): Likewise.
77759         (UCHAR_MAX): Likewise.
77760         (CHAR_MIN): Likewise.
77761         (CHAR_MAX): Likewise.
77762         (MB_LEN_MAX): Use macro-int-constant.
77763         (SHRT_MIN): Use macro-int-constant.  Specify type.
77764         (SHRT_MAX): Likewise.
77765         (USHRT_MAX): Likewise.
77766         (INT_MAX): Likewise.
77767         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77768         bound negative.
77769         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77770         bound with "U".
77771         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77772         bound with "L".
77773         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77774         bound negative.  Suffix upper bound with "L".
77775         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77776         bound with "UL".
77777         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77778         Specify type.
77779         [C99-based standards] (LLONG_MAX): Likewise.
77780         [C99-based standards] (ULLONG_MAX): Likewise.
77781         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77782         == 0.
77783         [ISO11] (max_align_t): Require type.
77784         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77786         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77787         from $CFLAGS, without defining away __attribute__ calls.
77788         (checknamespace): Use $CFLAGS_namespace.
77790         * conform/conformtest.pl (@keywords): Only include C99 keywords
77791         for standards based on C99 or C11.
77793         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77794         Disable tests.
77795         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77796         UNIX98]: Likewise.
77798         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77799         usability of symbols in #if.
77801         * conform/conformtest.pl: If macro or constant types start
77802         "promoted:", expect the symbol to be of the following type
77803         promoted by the integer promotions.
77805         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77806         in one place.  Also handle "macro-constant".
77808         * conform/conformtest.pl: Only accept expected macro values with
77809         "==".  Parse all "macro" lines in one place.
77810         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77812         * conform/conformtest.pl: Handle braced types on "constant" lines
77813         instead of handling "typed-constant".
77814         * conform/data/signal.h-data: Use "constant" instead of
77815         "typed-constant".
77817         * conform/conformtest.pl: Handle "optional-" at start of lines in
77818         one place rather than duplicating several cases.  Handle each
77819         format of "macro" line with initial "optional-".
77821         * conform/conformtest.pl: Only accept expected constant or
77822         optional-constant values with "==".  Parse all "constant" lines in
77823         one place.  Parse all "optional-constant" lines in one place.
77824         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77825         * conform/data/fmtmsg.h-data: Likewise.
77826         * conform/data/netinet/in.h-data: Likewise.
77827         * conform/data/tar.h-data: Likewise.
77828         * conform/data/limits.h-data: Use "==" form on "constant" and
77829         "optional-constant" lines.
77831         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77832         Use -std=c99 for XOPEN2K.
77833         (@knownproblems): Remove.
77834         (newtoken): Don't check %isknown.
77836         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77837         Do not expect macro.
77838         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77839         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77840         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77841         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77842         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77843         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77844         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77845         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77846         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77847         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77848         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77849         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77850         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77851         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77852         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77853         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77854         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77855         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77856         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77857         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77858         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77859         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77860         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77861         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77862         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77863         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77864         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77865         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77866         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77867         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77868         [XPG3] (acosh): Likewise.
77869         [XPG3] (asinh): Likewise.
77870         [XPG3] (atanh): Likewise.
77871         [XPG3] (cbrt): Likewise.
77872         [XPG3] (expm1): Likewise.
77873         [XPG3] (ilogb): Likewise.
77874         [XPG3] (log1p): Likewise.
77875         [XPG3] (logb): Likewise.
77876         [XPG3] (nextafter): Likewise.
77877         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77878         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77879         [XPG3] (remainder): Likewise.
77880         [XPG3] (rint): Likewise.
77881         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77882         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77883         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77884         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77885         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77886         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77887         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77888         [UNIX98 || XOPEN2K] (scalb): Expect.
77889         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77890         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77891         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77892         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77893         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77894         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77895         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77896         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77897         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77898         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77899         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77900         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77901         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77902         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77903         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77904         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77905         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77906         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77907         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77908         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77909         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77910         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77911         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77912         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77913         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77914         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77915         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77916         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77917         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77918         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77919         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77920         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77921         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77922         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77923         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77924         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77925         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77926         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77927         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77928         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77929         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77930         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77931         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77932         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77933         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77934         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77935         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77936         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77937         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77938         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77939         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77940         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77941         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77942         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77943         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77944         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77945         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77946         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77947         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77948         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77949         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77950         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77951         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77952         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77953         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77954         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77955         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77956         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77957         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77958         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77959         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77960         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77961         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77962         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77963         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77964         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77965         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77966         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77967         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77968         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77969         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77970         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77971         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77972         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77973         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77974         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77975         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77976         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77977         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77978         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77979         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77980         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77981         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77982         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77983         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77984         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77985         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77986         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77987         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77988         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77989         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77990         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77991         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77992         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77993         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77994         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77995         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77996         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77997         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77998         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77999         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78000         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78001         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78002         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78003         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78004         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78005         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78006         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78007         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78008         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78009         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78010         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78011         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78012         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78013         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78014         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78015         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78016         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78017         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78018         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78019         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78020         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78021         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78022         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78023         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78024         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78025         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78027         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78028         _XOPEN_SOURCE_EXTENDED for XPG4.
78030         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78032         * Makeconfig (localtime): Remove variable.
78033         (inst_localtime-file): Likewise.
78035 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78038         Update.
78039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78040         Update.
78041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78042         Update.
78043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78044         Update.
78045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78046         Update.
78047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78048         Update.
78049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78050         Update.
78051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78052         Update.
78053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78054         Update.
78056 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78058         [BZ #2550]
78059         [BZ #2570]
78060         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78061         comparisons to determine direction to adjust input.
78062         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78063         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78064         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78065         Likewise.
78066         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78067         Likewise.
78068         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78069         Likewise.
78070         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78071         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78072         Likewise.
78073         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78074         Likewise.
78075         * math/libm-test.inc (nexttoward_test): Add more tests.
78077 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78079         [BZ #14040]
78080         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78081         in version GLIBC_2.1, not GLIBC_2.0.
78082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78083         Likewise.
78085 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78087         [BZ #13942]
78088         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78089         (1 - x) * (1 + x).
78090         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78091         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78092         * math/libm-test.inc (acos_test): Add more tests.
78093         (asin_test): Likewise.
78094         * sysdeps/i386/fpu/libm-test-ulps: Update.
78095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78097         [BZ #14034]
78098         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78099         of square root.
78100         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78101         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78102         * math/libm-test.inc (acos_test_tonearest): New function.
78103         (acos_test_towardzero): Likewise.
78104         (acos_test_downward): Likewise.
78105         (acos_test_upward): Likewise.
78106         (asin_test_tonearest): Likewise.
78107         (asin_test_towardzero): Likewise.
78108         (asin_test_downward): Likewise.
78109         (asin_test_upward): Likewise.
78110         (main): Call the new functions.
78111         * sysdeps/i386/fpu/libm-test-ulps: Update.
78112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78114         [BZ #13884]
78115         [BZ #13924]
78116         * math/e_exp10.c: Include <float.h>.
78117         (__ieee754_exp10): Handle underflow here rather than multiplying
78118         large negative argument by M_LN10.
78119         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78120         of __ieee754_expf.
78121         * math/e_exp10l.c: Include <float.h>.
78122         (__ieee754_exp10l): Handle underflow here rather than multiplying
78123         large negative argument by M_LN10l.
78124         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78125         spurious overflow exception on underflow.
78127 2012-04-29  Marek Polacek  <polacek@redhat.com>
78129         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78130         (__fortify_function): New macro.
78131         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78132         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78133         __extern_always_inline.
78134         * libio/bits/stdio2.h: Likewise.
78135         * libio/bits/stdio.h: Likewise.
78136         * string/string.h: Likewise.
78137         * string/bits/string3.h: Likewise.
78138         * include/stdio.h: Likewise.
78139         * stdlib/bits/stdlib.h: Likewise.
78140         * stdlib/stdlib.h: Likewise.
78141         * rt/bits/mqueue2.h: Likewise.
78142         * rt/mqueue.h: Likewise.
78143         * posix/bits/unistd.h: Likewise.
78144         * posix/unistd.h: Likewise.
78145         * io/bits/poll2.h: Likewise.
78146         * io/bits/fcntl2.h: Likewise.
78147         * io/fcntl.h: Likewise.
78148         * io/sys/poll.h: Likewise.
78149         * misc/bits/syslog.h: Likewise.
78150         * misc/bits/syslog-ldbl.h: Likewise.
78151         * misc/sys/syslog.h: Likewise.
78152         * socket/bits/socket2.h: Likewise.
78153         * socket/sys/socket.h: Likewise.
78154         * debug/tst-chk1.c: Likewise.
78155         * wcsmbs/bits/wchar2.h: Likewise.
78156         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78157         * wcsmbs/wchar.h: Likewise.
78159 2012-04-29  Andreas Jaeger  <aj@suse.de>
78161         * Makerules (tests): Remove enable-check-abi protection.
78162         (check-abi-warn): Remove.
78163         (check-abi-%): Remove check-abi-warn usage.
78165         * configure.in: Remove check-abi configure option.
78166         * configure: Regenerated.
78167         * config.make.in (enable-check-abi): Remove.
78169 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78171         [BZ #14033]
78172         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78173         double functions to double *_finite functions.
78175         [BZ #13941]
78176         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78177         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78178         LDBL_MIN_EXP.
78179         * stdio-common/Makefile (tests): Add tst-sprintf3.
78180         * stdio-common/tst-sprintf3.c: New file.
78182         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78183         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78187         * conform/conformtest.pl: Remove duplicate typed-constant
78188         handling.
78190 2012-04-28  David S. Miller  <davem@davemloft.net>
78192         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78193         (check-abi-%): Remove AWK script prerequisite and explicit
78194         abilist directory.
78195         (check-abi): Rewrite to just diff the symlist with the abilist.
78196         (config-tls, config-abi-config): Delete, no longer used.
78197         (update-abi-%): Remove AWK script and explicit abilist directory.
78198         (update-abi): Rewrite to simply compare and conditionally copy the
78199         symlist and the sysdep abilist file.  Remove update-abi-config
78200         checks.
78201         * abilist/ld.abilist: Remove.
78202         * abilist/libBrokenLocale.abilist: Remove.
78203         * abilist/libanl.abilist: Remove.
78204         * abilist/libcrypt.abilist: Remove.
78205         * abilist/libdl.abilist: Remove.
78206         * abilist/librt.abilist: Remove.
78207         * abilist/libthread_db.abilist: Remove.
78208         * abilist/libutil.abilist: Remove.
78209         * scripts/extract-abilist.awk: Remove.
78210         * scripts/merge-abilist.awk: Remove.
78211         * sysdeps/generic/libcidn.abilist: New file.
78212         * sysdeps/generic/libnss_compat.abilist: New file.
78213         * sysdeps/generic/libnss_db.abilist: New file.
78214         * sysdeps/generic/libnss_dns.abilist: New file.
78215         * sysdeps/generic/libnss_files.abilist: New file.
78216         * sysdeps/generic/libnss_hesiod.abilist: New file.
78217         * sysdeps/generic/libnss_nis.abilist: New file.
78218         * sysdeps/generic/libnss_nisplus.abilist: New file.
78219         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78220         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78221         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78222         file.
78223         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78224         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78225         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78226         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78227         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78228         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78229         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78230         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78231         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78232         file.
78233         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78234         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78235         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78236         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78237         file.
78238         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78239         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78240         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78241         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78242         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78243         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78244         file.
78245         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78246         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78247         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78248         file.
78249         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78251         New file.
78252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78253         New file.
78254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78255         New file.
78256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78257         New file.
78258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78259         New file.
78260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78261         New file.
78262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78263         New file.
78264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78265         New file.
78266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78267         New file.
78268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78269         New file.
78270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78271         New file.
78272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78273         New file.
78274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78275         New file.
78276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78277         file.
78278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78279         New file.
78280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78281         New file.
78282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78283         file.
78284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78285         New file.
78286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78287         New file.
78288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78289         file.
78290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78291         New file.
78292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78293         New file.
78294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78295         New file.
78296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78297         New file.
78298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78299         New file.
78300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78301         New file.
78302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78304         file.
78305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78306         New file.
78307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78308         file.
78309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78310         file.
78311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78312         file.
78313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78314         file.
78315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78316         file.
78317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78318         New file.
78319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78320         file.
78321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78322         file.
78323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78324         New file.
78325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78326         file.
78327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78329         file.
78330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78331         New file.
78332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78333         file.
78334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78335         file.
78336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78337         file.
78338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78339         file.
78340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78341         file.
78342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78343         New file.
78344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78345         file.
78346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78347         file.
78348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78349         New file.
78350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78351         file.
78352         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78353         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78354         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78355         file.
78356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78357         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78358         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78359         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78360         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78361         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78362         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78363         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78364         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78365         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78368         file.
78369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78370         New file.
78371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78372         file.
78373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78374         file.
78375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78376         file.
78377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78378         file.
78379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78380         file.
78381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78382         New file.
78383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78384         New file.
78385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78386         file.
78387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78388         New file.
78389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78390         file.
78391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78393         file.
78394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78395         New file.
78396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78397         file.
78398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78399         file.
78400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78401         file.
78402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78403         file.
78404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78405         file.
78406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78407         New file.
78408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78409         New file.
78410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78411         file.
78412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78413         New file.
78414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78415         file.
78417 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78419         * conform/conformtest.pl: Fix typo in handling typed-constant from
78420         allow-header.
78422 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78424         * README: Cut down references to pre-2.6 Linux kernels and
78425         Linuxthreads.  Update lists of configurations in libc and ports
78426         and sort alphabetically.  Say "or newer" with Linux kernel version
78427         requirements.
78429         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78431 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78433         [BZ #887]
78434         * math/libm-test.inc (logb_test_downward): New test to expose
78435         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78436         rounding mode.
78438 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78440         [BZ #14027]
78441         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78442         to be done.
78443         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78444         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78446 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78448         * sysdeps/unix/i386/brk.S: Remove file.
78449         * sysdeps/unix/i386/dl-brk.S: Likewise.
78450         * sysdeps/unix/i386/pipe.S: Likewise.
78451         * sysdeps/unix/i386/sigreturn.S: Likewise.
78452         * sysdeps/unix/i386/syscall.S: Likewise.
78453         * sysdeps/unix/i386/vfork.S: Likewise.
78454         * sysdeps/unix/i386/wait.S: Likewise.
78456         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78457         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78459         * configure.in (arm*-none*): Do not allow without
78460         --enable-hacker-mode.
78461         (netbsd*): Remove case setting base_os.
78462         (386bsd*): Likewise.
78463         (freebsd*): Likewise.
78464         (bsdi*): Likewise.
78465         (osf*): Likewise.
78466         (sunos*): Likewise.
78467         (ultrix*): Likewise.
78468         (newsos*): Likewise.
78469         (dynix*): Likewise.
78470         (*bsd*): Likewise.
78471         (sysv*): Likewise.
78472         (isc*): Likewise.
78473         (esix*): Likewise.
78474         (sco*): Likewise.
78475         (minix*): Likewise.
78476         (irix4*): Likewise.
78477         (irix6*): Likewise.
78478         (solaris[2-9]*): Likewise.
78479         (none): Likewise.
78480         * configure: Regenerated.
78482 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78484         [BZ #11521]
78485         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78486         overflow or cancellation in calculating denominator.
78487         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78488         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78489         down expression to avoid unexpected rounding in newer GCCs.
78490         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78492 2012-04-26  David S. Miller  <davem@davemloft.net>
78494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78495         long-double compat symbols.
78496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78510 2012-04-25  David S. Miller  <davem@davemloft.net>
78512         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78513         HWCAP_* values only after the memory barriers have been defined.
78514         (atomic_full_barrier): Define.
78515         (atomic_read_barrier): Define.
78516         (atomic_write_barrier): Define.
78518 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78520         * shlib-versions: Add libgcc_s version information.
78521         * sysdeps/generic/libgcc_s.h: Remove.
78522         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78523         libgcc_s.h.
78524         * sysdeps/gnu/unwind-resume.c: Likewise.
78525         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78527 2012-04-25  David S. Miller  <davem@davemloft.net>
78529         * sysdeps/unix/sparc/brk.S: Delete.
78530         * sysdeps/unix/sparc/dl-brk.S: Delete.
78531         * sysdeps/unix/sparc/pipe.S: Delete.
78532         * sysdeps/unix/sparc/sysdep.S: Delete.
78533         * sysdeps/unix/sparc/sysdep.h: Delete.
78534         * sysdeps/unix/sparc/vfork.S: Delete.
78535         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78536         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78537         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78538         (ret_ERRVAL, r0, r1, MOVE): Define.
78539         (JUMPTARGET): Remove.
78540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78541         sysdeps/unix/sparc/sysdep.h
78542         (ENTRY, END): Remove.
78543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78545 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78547         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78548         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78549         -DIS_IN_build.
78551         * timezone/README: Update upstream location and email address for
78552         tzcode and tzdata.
78553         * timezone/zdump.c: Update from tzcode 2012b.
78554         * timezone/zic.c: Likewise.
78556         * configure.in (libc_cv_as_needed): Remove test.
78557         * configure: Regenerated.
78558         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78559         conditional definition.
78560         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78561         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78562         * config.make.in (have-as-needed): Remove variable.
78564 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78565             Paul Pluzhnikov  <ppluzhnikov@google.com>
78567         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78568         strings correctly.
78570 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78572         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78573         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78574         * sysdeps/sh/strlen.S: Likewise.
78576 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78578         * sysdeps/unix/fork.S: Remove file.
78579         * sysdeps/unix/i386/fork.S: Likewise.
78580         * sysdeps/unix/sparc/fork.S: Likewise.
78582         * sysdeps/unix/system.c: Remove file.
78583         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78585         * sysdeps/unix/getegid.S: Remove file.
78586         * sysdeps/unix/geteuid.S: Likewise.
78588 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78590         * scripts/check-localplt.awk: New file.
78591         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78592         of diff.
78593         * scripts/data/localplt-generic.data: Add a comment.
78595         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78596         NODE when __dir_mkfile failed.
78597         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78598         Reported by Ludovic Courtès <ludo@gnu.org>.
78600 2012-04-24  Andreas Jaeger  <aj@suse.de>
78602         * Makerules (common-clean): Also remove gen-as-const-headers
78603         files.
78605 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78607         * Makerules (native-compile): Do not change working directory for
78608         build.  Use $(OUTPUT_OPTION) in command.
78609         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78611 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78613         [BZ #13886]
78614         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78615         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78616         * math/libm-test.inc (floor_test): Add more tests.
78617         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78619 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78621         * sysdeps/unix/getdents.c: Remove file.
78622         * sysdeps/unix/sysv/getdents.c: Likewise.
78623         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78625         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78626         sysdeps/unix/mman/syscalls.list.
78627         (mmap): Likewise.
78628         (mprotect): Likewise.
78629         (msync): Likewise.
78630         (munmap): Likewise.
78631         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78632         * sysdeps/unix/mman/syscalls.list: Remove.
78633         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78635         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78636         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78637         * configure: Regenerated.
78638         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78639         $(libgcc_s_suffix).
78640         * config.make.in (libgcc_s_suffix): Remove variable.
78642 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78644         * sysdeps/unix/sysv/gethostname.c: Move to ...
78645         * sysdeps/posix/gethostname.c: ... here.
78647         * sysdeps/unix/execve.S: Remove file.
78649         * sysdeps/unix/_exit.S: Remove file.
78651 2012-04-23  Andreas Jaeger  <aj@suse.de>
78653         [BZ #13739]
78654         * manual/Makefile: Remove make dist support, there's no
78655         need for a stand-alone documentation tar ball.
78656         (TEXI2DVI): Define always, it's not in Makeconfig.
78657         (dist): Removed.
78658         (tar-it): Removed.
78659         (edition): Removed.
78660         (glibc-doc-$(edition).tar): Removed
78661         (%.Z): Removed.
78662         (%.gz): Removed.
78663         (%.uu): Removed.
78664         (ETAGS): Remove, it's in Makeconfig.
78665         (move-if-change): Remove, it's in Makeconfig.
78667 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78669         [BZ #13970]
78670         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78671         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78672         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78673         (strtod_l, strtof_l, strtold_l): Remove __wur.
78674         It is not necessarily an error to ignore strtol's return value.
78675         One can reliably look at the stored endptr to decide whether
78676         the number had valid syntax.
78678 2012-04-21  Andreas Jaeger  <aj@suse.de>
78680         [BZ #13739]
78681         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78683 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78685         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78686         * sysdeps/unix/sysv/Versions: Remove file.
78688 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78690         [BZ #13927]
78691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78693 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78695         [BZ #7064]
78696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78697         version from __vm86.
78699 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78701         * sysdeps/unix/common/lxstat.c: Remove file.
78702         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78704         * sysdeps/unix/sysv/Makefile: Remove file.
78706         * sysdeps/unix/sysv/direct.h: Remove file.
78708         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78709         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78710         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78711         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78712         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78713         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78714         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78716         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78718         * sysdeps/unix/xmknod.c: Remove file.
78719         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78721         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78723         * sysdeps/unix/sysv/i386/time.S: Remove file.
78725         * sysdeps/unix/fxstat.c: Remove file.
78726         * sysdeps/unix/xstat.c: Likewise.
78727         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78729         * sysdeps/unix/sysv/sigaction.c: Remove file.
78731         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78732         (sysdep_headers): Remove variable.
78733         [termio.h not in sysdep_headers] (generated): Likewise.
78734         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78735         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78736         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78737         * sysdeps/unix/sysv/tcflow.c: Likewise.
78738         * sysdeps/unix/sysv/tcflush.c: Likewise.
78739         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78740         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78741         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78742         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78743         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78745         * sysdeps/unix/siglist.c: Remove file.
78747         * sysdeps/unix/getppid.S: Remove file.
78749         * sysdeps/unix/mkdir.c: Remove file.
78750         * sysdeps/unix/rmdir.c: Likewise.
78752 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78754         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78755         ERR_MAX value.
78756         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78757         errlist-compat value.
78759 2012-04-18  David S. Miller  <davem@davemloft.net>
78761         * sysdeps/generic/memcopy.h (reg_char): Delete.
78762         * debug/strcat_chk.c: Use char, not reg_char.
78763         * debug/strcpy_chk.c: Likewise.
78764         * debug/strncat_chk.c: Likewise.
78765         * debug/strncpy_chk.c: Likewise.
78766         * string/memchr.c: Likewise.
78767         * string/memrchr.c: Likewise.
78768         * string/rawmemchr.c: Likewise.
78769         * string/strcat.c: Likewise.
78770         * string/strchr.c: Likewise.
78771         * string/strchrnul.c: Likewise.
78772         * string/strcmp.c: Likewise.
78773         * string/strcpy.c: Likewise.
78774         * string/strncat.c: Likewise.
78775         * string/strncmp.c: Likewise.
78776         * string/strncpy.c: Likewise.
78778 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78780         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78781         __builtin_memcopy is called when src and dest ranges are known to not
78782         overlap.
78784 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78786         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78787         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78788         fwd_align_merge macro call.
78789         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78790         bwd_align_merge macro call.
78791         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78793 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78795         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78796         bwd_align_merge macros.
78797         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78798         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78799         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78801 2012-04-18  David S. Miller  <davem@davemloft.net>
78803         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78805 2012-04-18  Andreas Jaeger  <aj@suse.de>
78807         [BZ #6794]
78808         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78809         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78810         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78812         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78813         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78814         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78816         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78817         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78818         Adjust for changed ldbl-128 files.
78820         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78821         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78822         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78824 2012-04-17  David S. Miller  <davem@davemloft.net>
78826         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78828 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78830         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78831         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78832         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78833         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78834         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78835         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78837 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78839         [BZ #6794]
78840         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78841         * math/libm-test.inc: Add ilogb errno and exception tests.
78842         * math/w_ilogb.c: New file: ilogb wrapper.
78843         * math/w_ilogbf.c: New file: ilogbf wrapper.
78844         * math/w_ilogbl.c: New file: ilogbl wrapper.
78845         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78846         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78847         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78848         exception being thrown with 0.0 as argument.
78849         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78850         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78851         exception being thrown with 0.0 as argument.
78852         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78853         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78854         exception being thrown with 0.0 as argument.
78855         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78856         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78857         exception being thrown with 0.0 as argument.
78858         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78859         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78860         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78861         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78862         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78863         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78864         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78865         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78866         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78868 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78870         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78871         with altivec.
78873 2012-04-16  Marek Polacek  <polacek@redhat.com>
78875         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78877 2012-04-16  Marek Polacek  <polacek@redhat.com>
78879         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78880         operands of fdivp instruction.
78882 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78884         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78885         * elf/tst-auditmod3b.c: Likewise.
78886         * elf/tst-auditmod4b.c: Likewise.
78887         * elf/tst-auditmod5b.c: Likewise.
78888         * elf/tst-auditmod6b.c: Likewise.
78889         * elf/tst-auditmod6c.c: Likewise.
78890         * elf/tst-auditmod7b.c: Likewise.
78891         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78892         * sysdeps/x86_64/preconfigure.in: Likewise.
78893         * sysdeps/x86_64/preconfigure: Regenerated.
78895 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78897         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78898         __ILP32__.
78900 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78903         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78905 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78907         [BZ #13973]
78908         * locale/iso-639.def: Fix gl language name. Spotted by
78909         Yaron Shahrabani.
78911 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78913         [BZ #2074]
78914         * libio/libio.h (__io_write_fn): Update comment.
78916 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78918         [BZ #2074]
78919         * stdio.texi (Hook Functions): The user provided writer function
78920         is not allowed to return -1.
78922 2012-04-11  David S. Miller  <davem@davemloft.net>
78924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78926 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78928         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78929         Add a leading slash to rtkaio.
78931 2012-04-11  Jim Meyering  <meyering@redhat.com>
78933         [BZ #11959]
78934         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78935         It is not necessarily an error to ignore fwrite's return
78936         value.  One can reliably use ferror to test for errors after
78937         the fact.
78939 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78941         * bits/types.h (__snseconds_t): New type.
78942         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78944         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78946         (__SNSECONDS_T_TYPE): Likewise.
78947         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78948         (__SNSECONDS_T_TYPE): Likewise.
78949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78950         (__SNSECONDS_T_TYPE): Likewise.
78952 2012-04-10  Andreas Jaeger  <aj@suse.de>
78954         [BZ #2636]
78955         * manual/time.texi (Processor Time): Return type of times is
78956         elapsed real time since an arbitrary point in the past.
78957         (CPU Time): Move CLK_TCK from here...
78958         (Processor Time): ...to here.  Correct description.
78959         * manual/conf.texi (Constants for Sysconf): Correct description of
78960         _SC_CLK_TCK.
78962 2012-04-10  David S. Miller  <davem@davemloft.net>
78964         [BZ #13967]
78965         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78966         where the is a gap between DT_REL(A) and DT_JMPREL.
78968 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78970         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78971         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78972         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78974 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78976         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78977         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78978         (dl_main): Handle --inhibit-cache.
78979         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78980         _dl_inhibit_cache.
78981         * elf/dl-load.c (_dl_map_object): Use it.
78982         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78984 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78986         [BZ #13872]
78987         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78988         (__ieee754_powl): Saturate large exponents rather than testing for
78989         overflow of y*log2(x).
78990         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78991         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78992         exceptions.
78994         [BZ #11521]
78995         * math/s_ctan.c: Include <float.h>.
78996         (__ctan): Avoid internal overflow or cancellation in calculating
78997         denominator.
78998         * math/s_ctanf.c: Likewise.
78999         * math/s_ctanl.c: Likewise.
79000         * math/s_ctanh.c: Likewise.
79001         * math/s_ctanhf.c: Likewise.
79002         * math/s_ctanhl.c: Likewise.
79003         * math/libm-test.inc (ctan_test): Add more tests.
79004         (ctanh_test): Likewise.
79005         * sysdeps/i386/fpu/libm-test-ulps: Update.
79006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79008 2012-04-09  Andreas Jaeger  <aj@suse.de>
79010         [BZ #6894]
79011         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79012         is an optional BSD extension.
79014         [BZ #10254]
79015         * manual/stdio.texi (Opening Streams): Document additional fopen
79016         parameters.
79018 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79020         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79021         %eax without telling the compiler.
79023 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79025         [BZ # 13963]
79026         * manual/install.texi: Use sourceware.org.
79028 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79030         [BZ #13873]
79031         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79032         (__ieee754_pow): Generate overflow and underflow using huge*huge
79033         and tiny*tiny rather than just returning constant infinity or zero
79034         for large exponents.
79035         * math/libm-test.inc (pow_test): Require overflow exceptions for
79036         applicable cases of large exponents.
79038         [BZ #706]
79039         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79040         (__ieee754_pow): Use iterative multiplication algorithm only for
79041         integer exponents with absolute value below 1024.  Check for odd
79042         integer exponents when using algorithm for real exponents.
79043         * math/libm-test.inc (pow_test): Add more tests.
79044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79046 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79048         [BZ #13705]
79049         * math/libm-test.inc (exp_test): Do not allow overflow exception
79050         on underflow test.
79052 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79054         [BZ #13705]
79055         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79056         instead of __kernel_standard_f.
79058 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79060         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79061         * sysdeps/x86_64/memset_chk.S: Likewise.
79063 2012-04-08  Andreas Jaeger  <aj@suse.de>
79065         [BZ #10153]
79066         * manual/startup.texi (Environment Access): Describe return value
79067         for putenv and setenv.
79069         [BZ #6895]
79070         * manual/filesys.texi (Directory Entries): Add description for
79071         DT_LNK.
79073         [BZ #6890]
79074         * manual/filesys.texi (Directory Entries): Clarify that it's file
79075         system not operating system in the description of DT_UNKNOWN.
79077         [BZ #6578]
79078         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79080 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79082         [BZ #6649]
79083         * manual/llio.texi (Opening and Closing Files): Add cross
79084         reference to explain mode argument.
79086 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79088         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79089         * sysdeps/x86_64/memset_chk.S: Likewise.
79091 2012-04-07  David S. Miller  <davem@davemloft.net>
79093         * elf/elf.h (R_SPARC_WDISP10): Define.
79094         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79095         R_SPARC_SIZE32.
79096         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79097         R_SPARC_SIZE64 and R_SPARC_H34.
79099 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79101         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79102         conditions and remove no longer applicable assertion.
79104 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79106         * bits/byteswap.h: Include <features.h>.
79107         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79108         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79110 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79112         * bits/byteswap.h (__bswap_16): Removed.
79113         Include <bits/byteswap-16.h> to get __bswap_16.
79114         * sysdeps/i386/bits/byteswap.h: Likewise.
79115         * sysdeps/s390/bits/byteswap.h: Likewise.
79116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79117         * bits/byteswap-16.h: New file.
79118         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79119         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79120         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79121         * string/Makefile (headers): Add bits/byteswap-16.h.
79123 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79125         [BZ #13895]
79126         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79127         extra indirection.
79128         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79129         * nss/tst-nss-static.c: New.
79131 2012-04-06  Robert Millan  <rmh@gnu.org>
79133         [BZ #6486]
79134         * manual/llio.texi (File Position Primitive): lseek
79135         refers to WHENCE when it really means OFFSET.
79137 2012-04-06  Andreas Jaeger  <aj@suse.de>
79139         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79140         strncmp declarations.
79142         * abilist/libc.abilist: Add __poll and __ppoll.
79144 2012-04-05  David S. Miller  <davem@davemloft.net>
79146         * scripts/check-local-headers.sh: Accept a host triplet in the
79147         path matched by the exclude regexp.
79149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79150         definition.
79151         * sysdeps/powerpc/powerpc32/dl-machine.h
79152         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79153         * sysdeps/s390/s390-32/dl-machine.h
79154         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79155         * sysdeps/sparc/sparc32/dl-machine.h
79156         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79157         * sysdeps/sparc/sparc64/dl-machine.h
79158         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79160         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79161         lazy binding.
79162         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79163         undefined symbol errors.
79165         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79166         DT_NEEDED entries.
79168 2012-04-05  Michael Matz  <matz@suse.de>
79170         [BZ #13592]
79171         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79173 2012-04-05  Andreas Jaeger  <aj@suse.de>
79175         [BZ #13908]
79176         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79177         comment.
79179 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79181         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79182         which ROUND is no valid rounding mode.
79184 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79186         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79187         read again.
79188         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79190 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79192         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79193         an exception using FPU order intentionally.
79195 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79197         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79198         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79199         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79200         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79202 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79204         [BZ #12340]
79205         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79206         EINVAL when BUFLEN is too smal.
79208 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79210         [BZ #13553]
79211         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79212         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79214 2012-04-03  Andreas Jaeger  <aj@suse.de>
79216         [BZ #13938]
79217         * manual/setjmp.texi (System V contexts): Fix sentence.
79219         [BZ #13926]
79220         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79221         New macro for this case.
79222         [!__GNUC__] (__bswap_64): New inline function for this case.
79223         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79224         * bits/byteswap.h: Likewise.
79225         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79226         ull, guard with __GLIBC_HAVE_LONG_LONG.
79228         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79229         __GLIBC_HAVE_LONG_LONG.
79231         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79232         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79234 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79236         [BZ #13691]
79237         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79238         inptr and inend, rather than using last_ch.
79240 2012-04-02  David S. Miller  <davem@davemloft.net>
79242         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79243         * stdio-common/printf-parse.h (read_int): Change return type to
79244         'int', return -1 on INT_MAX overflow.
79245         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79246         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79247         overflows INT_MAX.  Check for overflow of in-format-string precision
79248         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79249         SIZE_MAX not INT_MAX for integer overflow test.
79250         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79251         skip the construct in the format string but do not record anything.
79252         * stdio-common/bug22.c: Adjust to test both width/prevision
79253         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79254         explicitly for proper errno values.
79256 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79258         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79259         CHAR_MAX.
79260         * string/test-strcmp.c [! WIDE]: Likewise.
79261         * time/tst-mktime2.c: Likewise for INT_MAX.
79262         * string/test-string.h: #include <sys/param.h> for MIN.
79264         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79265         * sysdeps/i386/init-first.c (init): Likewise.
79266         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79267         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79268         * sysdeps/sh/init-first.c (init): Likewise.
79270 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79272         * po/ru.po: Update from translation team.
79273         * po/vi.po: Likewise.
79275 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79277         * resolv/nss_dns/dns-host.c: Merge copyright years.
79279 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79281         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79282         Optimize memcpy with prefetch if
79283         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79284         src, dst pointers have unequal 16 byte alignments.
79286 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79288         [BZ #13928]
79289         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79290         from a CNAME entry and return the minimum ttl for the query.
79291         (gaih_getanswer_slice): Likewise.
79293 2012-03-30  Jeff Law  <law@redhat.com>
79295         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79296         due to long keys.
79297         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79298         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79300         * resolv/nss_dns/dns-host.c: Update copyright year.
79302 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79304         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79305         requests to save a system call.  Fix check that all bytes are sent.
79307         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79308         comments for sendmmsg.
79310 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79312         [BZ #13691]
79313         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79314         with only 1 character between 0x0041 and 0x01b0.
79315         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79316         * wcsmbs/tst-mbsnrtowcs.c: New file.
79318 2012-03-29  David S. Miller  <davem@davemloft.net>
79320         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79321         small copies by hand.
79323 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79325         [BZ #13761]
79326         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79327         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79328         group memberships.
79330 2012-03-28  David S. Miller  <davem@davemloft.net>
79332         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79333         that branches into memcpy.
79334         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79337         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79339         bits.
79340         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79341         implementation too.
79342         * sysdeps/sparc/mempcpy.S: New file.
79344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79345         the IFUNC routine in the libc case.
79346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79348         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79349         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79350         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79351         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79352         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79353         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79354         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79355         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79357         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79358         loop to 256 bytes instead of 64 bytes and fix test signedness.
79360         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79361         * sysdeps/sparc/sparc32/Makefile: rather than here...
79362         * sysdeps/sparc/sparc64/Makefile: and here.
79364 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79366         * malloc/mallocbug.c: Avoid warnings about unused variables.
79368 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79370         [BZ #13760]
79371         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79372         in the right place. Discard and retry query if response is
79373         larger than input buffer size.
79375 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79377         [BZ #369]
79378         [BZ #2678]
79379         [BZ #3866]
79380         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79381         x for large integer exponent.
79382         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79383         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79384         sign of result as needed afterwards.
79385         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79386         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79387         result for underflowing pow the same as for overflow.
79388         (__kernel_standard_l): Handle powl overflow and underflow here
79389         rather than calling __kernel_standard.
79390         * math/libm-test.inc (pow_test): Add more tests.
79392         [BZ #3868]
79393         [BZ #13879]
79394         [BZ #13910]
79395         [BZ #13911]
79396         [BZ #13912]
79397         [BZ #13913]
79398         [BZ #13915]
79399         [BZ #13916]
79400         [BZ #13917]
79401         [BZ #13918]
79402         [BZ #13919]
79403         [BZ #13920]
79404         [BZ #13921]
79405         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79406         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79407         (__kernel_standard_l): New function.
79408         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79409         __kernel_standard.
79410         * math/w_acosl.c (__acosl): Likewise.
79411         * math/w_asinl.c (__asinl): Likewise.
79412         * math/w_atan2l.c (__atan2l): Likewise.
79413         * math/w_atanhl.c (__atanhl): Likewise.
79414         * math/w_coshl.c (__coshl): Likewise.
79415         * math/w_exp10l.c (__exp10l): Likewise.
79416         * math/w_exp2l.c (__exp2l): Likewise.
79417         * math/w_fmodl.c (__fmodl): Likewise.
79418         * math/w_hypotl.c (__hypotl): Likewise.
79419         * math/w_j0l.c (__j0l, __y0l): Likewise.
79420         * math/w_j1l.c (__j1l, __y1l): Likewise.
79421         * math/w_jnl.c (__jnl, __ynl): Likewise.
79422         * math/w_lgammal.c (__lgammal): Likewise.
79423         * math/w_log10l.c (__log10l): Likewise.
79424         * math/w_log2l.c (__log2l): Likewise.
79425         * math/w_logl.c (__logl): Likewise.
79426         * math/w_powl.c (__powl): Likewise.
79427         * math/w_remainderl.c (__remainderl): Likewise.
79428         * math/w_scalbl.c (sysv_scalbl): Likewise.
79429         * math/w_sinhl.c (__sinhl): Likewise.
79430         * math/w_sqrtl.c (__sqrtl): Likewise.
79431         * math/w_tgammal.c (__tgammal): Likewise.
79432         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79433         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79434         * math/libm-test.inc (acos_test): Add more tests.
79435         (acosh_test): Likewise.
79436         (asin_test): Likewise.
79437         (atanh_test): Likewise.
79438         (exp_test): Likewise.
79439         (exp10_test): Likewise.
79440         (exp2_test): Likewise.
79441         (expm1_test): Likewise.
79442         (lgamma_test): Likewise.
79443         (log_test): Likewise.
79444         (log10_test): Likewise.
79445         (log1p_test): Likewise.
79446         (log2_test): Likewise.
79447         (pow_test): Do not allow some spurious overflow exceptions.
79448         (sqrt_test): Add more tests.
79449         (tgamma_test): Likewise.
79450         (y0_test): Likewise.
79451         (y1_test): Likewise.
79452         (yn_test): Likewise.
79454 2012-03-27  Anton Blanchard  <anton@samba.org>
79456         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79457         MAP_HUGETLB.
79458         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79459         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79462 2012-03-27  David S. Miller  <davem@davemloft.net>
79464         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79466         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79467         have-as-vis3 check.
79469 2012-03-27  Andreas Jaeger  <aj@suse.de>
79471         * sysdeps/x86_64/elf/configure.in: Moved to ...
79472         * sysdeps/x86_64/configure.in: ... here.
79473         * sysdeps/x86_64/elf/start.S: Moved to ...
79474         * sysdeps/x86_64/start.S: ... here.
79475         * sysdeps/x86_64/elf/configure: Delete.
79477         * sysdeps/x86_64/configure.in: Merge contents from
79478         sysdeps/i386/configure.in (without i686 check).
79480         * sysdeps/i386/elf/Versions: Merge into ...
79481         * sysdeps/i386/Versions: ... this.
79482         * sysdeps/i386/elf/Versions: Delete file.
79483         * sysdeps/i386/elf/start.S: Moved to ...
79484         * sysdeps/i386/start.S: ...here.
79485         * sysdeps/i386/elf/configure.in: Merge into...
79486         * sysdeps/i386/configure.in: ...here.
79487         * sysdeps/i386/elf/configure.in: Delete file.
79488         * sysdeps/i386/elf/configure: Delete file.
79490         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79491         * debug/backtracesyms.c: ... here.
79492         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79493         * debug/backtracesymsfd.c: ... here.
79494         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79495         * sysdeps/generic/ifunc-sel.h: ... here.
79497         * sysdeps/unix/i386/start.c: Delete file.
79498         * sysdeps/unix/sparc/start.c: Delete file.
79499         * sysdeps/unix/start.c: Delete file.
79501         * sysdeps/sh/elf/configure.in: Moved to ...
79502         * sysdeps/sh/configure.in: ... here.
79503         * sysdeps/sh/elf/start.S: Moved to ...
79504         * sysdeps/sh/start.S: ... here.
79505         * sysdeps/sh/elf/configure: Delete file.
79507         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79508         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79509         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79510         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79511         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79512         * sysdeps/powerpc/powerpc64/start.S: here.
79513         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79514         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79515         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79516         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79517         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79519         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79520         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79521         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79522         * sysdeps/powerpc/powerpc32/start.S: ... here.
79523         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79524         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79525         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79527         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79528         * sysdeps/powerpc/ifunc-sel.h: ... here.
79529         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79530         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79532         * sysdeps/sparc/elf/configure.in: Moved to ...
79533         * sysdeps/sparc/configure.in: ... here.
79534         * sysdeps/sparc/elf/configure: Delete file.
79535         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79536         * sysdeps/sparc/sparc32/start.S: ... here.
79537         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79538         * sysdeps/sparc/sparc64/start.S: ... here.
79539         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79540         * sysdeps/sparc/sparc32/Makefile: ... this.
79541         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79542         * sysdeps/sparc/sparc64/Makefile: ... this.
79544         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79545         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79546         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79547         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79548         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79549         * sysdeps/s390/s390-32/setjmp.S: ... here.
79550         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79551         * sysdeps/s390/s390-32/configure.in: ... here.
79552         * sysdeps/s390/s390-32/elf/configure: Delete file.
79553         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79554         * sysdeps/s390/s390-32/start.S: ... here.
79556         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79557         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79558         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79559         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79560         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79561         * sysdeps/s390/s390-64/setjmp.S: ... here.
79562         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79563         * sysdeps/s390/s390-64/configure.in: ... here
79564         * sysdeps/s390/s390-64/elf/configure: Delete file.
79565         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79566         * sysdeps/s390/s390-64/start.S: ... here.
79567         * sysdeps/s390/s390-64/elf/configure: Delete.
79569         * configure.in: Remove support for elf directories in sysdeps.
79571         * configure: Regenerated.
79572         * sysdeps/i386/configure: Regenerated.
79573         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79574         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79575         * sysdeps/s390/s390-32/configure: Regenerated.
79576         * sysdeps/s390/s390-64/configure: Regenerated.
79577         * sysdeps/sh/configure: Regenerated.
79578         * sysdeps/sparc/configure: Regenerated.
79579         * sysdeps/x86_64/configure: Regenerated.
79581 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79586         denormal result into account.
79588 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79590         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79591         Reported by Allan McRae <allan@archlinux.org>.
79593 2012-03-23  Jeff Law  <law@redhat.com>
79595         * nss/getnssent.c (__nss_getent): Fix typo.
79597 2012-03-23  David S. Miller  <davem@davemloft.net>
79599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79601 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79603         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79604         to pad to uint64_t for each field.
79605         (dl_tls_index): Replace unsigned long with uint64_t.
79607 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79608         Paul Pluzhnikov  <ppluzhnikov@google.com>
79610         [BZ #6528]
79611         * grp/Makefile (otherlibs): Don't set it.
79612         * inet/Makefile (otherlibs): Likewise.
79613         * login/Makefile (otherlibs): Likewise.
79614         * nscd/Makefile (otherlibs): Likewise.
79615         * posix/Makefile (otherlibs): Likewise.
79616         * pwd/Makefile (otherlibs): Likewise.
79617         * rt/Makefile (otherlibs): Likewise.
79618         * sunrpc/Makefile (otherlibs): Likewise.
79619         * nss/Makefile (otherlibs): Likewise.
79620         Add libnss_files to routines and static-only-routines.
79621         ($(objpfx)getent): Remove rule.
79622         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79623         static-only-routines.
79625 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79627         [BZ #13892]
79628         * math/s_cexp.c: Include <float.h>.
79629         (__cexp): Handle exp result overflowing not necessarily
79630         overflowing both real and imaginary parts of result.
79631         * math/s_cexpf.c: Likewise.
79632         * math/s_cexpl.c: Likewise.
79633         * math/libm-test.inc (cexp_test): Add more tests.
79634         * sysdeps/i386/fpu/libm-test-ulps: Update.
79635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79637 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79639         * include/link.h (ELFW): New macro.
79640         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79641         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79643 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79645         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79646         with uint64_t.
79648 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79650         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79651         declaration.
79652         (struct La_x32_retval): Likewise.
79654 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79656         * sysdeps/x86_64/preconfigure.in: New file.
79657         * sysdeps/x86_64/preconfigure: New generated file.
79659 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79661         [BZ #13824]
79662         * math/e_exp2l.c: Include <float.h>.
79663         (__ieee754_exp2l): Handle overflow and underflow cases
79664         separately.  Only pass fractional part of argument to
79665         __ieee754_expl.
79666         * math/libm-test.inc (exp2_test): Add more tests.
79668         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79669         negating x to take absolute value.
79670         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79671         Likewise.
79672         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79674         Likewise.
79675         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79676         computing low part if x was negated.
79677         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79679 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79681         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79682         la_x32_gnu_pltexit.
79683         (pltexit): Cast int_retval to ptrdiff_t.
79684         * elf/tst-auditmod3b.c: Likewise.
79685         * elf/tst-auditmod4b.c: Likewise.
79686         * elf/tst-auditmod5b.c: Likewise.
79687         * elf/tst-auditmod6b.c: Likewise.
79688         * elf/tst-auditmod6c.c: Likewise.
79689         * elf/tst-auditmod7b.c: Likewise.
79691         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79692         and x32_gnu_pltexit.
79694         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79695         __ELF_NATIVE_CLASS.
79696         (La_x32_regs): New macro.
79697         (La_x32_retval): Likewise.
79698         (la_x32_gnu_pltenter): New function prototype.
79699         (la_x32_gnu_pltexit): Likewise.
79701 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79704         exponent.
79706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79708         * configure.in (libc_cv_cc_nofma): Check for option to disable
79709         generation of FMA instructions.
79710         * configure: Regenerate.
79711         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79712         * sysdeps/ieee754/dbl-64/Makefile: New file.
79713         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79714         Remove brandred-fma4.
79715         (CFLAGS-brandred-fma4.c): Remove.
79716         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79717         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79718         define.
79719         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79720         define.
79722 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79724         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79725         LLONG_MAX != LONG_MAX.
79726         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79727         (_fitoa_word): Likewise.
79728         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79729         LLONG_MAX != LONG_MAX.
79730         * stdio-common/_itowa.h: Include <_itoa.h>.
79731         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79732         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79733         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79734         only if not defined.
79735         (_ITOA_WORD_TYPE): Likewise.
79736         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79737         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79739 2012-03-21  David S. Miller  <davem@davemloft.net>
79741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79743 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79745         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79746         of x86_64 when setting libc_cv_slibdir, libdir and
79747         libc_cv_localedir.
79748         * sysdeps/unix/sysv/linux/configure: Regenerated.
79750 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79752         * manual/lang.texi (Old Varargs): Remove section.
79753         (How Variadic): Update menu.
79754         (va_start): Do not mention varargs.h.
79756 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79757             Joseph Myers  <joseph@codesourcery.com>
79759         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79760         link test.
79761         * configure: Regenerated.
79763 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79765         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79766         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79767         conformtest.pl
79769 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79771         * NOTES: Remove.
79772         * Makefile (files-for-dist): Remove NOTES.
79773         (NOTES): Remove rule.
79774         * README: Don't refer to NOTES.
79775         * manual/creature.texi: Don't include macros.texi.
79776         * manual/intro.texi (creature.texi): Remove comment referring to
79777         NOTES.
79779         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79780         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79781         * configure: Regenerated.
79782         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79783         LIBC_TRY_CC_OPTION.
79784         (libc_cv_as_i686): Likewise.
79785         (libc_cv_cc_avx): Likewise.
79786         (libc_cv_cc_sse2avx): Likewise.
79787         (libc_cv_cc_fma4): Likewise.
79788         (libc_cv_cc_novzeroupper): Likewise.
79789         * sysdeps/i386/configure: Regenerated.
79791         [BZ #13883]
79792         * sysdeps/i386/fpu/s_cexp.S: Remove.
79793         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79794         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79795         * math/libm-test.inc (cexp_test): Add more tests.
79796         * sysdeps/i386/fpu/libm-test-ulps: Update.
79797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79799 2012-03-21  Allan McRae  <allan@archlinux.org>
79801         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79803 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79805         [BZ #13871]
79806         * math/w_exp2.c: Do not include <float.h>.
79807         (o_threshold, u_threshold): Remove.
79808         (__exp2): Calculate result before checking finiteness and calling
79809         __kernel_standard.
79810         * math/w_exp2f.c: Likewise.
79811         * math/w_exp2l.c: Likewise.
79812         * math/libm-test.inc (exp2_test): Require overflow exception for
79813         1e6 input.
79815         [BZ #3866]
79816         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79817         range of signed 64-bit integers before using fistpll.  Remove
79818         checks for whether integers fit in mantissa bits.
79819         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79820         the range of signed 32-bit integers before using fistpl.  Remove
79821         checks for whether integers fit in mantissa bits.
79822         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79823         (__ieee754_powl): Test for y outside the range of signed 64-bit
79824         integers before using fistpll.  Reduce 64-bit values to 63-bit
79825         ones as needed.
79826         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79827         divide-by-zero is raised for zero to large negative powers.
79828         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79829         (__ieee754_powl): Test for y outside the range of signed 64-bit
79830         integers before using fistpll.  Reduce 64-bit values to 63-bit
79831         ones as needed.
79832         * math/libm-test.inc (pow_test): Add more tests.
79834 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79836         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79837         <stdio-common/_itoa.h>.
79838         * debug/segfault.c: Likewise.
79839         * elf/dl-cache.c: Likewise.
79840         * elf/dl-minimal.c: Likewise.
79841         * elf/dl-misc.c: Likewise.
79842         * elf/dl-sysdep.c: Likewise.
79843         * elf/dl-version.c: Likewise.
79844         * elf/rtld.c: Likewise.
79845         * hurd/hurdsock.c: Likewise.
79846         * hurd/lookup-retry.c: Likewise.
79847         * malloc/malloc.c: Likewise.
79848         * malloc/mtrace.c: Likewise.
79849         * nscd/nscd_getgr_r.c: Likewise.
79850         * nscd/nscd_getpw_r.c: Likewise.
79851         * nscd/nscd_getserv_r.c: Likewise.
79852         * posix/getopt_init.c: Likewise.
79853         * posix/wordexp.c: Likewise.
79854         * stdio-common/_itoa.c: Likewise.
79855         * stdio-common/printf_fphex.c: Likewise.
79856         * stdio-common/vfprintf.c: Likewise.
79857         * string/_strerror.c: Likewise.
79858         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79859         * sysdeps/i386/i686/hp-timing.h: Likewise.
79860         * sysdeps/mach/_strerror.c: Likewise.
79861         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79862         * sysdeps/mach/hurd/sethostid.c: Likewise.
79863         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79864         * sysdeps/mach/xpg-strerror.c: Likewise.
79865         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79867         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79868         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79869         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79870         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79872         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79873         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79874         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79875         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79876         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79877         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79878         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79879         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79880         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79881         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79882         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79883         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79884         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79885         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79887         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79889         * stdio-common/_itoa.h: Moved to ...
79890         * sysdeps/generic/_itoa.h: Here.
79892         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79894         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79895         instead of "_itoa.h" and "_itowa.h".
79896         * stdio-common/vfprintf.: Likewise.
79898 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79900         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79901         <bits/wordsize.h>.
79902         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79903         (__signbit): Likewise.
79904         (llrintf): Likewise.
79905         (llrint): Likewise.
79907 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79909         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79910         __WORDSIZE != 64.
79912 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79914         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79915         OVERFLOW_EXCEPTION_OK.
79916         * math/libm-test.inc ("Philosophy"): Update comment about
79917         exception testing.
79918         (OVERFLOW_EXCEPTION): Define.
79919         (OVERFLOW_EXCEPTION_OK): Likewise.
79920         (INVALID_EXCEPTION_OK): Renumber.
79921         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79922         (IGNORE_ZERO_INF_SIGN): Likewise.
79923         (test_exceptions): Handle FE_OVERFLOW.
79924         (exp10_test): Expect overflow exceptions.
79925         (exp2_test): Likewise.
79926         (expm1_test): Likewise.
79927         (nextafter_test): Likewise.
79928         (pow_test): Likewise.
79929         (scalbn_test): Likewise.
79930         (scalbln_test): Likewise.
79932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79934         * sysdeps/x86_64/bits/atomic.h
79935         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79936         64bit integer.
79937         (atomic_exchange_acq): Likewise.
79938         (__arch_exchange_and_add_body): Likewise.
79939         (__arch_add_body): Likewise.
79940         (atomic_add_negative): Likewise.
79941         (atomic_add_zero): Likewise.
79943 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79945         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79946         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79948 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79950         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79951         Check __x86_64__ instead of __WORDSIZE.
79953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79955         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79957 2012-03-19  David S. Miller  <davem@davemloft.net>
79959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79961         * sysdeps/sparc/fpu/fenv_private.h: New file.
79962         * sysdeps/sparc/fpu/math_private.h: Use it.
79963         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79964         Remove.
79965         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79966         (libc_feholdexcept_setroundl): Remove.
79967         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79968         Remove.
79969         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79970         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79972 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79974         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79975         int64_t instead of long int.
79976         (INSERT_WORDS64): Likewise.
79978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79980         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79981         _Unwind_GetCFA return to _Unwind_Ptr first.
79983 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79985         [BZ #13629]
79986         * math/s_clog.c: Include <float.h>.
79987         (__clog): Scale large or subnormal inputs.
79988         * math/s_clogf.c: Likewise.
79989         * math/s_clogl.c: Likewise.
79990         * math/s_clog10.c: Include <float.h>.
79991         (M_LOG10_2): Define.
79992         (__clog10): Scale large or subnormal inputs.
79993         * math/s_clog10f.c: Likewise.
79994         * math/s_clog10l.c: Likewise.
79995         * math/libm-test.inc (clog_test): Add more tests.
79996         (clog10_test): Likewise.
79997         * sysdeps/i386/fpu/libm-test-ulps: Update.
79998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80000         [BZ #11451]
80001         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80002         x and y.
80003         * math/libm-test.inc (atan2_test): Add another test.
80005         * Makerules (common-objdir-compile): Remove.
80006         * sysdeps/unix/Makefile (config-generated): Do not add
80007         $(unix-generated) to variable.
80008         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80009         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80010         Remove rule.
80011         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80012         Likewise.
80013         [generic bits/local_lim.h] (before-compile): Do not append to
80014         variable.
80015         [generic bits/local_lim.h] (common-generated): Likewise.
80016         [generic sys/param.h] (before-compile): Do not append to variable.
80017         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80018         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80019         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80020         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80021         include.
80022         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80023         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80024         [generic sys/param.h] ($(addprefix
80025         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80026         [generic sys/param.h] (common-generated): Do not append to
80027         variable.
80028         [generic sys/param.h] (sysdep_headers): Likewise.
80029         [generic bits/errno.h] (before-compile): Do not append to
80030         variable.
80031         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80032         rule.
80033         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80034         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80035         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80036         [generic bits/errno.h] (common-generated): Do not append to
80037         variable.
80038         [generic bits/ioctls.h] (before-compile): Do not append to
80039         variable.
80040         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80041         rule.
80042         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80043         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80044         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80045         rule.
80046         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80047         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80048         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80049         [generic bits/ioctls.h] (common-generated): Do not append to
80050         variable.
80051         [generic sys/syscall.h] (syscall.h): Remove variable.
80052         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80053         rule.
80054         [generic sys/syscall.h] (before-compile): Do not append to
80055         variable.
80056         [generic sys/syscall.h] (common-generated): Likewise.
80057         * sysdeps/unix/errnos-tmpl.c: Remove file.
80058         * sysdeps/unix/errnos.awk: Likewise.
80059         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80060         * sysdeps/unix/ioctls.awk: Likewise.
80061         * sysdeps/unix/mk-local_lim.c: Likewise.
80062         * sysdeps/unix/snarf-ioctls: Likewise.
80064 2012-03-19  Richard Henderson  <rth@twiddle.net>
80066         * sysdeps/i386/fpu/fenv_private.h: New file.
80067         * sysdeps/i386/fpu/math_private.h: Use it.
80068         (math_opt_barrier, math_force_eval): Remove.
80069         (libc_feholdexcept_setround_53bit): Remove.
80070         (libc_feupdateenv_53bit): Remove.
80071         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80072         (math_opt_barrier, math_force_eval): Remove.
80073         (libc_feholdexcept): Remove.
80074         (libc_feholdexcept_setround): Remove.
80075         (libc_fetestexcept, libc_fesetenv): Remove.
80076         (libc_feupdateenv_test): Remove.
80077         (libc_feupdateenv, libc_feholdsetround): Remove.
80078         (libc_feresetround): Remove.
80080         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80081         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80083         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80084         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80085         (libc_feupdateenv_testl): New.
80086         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80087         (libc_feupdateenv_testf): New.
80088         (libc_feupdateenv): Use libc_feupdateenv_test.
80089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80090         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80092         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80093         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80094         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80095         (libc_feresetround_noex): New.
80096         (libc_feresetround_noexf): New.
80097         (libc_feresetround_noexl): New.
80098         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80099         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80100         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80101         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80102         SET_RESTORE_ROUND.
80103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80104         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80105         (__cos): Likewise.
80106         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80107         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80108         SET_RESTORE_ROUND_NOEX.
80109         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80110         SET_RESTORE_ROUND_NOEXF.
80111         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80112         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80113         (libc_feholdsetroundf): New.
80114         (libc_feresetround, libc_feresetroundf): New.
80116         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80117         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80118         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80120         * sysdeps/generic/math_private.h: Include <fenv.h>.
80121         (default_libc_feholdexcept): New.
80122         (default_libc_feholdexcept_setround): New.
80123         (default_libc_fesetenv, default_libc_feupdateenv): New.
80124         (libc_feholdexcept): Only define if undefined.
80125         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80126         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80127         (libc_feholdexcept_setroundl): Likewise.
80128         (libc_feholdexcept_setround_53bit): Likewise.
80129         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80130         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80131         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80132         (libc_feupdateenv_53bit): Likewise.
80133         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80134         (libc_feholdexcept): Convert from macro to inline function.
80135         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80136         (libc_fesetenv, libc_feupdateenv): Likewise.
80138         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80139         not previously defined.
80140         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80141         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80142         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80143         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80144         * sysdeps/ieee754/flt-32/math_private.h: New file.
80145         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80146         math_private.h below SET_FLOAT_WORD.
80147         (__isnan, __isinf_ns, __finite): Remove.
80148         (__isnanf, __isinf_nsf, __finitef): Remove.
80150 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80154 2012-03-17  David S. Miller  <davem@davemloft.net>
80156         [BZ #6471]
80157         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80158         for 2.16.
80160 2012-03-16  David S. Miller  <davem@davemloft.net>
80162         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80163         warnings.
80165         [BZ #6471]
80166         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80167         properly.
80168         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80169         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80170         sysdep_routines when subdir is sysvipc.
80171         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80172         __getshmlba helper.
80174         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80176 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80178         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80179         [__LP64__].
80181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80183         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80184         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80185         (__lround): Renamed to ...
80186         (__llround): This.  Replace long int with long long int.
80187         Define lround functions as aliases of llround functions.
80188         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80192         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80193         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80194         adresses to uintptr_t.  Replace "long int" and "unsigned long
80195         int" with "greg_t" on va_arg.
80197 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80199         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80200         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80202         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80203         Move e_machine check before EI_CLASS check.  Handle x32
80204         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80205         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80206         SKIP_EM_IA_64 and include
80207         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80209         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80210         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80211         (add_system_dir): New macro.
80213         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80214         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80216 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80218         [BZ #2551]
80219         [BZ #2552]
80220         [BZ #2553]
80221         [BZ #2554]
80222         [BZ #2562]
80223         [BZ #2563]
80224         [BZ #2565]
80225         [BZ #2566]
80226         [BZ #2576]
80227         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80228         (y0): Likewise.
80229         * math/w_j0f.c (j0f): Likewise.
80230         (y0f): Likewise.
80231         * math/w_j0l.c (__j0l): Likewise.
80232         (__y0l): Likewise.
80233         * math/w_j1.c (j1): Likewise.
80234         (y1): Likewise.
80235         * math/w_j1f.c (j1f): Likewise.
80236         (y1f): Likewise.
80237         * math/w_j1l.c (__j1l): Likewise.
80238         (__y1l): Likewise.
80239         * math/w_jn.c (jn): Likewise.
80240         (yn): Likewise.
80241         * math/w_jnf.c (jnf): Likewise.
80242         (ynf): Likewise.
80243         * math/w_jnl.c (__jnl): Likewise.
80244         (__ynl): Likewise.
80245         * math/libm-test.inc (j0_test): Add more tests.
80246         (j1_test): Likewise.
80247         (jn_test): Likewise.  Add trailing semicolon to existing test.
80248         (y0_test): Likewise.
80249         (y1_test): Likewise.
80250         * sysdeps/i386/fpu/libm-test-ulps: Update.
80251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80253         [BZ #13851]
80254         [BZ #13854]
80255         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80256         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80257         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80258         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80259         (__tanl): Set errno for infinite argument.
80260         * sysdeps/i386/fpu/mptan.c: Remove.
80261         * sysdeps/i386/fpu/s_tan.S: Likewise.
80262         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80263         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80264         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80265         * math/libm-test.inc (tan_test): Add more tests and enable more
80266         tests for double and long double.
80267         * sysdeps/i386/fpu/libm-test-ulps: Update.
80268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80270 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80272         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80273         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80275 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80277         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80278         * configure.in: Use it for both main tree and add-ons.
80279         * configure: Regenerated.
80281 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80283         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80285 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80287         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80288         in comment.
80290         [BZ #13851]
80291         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80292         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80293         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80294         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80295         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80296         infinite argument.
80297         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80298         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80299         != 0 for prec == 2.
80300         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80301         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80302         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80303         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80304         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80305         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80306         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80307         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80308         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80309         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80310         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80311         * math/libm-test.inc (cos_test): Add more tests and enable more
80312         tests for long double.
80313         (sin_test): Likewise.
80314         (sincos_test): Likewise.
80315         * sysdeps/i386/fpu/libm-test-ulps: Update.
80316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80318 2012-03-16  David S. Miller  <davem@davemloft.net>
80320         * sysdeps/sparc/fpu/math_private.h: New file.
80322 2012-03-15  David S. Miller  <davem@davemloft.net>
80324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80325         file.
80326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80328         file.
80329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80334         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80335         sysdep routines.
80336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80338         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80339         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80341         * sysdeps/sparc/sparc-ifunc.h: New file.
80342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80343         sparc-ifunc.h
80344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80346         Likewise.
80347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80348         Likewise.
80349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80353         Likewise.
80354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80359         Likewise.
80360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80361         Likewise.
80362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80368         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80376         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80380         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80381         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80384         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80385         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80387 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80389         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80390         scaling.
80391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80393 2012-03-15  Andreas Jaeger  <aj@suse.de>
80395         [BZ #13852]
80396         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80397         ieee754/flt-32 implementation for sin, cos and sincos.
80398         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80399         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80400         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80401         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80402         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80403         ieee754/flt-32 implementation for tan.
80405         * math/libm-test.inc (cos_test): Enable some large input tests for
80406         float as well
80407         (sin_test): Likewise.
80408         (sincos_test): Likewise.
80409         (tan_test): Add tests for large input.
80411         * sysdeps/i386/fpu/libm-test-ulps: Update.
80413 2012-03-15  Andreas Jaeger  <aj@suse.de>
80415         [BZ #13658]
80416         * math/libm-test.inc (cos_test): Add more test cases.
80417         (sin_test): Likewise.
80418         (sincos_test): Likewise.
80420 2012-03-15  Andreas Jaeger  <aj@suse.de>
80422         [BZ #13837]
80423         * math/libm-test.inc (cos_test): Add a test case for large input
80424         value.
80425         (sin_test): Likewise.
80426         (sincos_test): Likewise.
80428 2012-03-15  Andreas Jaeger  <aj@suse.de>
80429             Joseph Myers  <joseph@codesourcery.com>
80431         [BZ #13658]
80432         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80433         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80434         * sysdeps/i386/fpu/branred.c: Likewise.
80435         * sysdeps/i386/fpu/dosincos.c: Likewise.
80436         * sysdeps/i386/fpu/mpa.c: Likewise.
80437         * sysdeps/i386/fpu/s_cos.S: Likewise.
80438         * sysdeps/i386/fpu/s_sin.S: Likewise.
80439         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80440         * sysdeps/i386/fpu/sincos32.c: Likewise.
80442         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80443         Define.
80444         (libc_feupdateenv_53bit): Define.
80445         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80446         Define.
80447         (libc_feupdateenv_53bit): Define.
80449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80450         53 bit (without extend i386 double precision).
80452         * math/libm-test.inc (sincos_test): Add tests for large input.
80453         (sin): Likewise.
80454         (cos): Likewise.
80456         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80458 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80462 2012-03-15  David S. Miller  <davem@davemloft.net>
80464         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80465         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80466         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80467         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80480         file.
80481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80483         file.
80484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80486         file.
80487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80489         file.
80490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80492         fmin/fmax sysdep routines.
80493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80495 2012-03-14  David S. Miller  <davem@davemloft.net>
80497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80501         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80517         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80518         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80519         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80521         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80522         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80526         routines.
80527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80528         file.
80529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80531         file.
80532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80534         file.
80535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80537         file.
80538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80540         file.
80541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80543         file.
80544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80545         file.
80546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80547         file.
80548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80549         file.
80550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80551         New file.
80552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80553         file.
80554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80555         file.
80556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80558         file.
80559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80561         file.
80562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80564         file.
80565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80567         VIS3 routines.
80569         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80570         New file.
80572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80574         * sysdeps/sparc/configure.in: New file.
80575         * sysdeps/sparc/configure: Generate.
80576         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80577         * configure: Regenerate.
80578         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80579         * config.make.in (have-as-vis3): New.
80580         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80581         available use -Av9d instead of -Av9a.
80582         * sysdeps/sparc/sparc64/Makefile: Likewise.
80583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80585         New file.
80586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80587         file.
80588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80589         New file.
80590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80591         file.
80592         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80593         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80594         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80595         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80598         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80599         fzeros/fnegs to load 0x80000000 into a float register instead of
80600         using the stack.
80601         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80603 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80606         bits/syscall.h.
80607         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80608         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80609         ($(inst_includedir)/bits/syscall.h): Remove rule.
80610         ($(objpfx)bits/syscall.d): Include instead of
80611         $(objpfx)syscall-list.d.
80612         (generated): Change syscall-list.h and syscall-list.d to
80613         bits/syscall.h and bits/syscall.d.
80615 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80617         [BZ #13846]
80618         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80620 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80622         [BZ #13841]
80623         * math/s_csqrt.c: Include <float.h>.
80624         (__csqrt): Scale large or subnormal inputs.
80625         * math/s_csqrtf.c: Likewise.
80626         * math/s_csqrtl.c: Likewise.
80627         * math/libm-test.inc (csqrt_test): Add more tests.
80628         * sysdeps/i386/fpu/libm-test-ulps: Update.
80629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80631         [BZ #13840]
80632         * math/libm-test.inc (hypot_test): Add more tests.
80634 2012-03-13  David S. Miller  <davem@davemloft.net>
80636         [BZ #13840]
80637         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80638         double-precision for the calculation instead of scaling.
80640 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80642         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80643         manipulate bits before adding and subtracting TWO52[sx].
80644         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80645         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80646         Likewise.
80647         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80649 2012-03-13  David S. Miller  <davem@davemloft.net>
80651         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80652         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80653         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80654         rtld-global-offsets.h
80655         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80657         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80658         large parameters.
80660         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80662         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80663         'err' in the ifdef scope in which it is actually used.
80665         * nss/nss_db/db-init.c: Include string.h
80667 2012-03-12  David S. Miller  <davem@davemloft.net>
80669         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80670         masking out of the most significant byte of random value used.
80671         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80672         Fix coding style in previous change.
80674         * sysdeps/unix/sysv/linux/kernel-features.h
80675         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80676         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80677         expression.
80678         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80679         later.
80681 2012-03-11  David S. Miller  <davem@davemloft.net>
80683         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80684         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80686         for 'resultvar' otherwise things get truncated on 64-bit.
80688         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80689         Fix masking out of the most significant byte of random value used.
80691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80693 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80697 2012-03-09  David S. Miller  <davem@davemloft.net>
80699         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80700         variables with appropriate CPP guards.
80701         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80702         from the frame pointer, not the stack pointer.  Correct layout
80703         comments.  Fix test on resulting framesize and the management of
80704         the outregs buffer for pltexit.  Preserve floating point return
80705         values across _dl_call_pltexit call.
80706         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80707         framesize and the management of the outregs buffer for pltexit.
80708         Preserve floating point return values across _dl_call_pltexit
80709         call.
80710         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80711         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80712         (la_sparc64_gnu_pltexit): New functions.
80713         (print_exit): Fix format string for return register value.
80715 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80717         * sunrpc/Makefile (others): Add rpcgen.
80718         ($(objpfx)rpcgen): Remove special build rule and dependency on
80719         libc.
80720         * sunrpc/rpcgen.c: New file.
80722 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80724         [BZ #13673]
80725         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80726         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80727         * sysdeps/i386/crti.S: Likewise.
80728         * sysdeps/i386/crtn.S: Likewise.
80729         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80730         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80731         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80732         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80733         * sysdeps/sh/crti.S: Likewise.
80734         * sysdeps/sh/crtn.S: Likewise.
80735         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80737         [BZ #13673]
80738         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80739         with URL.
80740         * locale/programs/locfile-kw.gperf: Likewise.
80741         * locale/programs/charmap-kw.h: Regenerated.
80742         * locale/programs/locfile-kw.h: Likewise.
80744         [BZ #13673]
80745         * intl/plural.y: Replace FSF snail mail address with URL.
80746         * intl/plural.c: Regenerated.
80748 2012-03-09  Richard Henderson  <rth@twiddle.net>
80750         * include/math_private.h: Remove file.
80751         * math/math_private.h: Move file ...
80752         * sysdeps/generic/math_private.h: ... here.
80754         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80755         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80756         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80758         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80759         and <math_private.h>.
80760         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80761         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80762         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80763         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80764         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80765         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80766         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80767         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80768         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80769         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80771         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80772         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80774         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80775         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80776         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80777         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80778         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80779         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80781         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80782         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80785         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80786         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80787         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80790         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80791         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80792         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80793         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80794         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80795         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80796         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80797         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80798         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80800         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80801         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80802         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80803         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80804         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80805         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80806         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80807         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80808         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80809         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80810         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80811         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80812         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80813         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80814         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80815         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80816         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80818         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80819         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80820         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80821         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80822         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80824         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80825         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80826         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80827         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80828         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80829         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80830         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80831         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80832         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80834         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80835         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80839         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80840         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80841         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80842         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80843         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80844         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80847         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80848         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80849         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80850         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80851         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80852         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80853         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80854         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80855         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80857         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80859         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80860         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80861         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80862         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80863         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80864         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80865         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80866         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80867         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80868         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80870         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80871         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80872         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80873         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80874         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80875         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80876         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80877         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80878         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80879         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80880         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80881         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80882         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80883         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80884         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80885         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80886         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80887         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80888         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80889         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80890         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80891         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80892         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80893         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80894         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80895         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80896         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80897         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80898         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80899         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80900         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80901         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80902         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80903         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80904         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80905         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80906         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80907         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80908         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80909         * sysdeps/ieee754/k_standard.c: Likewise.
80910         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80913         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80914         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80915         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80951         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80953         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80954         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80957         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80959         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80960         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80961         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80962         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80965         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80966         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80967         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80968         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80969         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80970         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80972         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80980         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80986         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80987         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80989         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80992         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80993         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80994         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80995         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80996         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81001         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81003         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81005         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81006         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81007         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81008         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81009         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81010         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81011         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81012         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81013         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81014         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81016         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81017         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81018         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81019         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81020         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81021         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81022         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81023         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81024         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81025         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81026         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81027         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81028         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81029         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81030         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81031         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81032         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81033         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81035         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81036         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81037         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81038         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81039         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81040         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81041         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81042         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81043         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81044         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81047         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81048         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81049         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81050         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81051         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81052         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81053         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81054         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81056         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81057         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81058         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81059         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81060         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81061         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81062         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81063         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81064         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81065         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81066         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81067         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81068         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81069         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81070         * sysdeps/ieee754/s_lib_version.c: Likewise.
81071         * sysdeps/ieee754/s_matherr.c: Likewise.
81072         * sysdeps/ieee754/s_signgam.c: Likewise.
81073         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81074         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81075         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81076         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81077         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81078         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81079         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81080         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81081         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81082         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81083         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81084         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81085         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81086         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81087         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81088         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81089         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81090         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81091         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81092         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81095 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81097         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81098         * sunrpc/rpc_main.c: Likewise.
81099         * sunrpc/rpc_svcout.c: Likewise.
81101 2012-03-09  David S. Miller  <davem@davemloft.net>
81103         * include/math_private.h: New file.
81105 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81107         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81108         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81109         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81110         from <bits/socket_type.h>.
81111         (enum __socket_type): Don't define here.
81112         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81114         bits/socket_type.h.
81116         [BZ #13566]
81117         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81118         checking __USE_GNU.
81120         * Makerules ($(inst_includedir)/%.h): New rule.
81121         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81122         (install-others): Remove variable setting.
81123         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81125 2012-03-08  Richard Henderson  <rth@twiddle.net>
81127         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81128         from macro to inline function; merge with the
81129         !__LIBC_INTERNAL_MATH_INLINES version.
81130         (__ieee754_sqrtf): Likewise.
81132         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81133         to inline function.
81134         (__rintf, __floor, __floorf): Likewise.
81136         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81137         macro to inline function.
81138         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81140         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81141         not <math/math_private.h>.
81143 2012-03-08  David S. Miller  <davem@davemloft.net>
81145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81146         copyright year.
81147         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81149 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81151         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81152         normalization.
81153         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81154         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81156 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81158         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81159         be defined individually, they must be defined as a block.  Define
81160         S for printing a string instead of hidint the different by using a
81161         macro for adding the 'l'.
81162         * stdio-common/tst-fphex-wide.c: Adjust.
81164 2012-03-07  Marek Polacek  <polacek@redhat.com>
81166         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81168 2012-03-08  Marek Polacek  <polacek@redhat.com>
81170         [BZ #13806]
81171         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81172         * stdio-common/tst-fphex.c: Define a few macros to make the
81173         test reusable.  Use them.
81174         * stdio-common/tst-fphex-wide.c: New file.
81176 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81178         [BZ #6911]
81179         * manual/macros.texi (gnusystems): New macro.
81180         (nongnusystems): Likewise.
81181         (gnulinuxhurdsystems): Likewise.
81182         (gnuhurdsystems): Likewise..
81183         (gnulinuxsystems): Likewise.
81184         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81185         variants of the GNU system, not "GNU system".
81186         * manual/conf.texi: Likewise.
81187         * manual/errno.texi: Likewise.  Update example of errno macro
81188         expansion.
81189         * manual/filesys.texi: Likewise.
81190         (getumask): Document as specific to GNU/Hurd.
81191         * manual/install.texi: Likewise.  Reword some references to
81192         GNU/Linux.
81193         * manual/intro.texi: Likewise.
81194         * manual/io.texi: Likewise.
81195         (File Name Portability): Detail which constraints are inapplicable
81196         to all GNU systems and which are only inapplicable to GNU/Hurd.
81197         * manual/job.texi: Likewise.
81198         * manual/llio.texi: Likewise.
81199         (O_NOCTTY): Document as present on GNU/Linux.
81200         * manual/maint.texi: Likewise.
81201         * manual/memory.texi: Likewise.
81202         * manual/pattern.texi: Likewise.
81203         * manual/pipe.texi: Likewise.
81204         * manual/process.texi: Likewise.
81205         * manual/resource.texi: Likewise.
81206         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81207         child on GNU/Hurd.
81208         * manual/setjmp.texi: Likewise.
81209         * manual/signal.texi: Likewise.
81210         * manual/startup.texi: Likewise.
81211         * manual/stdio.texi: Likewise.
81212         * manual/terminal.texi: Likewise.
81213         (ONLCR): Document as POSIX.
81214         (OXTABS): Document availability on GNU/Linux as XTABS.
81215         (ONOEOT): Document availability separately from other bits.
81216         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81217         * manual/time.texi: Likewise.
81218         * manual/users.texi: Likewise.
81219         * INSTALL: Regenerated.
81220         * sysdeps/gnu/errlist.c: Regenerated.
81222         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81223         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81224         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81225         puts.
81226         * configure: Regenerated.
81228 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81230         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81231         default includes instead of AC_HEADER_CHECK.
81232         * sysdeps/i386/configure: Regenerated.
81234         [BZ #10716]
81235         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81236         * math/s_cacoshf.c (__cacoshf): Likewise.
81237         * math/s_cacoshl.c (__cacoshl): Likewise.
81238         * math/s_casinh.c (__casinh): Set signs of result from argument.
81239         * math/s_casinhf.c (__casinhf): Likewise.
81240         * math/s_casinhl.c (__casinhl): Likewise.
81241         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81242         (casinh_test): Add more tests.
81243         * sysdeps/i386/fpu/libm-test-ulps: Update.
81244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81246 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81248         * po/zh_TW.po: Update from translation team.
81250         * login/Makefile (distribute): Remove variable.
81251         * catgets/Makefile: Likewise.
81252         * mach/Makefile: Likewise.
81253         * malloc/Makefile: Likewise.
81254         * misc/Makefile: Likewise.
81255         * iconv/Makefile: Likewise.
81256         * nscd/Makefile: Likewise.
81257         * hurd/Makefile: Likewise.
81258         * manual/Makefile: Likewise.
81259         * locale/Makefile: Likewise.
81260         * intl/Makefile: Likewise.
81261         * conform/Makefile: Likewise.
81262         * nss/Makefile: Likewise.
81263         * time/Makefile: Likewise.
81264         * soft-fp/Makefile: Likewise.
81265         * dirent/Makefile: Likewise.
81266         * gmon/Makefile: Likewise.
81267         * po/Makefile: Likewise.
81268         * rt/Makefile: Likewise.
81269         * socket/Makefile: Likewise.
81270         * math/Makefile: Likewise.
81271         * signal/Makefile: Likewise.
81272         * debug/Makefile: Likewise.
81273         * elf/Makefile: Likewise.
81274         * timezone/Makefile: Likewise.
81275         * stdlib/Makefile: Likewise.
81276         * iconvdata/Makefile: Likewise.
81277         * sunrpc/Makefile: Likewise.
81278         * io/Makefile: Likewise.
81279         * argp/Makefile: Likewise.
81280         * inet/Makefile: Likewise.
81281         * hesiod/Makefile: Likewise.
81282         * grp/Makefile: Likewise.
81283         * csu/Makefile: Likewise.
81284         * wctype/Makefile: Likewise.
81285         * crypt/Makefile: Likewise.
81286         * libio/Makefile: Likewise.
81287         * string/Makefile: Likewise.
81288         * nis/Makefile: Likewise.
81289         * resolv/Makefile: Likewise.
81290         * stdio-common/Makefile: Likewise.
81291         * wcsmbs/Makefile: Likewise.
81292         * dlfcn/Makefile: Likewise.
81293         * posix/Makefile: Likewise.
81295         [BZ #6959]
81296         * timezone/Makefile: Don't install timezone files, just the programs
81297         and scripts.
81299 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81301         * nss/databases.def: Add missing gshadow entry.
81303         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81305 2012-03-06  Marek Polacek  <polacek@redhat.com>
81307         [BZ #13726]
81308         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81309         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81310         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81311         * stdio-common/tst-long-dbl-fphex.c: New file.
81313 2012-03-06  David S. Miller  <davem@davemloft.net>
81315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81316         (set_obp_int): New function.
81317         (get_obp_int): New function.
81318         (__get_clockfreq_via_dev_openprom): Likewise.
81319         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81320         Avoid unused variable warnings on 'val' and use builtin_expect.
81321         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81322         __builtin_expect.
81323         (INLINE_CLONE_SYSCALL): Likewise.
81325 2012-03-05  David S. Miller  <davem@davemloft.net>
81327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81329 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81333         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81334         only for |x| >= 40.
81335         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81337 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81340         Replace gettimeofday with __vdso_gettimeofday.
81342         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81343         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81344         __vdso_clock_gettime and __vdso_getcpu.
81346         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81347         time with __vdso_time.
81349 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81351         * manual/lang.texi (size_t): Note types to which size_t may be
81352         equivalent with the GNU C Library, but do not describe when
81353         differences between them are significant.
81355 2012-03-05  Andreas Jaeger  <aj@suse.de>
81357         * sysdeps/i386/fpu/libm-test-ulps: Update.
81359 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81361         [BZ #3976]
81362         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81363         (__ieee754_pow): Save and restore rounding mode and use
81364         round-to-nearest for main computations.
81365         * math/libm-test.inc (pow_test_tonearest): New function.
81366         (pow_test_towardzero): Likewise.
81367         (pow_test_downward): Likewise.
81368         (pow_test_upward): Likewise.
81369         (main): Call the new functions.
81370         * sysdeps/i386/fpu/libm-test-ulps: Update.
81371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81373         [BZ #3976]
81374         * math/libm-test.inc (cosh_test_tonearest): New function.
81375         (cosh_test_towardzero): Likewise.
81376         (cosh_test_downward): Likewise.
81377         (cosh_test_upward): Likewise.
81378         (sinh_test_tonearest): Likewise.
81379         (sinh_test_towardzero): Likewise.
81380         (sinh_test_downward): Likewise.
81381         (sinh_test_upward): Likewise.
81382         (main): Call the new functions.
81383         * sysdeps/i386/fpu/libm-test-ulps: Update.
81384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81386 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81388         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81389         default stack guard is set in last bytes.
81390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81392 2012-03-05  Kees Cook  <keescook@chromium.org>
81394         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81396         [BZ #13656]
81397         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81398         possibly allocate from heap instead of stack.
81399         * stdio-common/bug-vfprintf-nargs.c: New file.
81400         * stdio-common/Makefile (tests): Add nargs overflow test.
81402 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81406 2012-03-03  Marek Polacek  <polacek@redhat.com>
81408         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81409         * math/math_private.h: Likewise.
81410         * stdlib/tst-strtod.c: Likewise.
81411         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81412         * sysdeps/x86_64/bits/atomic.h: Likewise.
81414 2012-03-02  David S. Miller  <davem@davemloft.net>
81416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81420         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81421         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81422         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81423         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81425 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81427         [BZ #13792]
81428         * manual/examples/README: New file, says the example source files
81429         can be used under GPL>=2.
81430         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81431         line containing just "*/".
81432         * manual/examples/add.c: Add copyright header (GPL>=2).
81433         * manual/examples/argp-ex1.c: Likewise.
81434         * manual/examples/argp-ex2.c: Likewise.
81435         * manual/examples/argp-ex3.c: Likewise.
81436         * manual/examples/argp-ex4.c: Likewise.
81437         * manual/examples/atexit.c: Likewise.
81438         * manual/examples/db.c: Likewise.
81439         * manual/examples/dir.c: Likewise.
81440         * manual/examples/dir2.c: Likewise.
81441         * manual/examples/execinfo.c: Likewise.
81442         * manual/examples/filecli.c: Likewise.
81443         * manual/examples/filesrv.c: Likewise.
81444         * manual/examples/fmtmsgexpl.c: Likewise.
81445         * manual/examples/genpass.c: Likewise.
81446         * manual/examples/inetcli.c: Likewise.
81447         * manual/examples/inetsrv.c: Likewise.
81448         * manual/examples/isockad.c: Likewise.
81449         * manual/examples/longopt.c: Likewise.
81450         * manual/examples/memopen.c: Likewise.
81451         * manual/examples/memstrm.c: Likewise.
81452         * manual/examples/mkfsock.c: Likewise.
81453         * manual/examples/mkisock.c: Likewise.
81454         * manual/examples/mygetpass.c: Likewise.
81455         * manual/examples/pipe.c: Likewise.
81456         * manual/examples/popen.c: Likewise.
81457         * manual/examples/rprintf.c: Likewise.
81458         * manual/examples/search.c: Likewise.
81459         * manual/examples/select.c: Likewise.
81460         * manual/examples/setjmp.c: Likewise.
81461         * manual/examples/sigh1.c: Likewise.
81462         * manual/examples/sigusr.c: Likewise.
81463         * manual/examples/stpcpy.c: Likewise.
81464         * manual/examples/strdupa.c: Likewise.
81465         * manual/examples/strftim.c: Likewise.
81466         * manual/examples/strncat.c: Likewise.
81467         * manual/examples/subopt.c: Likewise.
81468         * manual/examples/swapcontext.c: Likewise.
81469         * manual/examples/termios.c: Likewise.
81470         * manual/examples/testopt.c: Likewise.
81471         * manual/examples/testpass.c: Likewise.
81472         * manual/examples/timeval_subtract.c: Likewise.
81474         [BZ #13792]
81475         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81476         function to ...
81477         * manual/timeval_subtract.c.texi: ... here, new file.
81479 2012-03-02  David S. Miller  <davem@davemloft.net>
81481         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81483 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81485         [BZ #3976]
81486         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81487         (__sin): Save and restore rounding mode and use round-to-nearest
81488         for all computations.
81489         (__cos): Save and restore rounding mode and use round-to-nearest
81490         for all computations.
81491         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81492         <fenv.h>.
81493         (tan): Save and restore rounding mode and use round-to-nearest for
81494         all computations.
81495         * math/libm-test.inc (cos_test_tonearest): New function.
81496         (cos_test_towardzero): Likewise.
81497         (cos_test_downward): Likewise.
81498         (cos_test_upward): Likewise.
81499         (sin_test_tonearest): Likewise.
81500         (sin_test_towardzero): Likewise.
81501         (sin_test_downward): Likewise.
81502         (sin_test_upward): Likewise.
81503         (tan_test_tonearest): Likewise.
81504         (tan_test_towardzero): Likewise.
81505         (tan_test_downward): Likewise.
81506         (tan_test_upward): Likewise.
81507         (main): Call the new functions.
81508         * sysdeps/i386/fpu/libm-test-ulps: Update.
81509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81511         [BZ #10135]
81512         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81513         small n, then large n, before computing and testing k+n.
81514         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81516         Likewise.
81517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81518         Likewise.
81519         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81520         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81521         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81522         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81523         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81524         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81525         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81526         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81527         * math/libm-test.inc (scalbn_test): Add more tests.
81528         (scalbln_test): Likewise.
81530         * manual/filesys.texi (mode_t): Describe constraints on size and
81531         signedness, not exact equivalence to a particular type.
81532         (ino_t): Likewise.
81533         (ino64_t): Likewise.
81534         (dev_t): Likewise.
81535         (nlink_t): Likewise.
81536         (blkcnt_t): Likewise.
81537         (blkcnt64_t): Likewise.
81538         * manual/llio.texi (off_t): Likewise.
81540         [BZ #3976]
81541         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81542         (__ieee754_exp): Save and restore rounding mode and use
81543         round-to-nearest for all computations.
81544         * math/libm-test.inc (exp_test_tonearest): New function.
81545         (exp_test_towardzero): Likewise.
81546         (exp_test_downward): Likewise.
81547         (exp_test_upward): Likewise.
81548         (main): Call the new functions.
81549         * sysdeps/i386/fpu/libm-test-ulps: Update.
81550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81552 2012-03-01  Chris Demetriou  <cgd@google.com>
81554         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81555         have predictable order.
81557 2012-03-01  David S. Miller  <davem@davemloft.net>
81559         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81561         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81562         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81563         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81564         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81566         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81567         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81568         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81570         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81571         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81572         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81573         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81574         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81578         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81579         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81580         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81582         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81583         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81584         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81585         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81586         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81587         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81589         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81590         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81591         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81592         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81593         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81595         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81596         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81598         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81599         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81600         * sysdeps/sparc/elf/configure: Regenerated.
81602 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81604         * configure.in (AS, LD): Require binutils 2.20 or later.
81605         * configure: Regenerated.
81606         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81607         as required minimum version.
81608         * INSTALL: Regenerated.
81610         [BZ #2541]
81611         [BZ #4108]
81612         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81613         before squaring exponent.
81614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81615         bottom long double and 27 bits of top long double before squaring
81616         exponent.
81617         * math/libm-test.inc (erfc_test): Add more tests.
81618         * sysdeps/i386/fpu/libm-test-ulps: Update.
81619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81622 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81624         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81625         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81626         containing bit-fields.
81627         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81628         * soft-fp/single.h (_FP_UNION_S): Likewise.
81629         * soft-fp/double.h (_FP_UNION_D): Likewise.
81631 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81633         [BZ #13786]
81634         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81635         not include ../strcmp.S.
81636         [USE_AS_STRNCASECMP_L]: Likewise.
81637         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81638         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81639         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81640         (__strncasecmp_l_ia32): Define as alias to
81641         __strncasecmp_l_nonascii.
81643         [BZ #5794]
81644         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81645         * sysdeps/i386/fpu/libm-test-ulps: Update.
81646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81648         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81651 2012-02-29  Jeff Law  <law@redhat.com>
81653         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81654         out of bounds read.
81656 2012-02-29  Marek Polacek  <polacek@redhat.com>
81658         [BZ #13706]
81659         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81660         * elf/Makefile: Add rules to run tst-unused-dep.out.
81662 2012-02-28  David S. Miller  <davem@davemloft.net>
81664         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81665         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81666         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81667         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81668         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81669         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81671 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81673         * math/libm-test.inc (llround_test): Move one test from
81674         lround_test.  Use TEST_f_L in moved test.
81675         (lround_test): Move misplaced test to llround_test.  Add testcase
81676         from bug 2561.
81678 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81680         * sysdeps/x86_64/fpu/e_expf.S: New file.
81681         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81683 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81685         [BZ #13637]
81686         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81687         of remain_len that may cause incomplete multi-byte character and
81688         false match.
81689         * posix/bug-regex33.c: New file.
81690         * posix/Makefile (tests): Add bug-regex33.
81692 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81694         * manual/macros.texi: New file.
81695         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81696         * manual/libc.texinfo: Include macros.texi.
81697         * manual/creatute.texi: Likewise.
81698         * manual/install.texi: Likewise.
81699         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81700         @glibcadj{} in references to the GNU C Library.
81701         * manual/charset.texi: Likewise.
81702         * manual/conf.texi: Likewise.
81703         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81704         when not using those macros.
81705         * manual/creature.texi: Likewise.
81706         * manual/crypt.texi: Likewise.
81707         * manual/errno.texi: Likewise.
81708         * manual/filesys.texi: Likewise.
81709         * manual/header.texi: Likewise.
81710         * manual/install.texi: Likewise.
81711         * manual/intro.texi: Likewise.
81712         * manual/io.texi: Likewise.
81713         * manual/job.texi: Likewise.
81714         * manual/lang.texi: Likewise.
81715         * manual/libc.texiinfo: Likewise.
81716         * manual/llio.texi: Likewise.
81717         * manual/locale.texi: Likewise.
81718         * manual/maint.texi: Likewise.
81719         * manual/math.texi: Likewise.
81720         * manual/memory.texi: Likewise.
81721         * manual/message.texi: Likewise.
81722         * manual/nss.texi: Likewise.
81723         * manual/pattern.texi: Likewise.
81724         * manual/process.texi: Likewise.
81725         * manual/resource.texi: Likewise.
81726         * manual/search.texi: Likewise.
81727         * manual/setjmp.texi: Likewise.
81728         * manual/signal.texi: Likewise.
81729         * manual/socket.texi: Likewise.
81730         * manual/startup.texi: Likewise.
81731         * manual/stdio.texi: Likewise.
81732         * manual/string.texi: Likewise.
81733         * manual/sysinfo.texi: Likewise.
81734         * manual/syslog.texi: Likewise.
81735         * manual/terminal.texi: Likewise.
81736         * manual/time.texi: Likewise.
81737         * manual/users.texi: Likewise.
81738         * INSTALL: Regenerated.
81739         * NOTES: Regenerated.
81740         * sysdeps/gnu/errlist.c: Regenerated.
81742 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81744         * include/dirent.h: Include <dirstream.h> before
81745         <dirent/dirent.h>.
81747 2012-02-28  David S. Miller  <davem@davemloft.net>
81749         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81750         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81751         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81752         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81754 2012-02-27  David S. Miller  <davem@davemloft.net>
81756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81758         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81759         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81762         frame pointer instead of stack pointer relative arg slot.
81763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81764         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81765         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81767 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81769         [BZ #3992]
81770         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81772 2012-02-27  David S. Miller  <davem@davemloft.net>
81774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81778         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81779         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81780         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81781         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81783 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81785         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81786         later.  Allow versions 5-9.
81787         * configure: Regenerated.
81788         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81789         required minimum version and 4.6 as recommended version.  Do not
81790         mention bugs in GCC 2.7 and 2.8.
81791         * INSTALL: Regenerated.
81793 2012-02-27  David S. Miller  <davem@davemloft.net>
81795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81799         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81800         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81801         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81802         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81804         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81805         manipulate bits before adding and subtracting TWO112[sx].
81806         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81808 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81810         [BZ #13775]
81811         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81812         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81813         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81814         being in POSIX, because they are in 1003.1-2008.
81816         * rt/tst-aio.c: Include <fcntl.h>.
81817         * rt/tst-aio7.c: Likewise.
81818         * rt/tst-aio64.c: Likewise.
81820         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81822 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81824         * manual/install.texi (--with-headers): Describe headers as
81825         interface headers, not private headers.
81826         (Specific advice for GNU/Linux systems): Describe use of headers
81827         from "make headers_install", not private headers from older
81828         kernels.
81829         * INSTALL: Regenerated.
81830         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81831         Change to 2.6.19.
81832         * sysdeps/unix/sysv/linux/configure: Regenerated.
81834         * manual/llio.texi (fclean): Remove documentation.
81836         * manual/Makefile (libc-texi-generated): New variable.  Include
81837         version.texi.
81838         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81839         $(libc-texi-generated), not duplicated list of files.
81840         (version.texi, stamp-version): New rules.
81841         (realclean): Remove $(libc-texi-generated), not individual files
81842         from that list.  Do not remove dir-add.texinfo.
81843         * manual/libc.texinfo: Comment out uses of edition numbers and
81844         references to printed manual.  Remove last-updated dates.
81845         (EDITION): Comment out.
81846         (ISBN): Likewise.
81847         (VERSION, UPDATED): Remove.
81848         (version.texi): Include.
81850 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81852         * sysdeps/posix/spawni.c: Include <signal.h>.
81853         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81854         * sysdeps/pthread/aio_fsync.c: Likewise.
81856 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81858         * conform/Makefile (tests): Run only when not cross-compiling and
81859         when fast-check is not defined.
81861         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81862         * conform/data/limits.h-data: Fixes for POSIX2008.
81863         * conform/run-conformtest.sh: Run all tests.
81864         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81865         headers.
81866         * include/bits/dlfcn.h: Likewise.
81867         * include/langinfo.h: Likewise.
81868         * include/monetary.h: Likewise.
81869         * include/sys/poll.h: Likewise.
81871         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81872         for __USE_GNU.
81873         * posix/spawn.h: Define __need_sigset_t.
81874         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81875         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81876         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81877         to get sigevent_t only.
81878         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81879         only for __USE_GNU.
81880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81881         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81882         process_vm_writev only for __USE_GNU.
81883         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81885         * conform/Makefile: For now ignore errors from run-conformtest.
81886         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81887         POSIX to avoid namespace pollution.  Don't prepend headers.
81888         * conform/data/aio.h-data: Fixes for POSIX testing.
81889         * conform/data/fcntl.h-data: Likewise.
81890         * conform/data/glob.h-data: Likewise.
81891         * conform/data/grp.h-data: Likewise.
81892         * conform/data/pthread.h-data: Likewise.
81893         * conform/data/pwd.h-data: Likewise.
81894         * conform/data/signal.h-data: Likewise.
81895         * conform/data/spawn.h-data: Likewise.
81896         * conform/data/stdio.h-data: Likewise.
81897         * conform/data/stdlib.h-data: Likewise.
81898         * conform/data/stropts.h-data: Likewise.
81899         * conform/data/sys/mman.h-data: Likewise.
81900         * conform/data/sys/stat.h-data: Likewise.
81901         * conform/data/sys/types.h-data: Likewise.
81902         * conform/data/sys/wait.h-data: Likewise.
81903         * conform/data/time.h-data: Likewise.
81904         * conform/data/unistd.h-data: Likewise.
81905         * conform/data/utime.h-data: Likewise.
81907         * io/sys/stat.h: fchmod was always in POSIX.
81908         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81909         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81910         * rt/aio.h: Define __need_timespec before including <time.h>.
81911         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81912         struct.  Add forward declaration of pthread_attr_t and use it in
81913         sigevent.
81914         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81915         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81916         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81917         always remove CLK_TCK definition.
81919 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81921         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81923 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81925         * conform/run-conformtest.sh: New file.
81926         * conform/Makefile: Run run-conformtest for tests.
81927         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81928         support.
81930         * conform/data/uchar.h-data: New file.
81931         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81932         * conform/data/arpa/inet.h-data: Likewise.
81933         * conform/data/assert.h-data: Likewise.
81934         * conform/data/complex.h-data: Likewise.
81935         * conform/data/cpio.h-data: Likewise.
81936         * conform/data/ctype.h-data: Likewise.
81937         * conform/data/dirent.h-data: Likewise.
81938         * conform/data/dlfcn.h-data: Likewise.
81939         * conform/data/errno.h-data: Likewise.
81940         * conform/data/fcntl.h-data: Likewise.
81941         * conform/data/float.h-data: Likewise.
81942         * conform/data/fmtmsg.h-data: Likewise.
81943         * conform/data/fnmatch.h-data: Likewise.
81944         * conform/data/ftw.h-data: Likewise.
81945         * conform/data/glob.h-data: Likewise.
81946         * conform/data/grp.h-data: Likewise.
81947         * conform/data/iconv.h-data: Likewise.
81948         * conform/data/inttypes.h-data: Likewise.
81949         * conform/data/langinfo.h-data: Likewise.
81950         * conform/data/libgen.h-data: Likewise.
81951         * conform/data/limits.h-data: Likewise.
81952         * conform/data/locale.h-data: Likewise.
81953         * conform/data/math.h-data: Likewise.
81954         * conform/data/monetary.h-data: Likewise.
81955         * conform/data/mqueue.h-data: Likewise.
81956         * conform/data/ndbm.h-data: Likewise.
81957         * conform/data/net/if.h-data: Likewise.
81958         * conform/data/netdb.h-data: Likewise.
81959         * conform/data/netinet/in.h-data: Likewise.
81960         * conform/data/nl_types.h-data: Likewise.
81961         * conform/data/poll.h-data: Likewise.
81962         * conform/data/pthread.h-data: Likewise.
81963         * conform/data/pwd.h-data: Likewise.
81964         * conform/data/regex.h-data: Likewise.
81965         * conform/data/sched.h-data: Likewise.
81966         * conform/data/search.h-data: Likewise.
81967         * conform/data/semaphore.h-data: Likewise.
81968         * conform/data/setjmp.h-data: Likewise.
81969         * conform/data/signal.h-data: Likewise.
81970         * conform/data/spawn.h-data: Likewise.
81971         * conform/data/stdarg.h-data: Likewise.
81972         * conform/data/stdio.h-data: Likewise.
81973         * conform/data/stdlib.h-data: Likewise.
81974         * conform/data/string.h-data: Likewise.
81975         * conform/data/strings.h-data: Likewise.
81976         * conform/data/stropts.h-data: Likewise.
81977         * conform/data/sys/ipc.h-data: Likewise.
81978         * conform/data/sys/mman.h-data: Likewise.
81979         * conform/data/sys/msg.h-data: Likewise.
81980         * conform/data/sys/resource.h-data: Likewise.
81981         * conform/data/sys/select.h-data: Likewise.
81982         * conform/data/sys/sem.h-data: Likewise.
81983         * conform/data/sys/shm.h-data: Likewise.
81984         * conform/data/sys/socket.h-data: Likewise.
81985         * conform/data/sys/stat.h-data: Likewise.
81986         * conform/data/sys/statvfs.h-data: Likewise.
81987         * conform/data/sys/time.h-data: Likewise.
81988         * conform/data/sys/timeb.h-data: Likewise.
81989         * conform/data/sys/times.h-data: Likewise.
81990         * conform/data/sys/types.h-data: Likewise.
81991         * conform/data/sys/uio.h-data: Likewise.
81992         * conform/data/sys/un.h-data: Likewise.
81993         * conform/data/sys/utsname.h-data: Likewise.
81994         * conform/data/sys/wait.h-data: Likewise.
81995         * conform/data/syslog.h-data: Likewise.
81996         * conform/data/tar.h-data: Likewise.
81997         * conform/data/termios.h-data: Likewise.
81998         * conform/data/utime.h-data: Likewise.
81999         * conform/data/utmpx.h-data: Likewise.
82000         * conform/data/varargs.h-data: Likewise.
82001         * conform/data/wchar.h-data: Likewise.
82002         * conform/data/wctype.h-data: Likewise.
82003         * conform/data/wordexp.h-data: Likewise.
82005         * include/stropts.h: New file.
82006         * include/uchar.h: New file.
82007         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82008         * include/assert.h: Likewise.
82009         * include/ctype.h: Likewise.
82010         * include/dirent.h: Likewise.
82011         * include/dlfcn.h: Likewise.
82012         * include/fcntl.h: Likewise.
82013         * include/fnmatch.h: Likewise.
82014         * include/glob.h: Likewise.
82015         * include/grp.h: Likewise.
82016         * include/libio.h: Likewise.
82017         * include/locale.h: Likewise.
82018         * include/math.h: Likewise.
82019         * include/net/if.h: Likewise.
82020         * include/netdb.h: Likewise.
82021         * include/netinet/in.h: Likewise.
82022         * include/pthread.h: Likewise.
82023         * include/pwd.h: Likewise.
82024         * include/regex.h: Likewise.
82025         * include/sched.h: Likewise.
82026         * include/search.h: Likewise.
82027         * include/setjmp.h: Likewise.
82028         * include/signal.h: Likewise.
82029         * include/stdio.h: Likewise.
82030         * include/stdlib.h: Likewise.
82031         * include/string.h: Likewise.
82032         * include/sys/cdefs.h: Likewise.
82033         * include/sys/mman.h: Likewise.
82034         * include/sys/msg.h: Likewise.
82035         * include/sys/resource.h: Likewise.
82036         * include/sys/select.h: Likewise.
82037         * include/sys/socket.h: Likewise.
82038         * include/sys/stat.h: Likewise.
82039         * include/sys/statvfs.h: Likewise.
82040         * include/sys/time.h: Likewise.
82041         * include/sys/times.h: Likewise.
82042         * include/sys/uio.h: Likewise.
82043         * include/sys/utsname.h: Likewise.
82044         * include/sys/wait.h: Likewise.
82045         * include/termios.h: Likewise.
82046         * include/time.h: Likewise.
82047         * include/ulimit.h: Likewise.
82048         * include/unistd.h: Likewise.
82049         * include/utime.h: Likewise.
82050         * include/wchar.h: Likewise.
82051         * include/wctype.h: Likewise.
82052         * include/wordexp.h: Likewise.
82054         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82056         * time/time.h: TIME_UTC must be a macro.
82057         Make timespec_get available for ISO C11 only as well.
82059 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82061         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82062         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82064 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82066         * configure.in: Use -o not -a in test for unsupported multi-arch.
82068 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82070         * manual/texinfo.tex: Update to version 2012-01-19.16.
82072 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82074         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82076 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82078         [BZ #13738]
82079         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82080         * manual/fdl-1.3.texi: New file.
82081         * manual/fdl-1.1.texi: File removed.
82083         [BZ #13738]
82084         * manual/libc.texinfo (FDL_VERSION): New @set.
82085         Use it for mention of FDL in cover text.
82086         (Documentation License): Use it in @include file name.
82088 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82089             Roland McGrath  <roland@hack.frob.com>
82091         [BZ #5461]
82092         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82093         (not LONG_LONG_MAX and LONG_LONG_MIN.
82094         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82095         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82096         name.
82097         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82099 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82101         [BZ #2547]
82102         [BZ #11365]
82103         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82104         manipulate bits before adding and subtracting TWO23[sx].
82105         * math/libm-test.inc (nearbyint_test): Add more tests.
82107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82109         [BZ #2548]
82110         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82111         bits before adding and subtracting TWO23[sx].
82112         * math/libm-test.inc (rint_test): Add more tests.
82113         (rint_test_tonearest): Likewise.
82114         (rint_test_towardzero): Likewise.
82115         (rint_test_downward): Likewise.
82116         (rint_test_upward: Likewise.
82118 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82120         [BZ #10110]
82121         * include/stdc-predef.h: New file.  Extracted from features.h.
82122         * include/features.h: Include stdc-predef.h.
82123         * Makefile (headers): Add stdc-predef.h.
82124         * CONFORMANCE (Compiler limitations): Update.
82126 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82128         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82130 2012-02-21  David S. Miller  <davem@davemloft.net>
82132         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82133         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82135 2012-02-20  David S. Miller  <davem@davemloft.net>
82137         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82138         using a normal save/restore sequence, rather than allocating a
82139         dummy stack frame just to store a frame pointer and restore.
82140         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82142 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82144         * manual/install.texi: Fix stray word in line-wrapped comment.
82146 2012-02-20  David S. Miller  <davem@davemloft.net>
82148         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82149         both binutils and gcc support GOTDATA.
82151         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82152         "rd %pc" in the PIC register setup sequences.
82154         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82155         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82156         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82157         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82158         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82160         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82161         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82163         (SYSCALL_ERROR_HANDLER): Likewise.
82164         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82165         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82167         (SYSCALL_ERROR_HANDLER): Likewise.
82169         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82170         (HAVE_GCC_GOTDATA): New.
82171         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82172         relocation support in both binutils and gcc.
82173         * sysdeps/sparc/elf/configure: Regenerate.
82175         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82176         * sysdeps/sparc/sparc32/elf/configure: Delete.
82177         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82178         * sysdeps/sparc/sparc64/elf/configure: Delete.
82179         * sysdeps/sparc/elf/configure.in: New file.
82180         * sysdeps/sparc/elf/configure: Generate.
82182         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82183         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82184         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82185         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82186         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82188 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82190         * manual/install.texi: Do not mention specific glibc version
82191         numbers.
82192         * manual/libc.texinfo (VERSION, UPDATED): Update.
82193         (@copying): Use @copyright{} and range of years.
82195 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82197         [BZ #13695]
82198         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82199         [crti.S not in sysdirs] (generated): Do not append.
82200         [crti.S not in sysdirs] (omit-deps): Likewise.
82201         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82202         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82203         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82204         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82205         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82206         Likewise.
82207         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82208         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82209         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82210         * csu/defs.awk: Remove file.
82211         * sysdeps/generic/initfini.c: Likewise.
82212         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82213         variable.
82214         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82215         Likewise.
82217 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82219         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82220         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82221         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82222         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82223         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82224         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82225         <bits/epoll.h>.
82226         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82227         (__EPOLL_PACKED): Define to empty if not defined by
82228         <bits/epoll.h>.
82229         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82231         bits/epoll.h.
82233 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82235         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82236         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82237         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82238         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82239         <bits/timerfd.h>.
82240         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82242         bits/timerfd.h.
82244 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82246         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82247         in C locale.
82248         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82249         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82250         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82253 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82255         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82256         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82258 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82260         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82261         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82262         defined.
82263         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82264         Likewise.
82265         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82266         entry for 2.16.
82268 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82270         * math/w_acos.c: Use non-signaling floating-point comparisons.
82271         * math/w_acosf.c: Likewise.
82272         * math/w_acosh.c: Likewise.
82273         * math/w_acoshf.c: Likewise.
82274         * math/w_acoshl.c: Likewise.
82275         * math/w_acosl.c: Likewise.
82276         * math/w_asin.c: Likewise.
82277         * math/w_asinf.c: Likewise.
82278         * math/w_asinl.c: Likewise.
82279         * math/w_atanh.c: Likewise.
82280         * math/w_atanhf.c: Likewise.
82281         * math/w_atanhl.c: Likewise.
82282         * math/w_exp2.c: Likewise.
82283         * math/w_exp2f.c: Likewise.
82284         * math/w_exp2l.c: Likewise.
82285         * math/w_j0.c: Likewise.
82286         * math/w_j0f.c: Likewise.
82287         * math/w_j0l.c: Likewise.
82288         * math/w_j1.c: Likewise.
82289         * math/w_j1f.c: Likewise.
82290         * math/w_j1l.c: Likewise.
82291         * math/w_jn.c: Likewise.
82292         * math/w_jnf.c: Likewise.
82293         * math/w_log.c: Likewise.
82294         * math/w_log10.c: Likewise.
82295         * math/w_log10f.c: Likewise.
82296         * math/w_log10l.c: Likewise.
82297         * math/w_log2.c: Likewise.
82298         * math/w_log2f.c: Likewise.
82299         * math/w_log2l.c: Likewise.
82300         * math/w_logf.c: Likewise.
82301         * math/w_logl.c: Likewise.
82302         * math/w_sqrt.c: Likewise.
82303         * math/w_sqrtf.c: Likewise.
82304         * math/w_sqrtl.c: Likewise.
82305         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82306         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82308         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82309         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82311 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82313         [BZ #9739]
82314         * manual/string.texi (strnlen): Use correct parameter name in
82315         equivalent expression.
82317 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82319         [BZ #11174]
82320         * manual/users.texi (seteuid): Consistently use neweuid for
82321         argument name.
82323 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82325         [BZ #13704]
82326         * manual/nss.texi (Services in the NSS configuration): Correct
82327         list of services in example configuration file.
82329 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82331         [BZ #11322]
82332         * manual/arith.texi: Remove statements about negative zero
82333         behaving identically to zero.
82335 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82337         [BZ #5993]
82338         * manual/install.texi: Do not document upgrading from libc5.
82340 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82342         [BZ #4596]
82343         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82345 2012-02-18  David S. Miller  <davem@davemloft.net>
82347         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82348         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82349         %o7 across the call.
82350         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82351         instead.
82352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82353         SETUP_PIC_REG_LEAF.
82354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82355         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82356         * sysdeps/sparc/crtn.S: Likewise.
82358 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82360         * aout/Makefile: Remove.
82362 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82364         [BZ #13058]
82365         * manual/examples/argp-ex1.c (main): Format definition in GNU
82366         style.
82367         * manual/examples/argp-ex2.c (main): Likewise.
82368         * manual/examples/argp-ex3.c (main): Likewise.
82369         * manual/examples/argp-ex4.c (main): Likewise.
82370         * manual/examples/longopt.c (main): Use new-style prototype
82371         definition.
82372         * manual/examples/strncat.c (main): Specify return type and use
82373         (void) for arguments.
82374         * manual/examples/subopt.c (main): Use char **argv argument.
82376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82378         [BZ #5077]
82379         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82380         rounding modes.
82382 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82384         [BZ #6907]
82385         * manual/string.texi (strchr): Change when strchrnul is
82386         recommended.
82388 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82390         [BZ #174]
82391         * manual/locale.texi (setlocale): Document LOCPATH.
82393 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82395         [BZ #10210]
82396         * manual/process.texi (execle): Move @dots{} before last argument.
82398 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82400         [BZ #12047]
82401         * manual/charset.texi (Generic Charset Conversion): Fix typo
82402         (LC_TYPE -> LC_CTYPE).
82404 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82406         [BZ #5805]
82407         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82408         (scalbnf): Likewise.
82409         (scalbnl): Likewise.
82410         (scalbln): Likewise.
82411         (scalblnf): Likewise.
82412         (scalblnl): Likewise.
82413         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82414         (vwarnx): Likewise.
82415         (verr): Likewise.
82416         (verrx): Likewise.
82417         * manual/filesys.texi (telldir): Use braces around return type.
82418         * manual/llio.texi (mmap): Add space after comma.
82419         (mmap64): Likewise.
82420         * manual/math.texi (jn): Use @var{} on parameter names.
82421         (jnf): Likewise.
82422         (jnl): Likewise.
82423         (yn): Likewise.
82424         (ynf): Likewise.
82425         (ynl): Likewise.
82426         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82427         line.
82428         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82429         "...".
82430         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82431         (sched_get_priority_max): Likewise.
82432         * manual/signal.texi (sigvec): Add space after comma.
82433         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82434         names.
82435         (if_indextoname): Likewise.
82436         (if_freenameindex): Likewise.
82437         (sendto): Use ',' instead of '.' in prototype.
82438         * manual/startup.texi (syscall): Use @dots{} instead of literal
82439         "...".
82440         * manual/stdio.texi (__fpending): Separate initial words of
82441         paragraph from @deftypefun line.
82442         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82443         "...".
82444         (vsyslog): Use @var{} on parameter names.
82445         * manual/terminal.texi (stty): Use @var{} on parameter names.
82446         * manual/users.texi (getutmp): Use @var{} on parameter names.
82447         (getutmpx): Likewise.
82449 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82451         [BZ #6884]
82452         * manual/stdio.texi (fopen): Fix typos in description of
82453         ",ccs=STRING".
82455 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82457         [BZ #4026]
82458         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82459         get clock_id definition.
82461 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82463         [BZ #4822]
82464         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82465         (madvise): Cast every argument to void on its own.
82467 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82469         [BZ #9902]
82470         * manual/startup.texi (Exit Status): Fix typo.
82472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82474         [BZ #10140]
82475         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82476         * manual/examples/argp-ex2.c: Likewise.
82477         * manual/examples/argp-ex3.c: Likewise.
82479 2012-02-16  Richard Henderson  <rth@redhat.com>
82481         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82482         * sysdeps/s390/s390-32/initfini.c: Remove.
82483         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82484         * sysdeps/s390/s390-64/initfini.c: Remove.
82486 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82488         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82489         compiler output for sysdeps/generic/initfini.c.
82490         * sysdeps/sh/elf/initfini.c: Remove file.
82492 2012-02-16  David S. Miller  <davem@davemloft.net>
82494         [BZ #11494]
82495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82497         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82498         * sysdeps/sparc/crti.S: New file.
82499         * sysdeps/sparc/crtn.S: New file.
82500         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82501         * sysdeps/sparc/sparc64/Makefile: Likewise.
82503 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82505         [BZ #3335]
82506         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82508 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82510         [BZ #4822]
82511         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82513         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82514         (write, read, close): Likewise.
82515         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82517 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82519         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82520         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82521         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82522         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82523         <bits/signalfd.h>.
82524         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82526         bits/signalfd.h.
82528 2012-02-14  Marek Polacek  <polacek@redhat.com>
82530         * sysdeps/x86_64/crti.S: New file.
82531         * sysdeps/x86_64/crtn.S: New file.
82532         * sysdeps/x86_64/elf/initfini.c: Remove file.
82534 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82536         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82537         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82538         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82539         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82540         <bits/inotify.h>.
82541         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82543         bits/inotify.h.
82545 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82547         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82548         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82549         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82550         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82551         <bits/eventfd.h>.
82552         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82554         bits/eventfd.h.
82556 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82558         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82559         __feraiseexcept instead of feraiseexcept.
82561         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82562         nanosleep invocations.
82563         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82564         strings, and add error checking for a nanosleep invocations.
82566 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82568         Replace FSF snail mail address with URLs, as per GNU coding standards.
82569         Most of the snail mail addresses were wrong anyway, and omitting
82570         them makes the source code easier to maintain.  Almost all of the
82571         changes are to license notices and to locale LC_IDENTIFICATION
82572         addresses, except for this one:
82573         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82574         not its snail mail address.
82576 2012-02-09  Richard Henderson  <rth@twiddle.net>
82578         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82579         of kernel-features.h.
82581         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82583 2012-02-08  Marek Polacek  <polacek@redhat.com>
82585         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82586         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82587         * sysdeps/gnu/_G_config.h: Likewise.
82588         * sysdeps/generic/_G_config.h: Likewise.
82590 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82592         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82593         tests.
82594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82596         * sysdeps/powerpc/powerpc32/crti.S: New file.
82597         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82598         * sysdeps/powerpc/powerpc64/crti.S: New file.
82599         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82601         * Makeconfig (have-initfini): Don't set.
82602         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82603         * configure.in (nopic_initfini): Don't substitute.
82604         * config.h.in (HAVE_INITFINI): Don't #undef.
82605         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82606         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82608 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82610         Support crti.S and crtn.S provided directly by architectures.
82611         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82612         [crti.S in sysdirs] (omit-deps): Likewise.
82613         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82614         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82615         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82616         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82617         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82618         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82619         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82620         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82621         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82622         compiler output for sysdeps/generic/initfini.c.
82623         * sysdeps/i386/elf/Makefile: Remove file.
82624         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82626 2012-02-07  Marek Polacek  <polacek@redhat.com>
82628         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82629         * sysdeps/gnu/_G_config.h: Likewise.
82630         * sysdeps/mach/hurd/_G_config.h: Likewise.
82632 2012-02-07  Marek Polacek  <polacek@redhat.com>
82634         * math/Makefile (tests): Add tst-CMPLX2.
82635         * math/tst-CMPLX2.c: New file.
82637 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82639         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82641         * math/libm-test.inc (jn_test): Add missing L suffix.
82643 2012-02-06  Marek Polacek  <polacek@redhat.com>
82645         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82646         * sysdeps/i386/fpu/e_powf.S: Likewise.
82647         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82648         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82649         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82650         * sysdeps/i386/fpu/e_pow.S: Likewise.
82651         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82652         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82653         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82654         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82655         * sysdeps/i386/fpu/e_log2.S: Likewise.
82656         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82657         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82658         * sysdeps/i386/fpu/e_powl.S: Likewise.
82659         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82660         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82661         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82662         * sysdeps/i386/fpu/e_logl.S: Likewise.
82663         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82664         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82665         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82666         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82667         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82668         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82669         * sysdeps/i386/fpu/e_log.S: Likewise.
82670         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82671         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82672         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82673         * sysdeps/i386/fpu/e_logf.S: Likewise.
82674         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82675         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82676         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82677         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82678         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82679         * sysdeps/i386/fpu/e_log10.S: Likewise.
82680         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82681         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82682         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82683         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82684         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82685         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82686         * sysdeps/i386/asm-syntax.h: Likewise.
82687         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82688         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82689         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82690         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82691         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82692         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82693         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82694         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82695         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82696         * sysdeps/powerpc/sysdep.h: Likewise.
82697         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82698         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82700 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82702         [BZ #411]
82703         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82705 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82707         * sysdeps/i386/sysdep.h: Include <features.h>.
82708         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82709         version.
82711 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82713         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82714         Define.
82715         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82716         LOAD_PIC_REG_STR.
82718 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82720         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82721         (SETUP_PIC_REG): Use GET_PC_THUNK.
82722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82723         macro.
82725 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82727         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82728         for non-PIC compilation.
82729         (SETUP_PIC_REG): Add .p2align directive.
82730         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82731         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82732         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82733         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82734         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82735         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82736         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82737         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82738         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82739         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82740         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82741         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82742         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82743         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82744         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82745         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82746         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82747         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82748         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82749         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82750         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82751         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82752         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82753         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82756         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82758         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82759         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82760         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82761         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82762         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82763         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82764         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82765         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82766         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82767         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82768         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82769         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82770         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82772 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82774         * math/tst-CMPLX.c: Include <stdio.h>.
82776 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82778         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82779         float.
82780         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82781         * sysdeps/sparc/bits/mathdef.h: Likewise.
82783 2012-01-31  Marek Polacek  <polacek@redhat.com>
82785         * libio/libio.h: Don't define _PARAMS.
82786         * locale/programs/config.h: Don't define PARAMS.
82787         * stdlib/strtol_l.c: Likewise.
82788         (__strtol_l): Remove PARAMS from the prototype.
82790 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82792         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82793         names.  Just use the correct names.  Remove unnecessary wrapper
82794         functions.
82795         * malloc/arena.c: Likewise.
82796         * malloc/hooks.c: Likewise.
82798         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82799         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82800         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82802 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82804         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82805         into tail calls.
82806         (update_get_addr): New function.
82807         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82808         GET_ADDR_MODULE parameter.
82810 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82812         * crypt/cert.c: Remove __STDC__ conditionals.
82813         * crypt/crypt-entry.c: Likewise.
82814         * crypt/crypt_util.c: Likewise.
82815         * libio/filedoalloc.c: Likewise.
82816         * libio/fileops.c: Likewise.
82817         * libio/genops.c: Likewise.
82818         * libio/iofclose.c: Likewise.
82819         * libio/iofdopen.c: Likewise.
82820         * libio/iofopen.c: Likewise.
82821         * libio/iofopen64.c: Likewise.
82822         * libio/iogetdelim.c: Likewise.
82823         * libio/iopopen.c: Likewise.
82824         * libio/obprintf.c: Likewise.
82825         * libio/oldfileops.c: Likewise.
82826         * libio/oldiofclose.c: Likewise.
82827         * libio/oldiofdopen.c: Likewise.
82828         * libio/oldiofopen.c: Likewise.
82829         * libio/oldiopopen.c: Likewise.
82830         * libio/wfiledoalloc.c: Likewise.
82831         * libio/wgenops.c: Likewise.
82832         * locale/programs/xmalloc.c: Likewise.
82833         * misc/syslog.c: Likewise.
82834         * stdio-common/xbug.c: Likewise.
82835         * string/memchr.c: Likewise.
82836         * string/memcmp.c: Likewise.
82837         * string/memrchr.c: Likewise.
82838         * string/rawmemchr.c: Likewise.
82839         * sysdeps/posix/getcwd.c: Likewise.
82840         * time/strftime_l.c: Likewise.
82842 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82844         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82845         * config.make.in (config-cflags-sse2avx): Define.
82846         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82847         Fix typo.
82849 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82851         * scripts/config.guess: Update from upstream config git repository.
82852         * scripts/config.sub: Likewise.
82854 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82856         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82857         (EM_NUM): Update.
82858         (R_TILEPRO_*, R_TILEGX_*): New macros.
82860         * scripts/firstversions.awk: Fix bug in version range handling.
82862         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82864         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82866         * include/sys/epoll.h: New file.
82867         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82868         libc_hidden_def.
82870 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82872         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82873         Avoid unnecessary __WORDSIZE == 64 test.
82874         (fmaxf): Use VEX format if possible.
82875         (fmax): Likewise.
82876         (fminf): Likewise.
82877         (fmin): Likewise.
82879         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82880         * math/math_private.h: Remove libc_fegetround* and
82881         libc_fesetround*.
82882         * sysdeps/i386/configure.in: Check for -msse2avx.
82883         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82884         also if SSE2AVX is defined.
82885         Remove libc_fegetround* and libc_fesetround*.
82886         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82887         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82888         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82889         of HAS_YMM_USABLE.
82890         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82891         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82892         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82893         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82894         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82896         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82898 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82900         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82901         size is not set.
82902         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82904 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82906         [BZ #13618]
82907         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82908         relocation.
82909         * Makeconfig (libm): Define.
82910         * elf/Makefile: Add rules to build and run tst-relsort1.
82911         * elf/tst-relsort1.c: New file.
82912         * elf/tst-relsort1mod1.c: New file.
82913         * elf/tst-relsort1mod2.c: New file.
82915 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82917         * math/s_ldexp.c: Remove __STDC__ conditionals.
82918         * math/s_ldexpf.c: Likewise.
82919         * math/s_ldexpl.c: Likewise.
82920         * math/s_nextafter.c: Likewise.
82921         * math/s_nexttowardf.c: Likewise.
82922         * math/s_significand.c: Likewise.
82923         * math/s_significandf.c: Likewise.
82924         * math/s_significandl.c: Likewise.
82925         * math/w_jnl.c: Likewise.
82926         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82927         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82928         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82929         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82930         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82932         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82933         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82934         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82935         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82936         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82938         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82939         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82940         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82941         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82942         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82943         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82945         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82946         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82947         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82948         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82949         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82950         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82951         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82952         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82953         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82954         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82955         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82956         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82957         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82958         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82959         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82960         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82961         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82962         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82963         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82964         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82965         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82966         * sysdeps/ieee754/k_standard.c: Likewise.
82967         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82968         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82969         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82970         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82971         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82972         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82974         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82975         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82976         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82977         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82980         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82981         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82985         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82986         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82987         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82988         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82989         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82990         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82991         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82992         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82997         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82998         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82999         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83000         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83002         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83003         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83005         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83006         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83007         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83009         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83010         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83011         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83014         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83015         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83016         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83017         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83020         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83022         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83023         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83024         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83025         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83026         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83027         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83028         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83029         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83030         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83031         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83032         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83033         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83034         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83036         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83037         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83038         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83039         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83040         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83041         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83042         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83043         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83044         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83045         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83046         * sysdeps/ieee754/s_matherr.c: Likewise.
83047         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83048         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83049         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83052 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83054         * crypt/md5.h: Remove __STDC__ conditionals.
83055         * libio/libioP.h: Likewise.
83056         * locale/programs/config.h: Likewise.
83057         * sysdeps/generic/sysdep.h: Likewise.
83058         * sysdeps/i386/asm-syntax.h: Likewise.
83059         * sysdeps/s390/asm-syntax.h: Likewise.
83060         * sysdeps/unix/sysdep.h: Likewise.
83061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83064 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83066         * libio/libio.h: Remove __STDC__ conditionals.
83067         * malloc/obstack.h: Likewise.
83068         * math/complex.h: Likewise.
83069         * math/math.h: Likewise.
83070         * sysdeps/generic/_G_config.h: Likewise.
83071         * sysdeps/gnu/_G_config.h: Likewise.
83072         * sysdeps/mach/hurd/_G_config.h: Likewise.
83073         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83074         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83075         * sysdeps/sparc/bits/mathdef.h: Likewise.
83077 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83079         [BZ #13583]
83080         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83081         Clean up HAS_* macros.
83082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83083         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83084         possible.
83085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83086         HAS_AVX.
83087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83088         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83089         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83090         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83091         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83093 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83095         * elf/tst-unique3.cc (gets): Remove declaration.
83096         * elf/tst-unique3lib.cc (gets): Likewise.
83097         * elf/tst-unique3lib2.cc (gets): Likewise.
83098         * elf/tst-unique4.cc (gets): Likewise.
83100 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83102         * include/stdio.h: Add C++ protection.  Add gets declarations and
83103         definitions.
83104         * debug/tst-chk1.c: Don't declare gets here.
83105         * stdio-common/tst-gets.c: Likewise.
83107 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83109         * posix/glob: Remove directory.
83111 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83113         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83115 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83117         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83118         of the non-standard EPFNOSUPPORT.
83120 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83122         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83123         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83124         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83126 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83128         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83130 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83132         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83133         transient errors.
83134         * nscd/grpcache.c (cache_addgr): Likewise.
83135         * nscd/hstcache.c (cache_addhst): Likewise.
83136         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83137         * nscd/pwdcache.c (cache_addpw): Likewise.
83138         * nscd/servicescache.c (cache_addserv): Likewise.
83140 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83142         * malloc/malloc.c: Various cleanups.
83143         * malloc/hooks.c: Likewise.
83145         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83146         * stdlib/bug-fmtmsg1.c: New file.
83148         * stdlib/fmtmsg.c (init): Add missing unlock.
83149         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83151 2012-01-12  Marek Polacek  <polacek@redhat.com>
83153         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83154         and _GNU_SOURCE.
83156 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83158         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83159         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83160         macro to ensure uniqueness of label name.
83161         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83162         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83164 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83166         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83169         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83173 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83175         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83177         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83178         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83179         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83181         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83183         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83184         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83185         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83188         * math/bits/math-finite.h: Add ldexp support.
83190 2012-01-10  Marek Polacek  <polacek@redhat.com>
83192         * locale/programs/localedef.h (show_archive_content): Add noreturn
83193         attribute.
83195 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83197         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83199 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83201         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83203         * io/Makefile (headers): Add bits/poll2.h.
83205 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83208         typo #include statement.
83210 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83212         * include/sys/cdefs.h: Define __attribute_alloc_size.
83213         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83214         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83215         * elf/pldd.c: Likewise.
83216         * iconv/iconv_charmap.c: Likewise.
83217         * iconv/iconvconfig.c: Likewise.
83218         * iconv/strtab.c: Likewise.
83219         * locale/programs/locale.c: Likewise.
83220         * locale/programs/localedef.h: Likewise.
83221         * locale/programs/simple-hash.c: Likewise.
83222         * nscd/nscd.h: Likewise.
83223         * nss/makedb.c: Likewise.
83224         * sysdeps/generic/ldconfig.h: Likewise.
83225         * locale/programs/localedef.c: Remove xmalloc prototype.
83226         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83228 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83230         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83231         appropriate.
83233 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83235         * math/Makefile (tests): Add tst-CMPLX.
83236         * math/tst-CMPLX.c: New file.
83238         * math/complex.h (CMPLXL): Fix typo.
83240         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83241         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83242         GLIBC_2.16.
83243         * debug/tst-chk1.c: Add poll and ppoll tests.
83244         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83245         * include/sys/poll.h: Add hidden proto for ppoll.
83246         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83247         * sysdeps/mach/hurd/ppoll.c: Likewise.
83248         * io/ppoll.c: Likewise.
83249         * debug/poll_chk.c: New file.
83250         * debug/ppoll_chk.c: New file.
83251         * include/bits/poll2.h: New file.
83252         * io/bits/poll2.h: New file.
83254         [BZ #1350]
83255         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83257         * configure.in: static is always set to yes.  Remove.
83258         * config.make.in: Don't set build-static.
83259         * Makeconfig: Remove use of build-static.
83260         * dlfcn/Makefile: Likewise.
83261         * elf/Makefile: Likewise.
83262         * math/Makefile: Likewise.
83263         * misc/Makefile: Likewise.
83264         * nptl/Makefile: Likewise.
83265         * sysdeps/mach/hurd/Makefile: Likewise.
83267         * configure.in: PWD_P is not used anymore.
83268         * config.make.in: Remove PWD_P entry.
83270         * configure.in: Remove last remnants of RANLIB.
83271         No need to check for signed size_t anymore.
83272         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83273         and IA-64.
83274         Remove __builtin_expect test because we require at least gcc 3.4.
83275         * aclocal.m4: Likewise.
83277         * wcsmbs/mbrtoc16.c: Implement using towc function.
83278         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83279         * wcsmbs/wcsmbsload.c: Likewise.
83280         * iconv/gconv_simple.c: Likewise.
83281         * iconv/gconv_int.h: Likewise.
83282         * iconv/gconv_builtin.h: Likewise.
83283         * iconv/iconv_prog.c: Remove CHAR16 handling.
83285         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83287         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83289         * configure.in: Remove --with-elf and --enable-bounded options.
83290         Dont set base_machine for ia64.  More non-ELF conditions removed.
83291         Remove testing and setting of leading underscore information.
83292         * config.make.in (build-bounded): Set to no.
83293         * config.h.in: Remove NO_UNDERSCORES entry.
83294         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83295         them.
83296         * csu/start.c: Remove !NO_UNDERSCORE code.
83297         * locale/localeinfo.h: Likewise.
83298         * sysdeps/generic/machine-gmon.h: Likewise.
83299         * sysdeps/generic/sysdep.h: Likewise.
83300         * sysdeps/i386/sysdep.h: Likewise.
83301         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83302         * sysdeps/mach/sysdep.h: Likewise.
83303         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83305         * sysdeps/sh/sysdep.h: Likewise.
83306         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83307         * sysdeps/unix/i386/sysdep.S: Likewise.
83308         * sysdeps/unix/sparc/start.c: Likewise.
83309         * sysdeps/unix/sparc/sysdep.S: Likewise.
83310         * sysdeps/unix/sparc/sysdep.h: Likewise.
83311         * sysdeps/unix/start.c: Likewise.
83312         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83313         * sysdeps/x86_64/sysdep.h: Likewise.
83315 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83317         [BZ #13553]
83318         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83319         for non-gcc.
83320         * argp/argp-fmtstream.h: Use const instead __const.
83321         * argp/argp.h: Likewise.
83322         * assert/assert.h: Likewise.
83323         * bits/fenv.h: Likewise.
83324         * bits/sched.h: Likewise.
83325         * bits/sigset.h: Likewise.
83326         * bits/sigthread.h: Likewise.
83327         * catgets/nl_types.h: Likewise.
83328         * conform/data/pthread.h-data: Likewise.
83329         * crypt/crypt-private.h: Likewise.
83330         * crypt/crypt.h: Likewise.
83331         * crypt/crypt_util.c: Likewise.
83332         * ctype/ctype.h: Likewise.
83333         * debug/execinfo.h: Likewise.
83334         * debug/mbsnrtowcs_chk.c: Likewise.
83335         * debug/mbsrtowcs_chk.c: Likewise.
83336         * debug/wcsnrtombs_chk.c: Likewise.
83337         * debug/wcsrtombs_chk.c: Likewise.
83338         * debug/wcstombs_chk.c: Likewise.
83339         * dirent/dirent.h: Likewise.
83340         * dlfcn/dlfcn.h: Likewise.
83341         * elf/neededtest4.c: Likewise.
83342         * grp/grp.h: Likewise.
83343         * gshadow/gshadow.h: Likewise.
83344         * iconv/gconv.h: Likewise.
83345         * iconv/gconv_int.h: Likewise.
83346         * iconv/gconv_simple.c: Likewise.
83347         * iconv/iconv.h: Likewise.
83348         * iconv/loop.c: Likewise.
83349         * iconv/skeleton.c: Likewise.
83350         * include/aio.h: Likewise.
83351         * include/aliases.h: Likewise.
83352         * include/argz.h: Likewise.
83353         * include/arpa/inet.h: Likewise.
83354         * include/assert.h: Likewise.
83355         * include/dirent.h: Likewise.
83356         * include/dlfcn.h: Likewise.
83357         * include/execinfo.h: Likewise.
83358         * include/fcntl.h: Likewise.
83359         * include/fenv.h: Likewise.
83360         * include/glob.h: Likewise.
83361         * include/grp.h: Likewise.
83362         * include/libintl.h: Likewise.
83363         * include/mntent.h: Likewise.
83364         * include/netdb.h: Likewise.
83365         * include/pwd.h: Likewise.
83366         * include/rpc/netdb.h: Likewise.
83367         * include/sched.h: Likewise.
83368         * include/search.h: Likewise.
83369         * include/shadow.h: Likewise.
83370         * include/signal.h: Likewise.
83371         * include/stdio.h: Likewise.
83372         * include/stdlib.h: Likewise.
83373         * include/string.h: Likewise.
83374         * include/sys/socket.h: Likewise.
83375         * include/sys/stat.h: Likewise.
83376         * include/sys/statfs.h: Likewise.
83377         * include/sys/statvfs.h: Likewise.
83378         * include/sys/syslog.h: Likewise.
83379         * include/sys/time.h: Likewise.
83380         * include/sys/uio.h: Likewise.
83381         * include/time.h: Likewise.
83382         * include/unistd.h: Likewise.
83383         * include/utmp.h: Likewise.
83384         * include/wchar.h: Likewise.
83385         * include/wctype.h: Likewise.
83386         * inet/aliases.h: Likewise.
83387         * inet/arpa/inet.h: Likewise.
83388         * inet/netinet/ether.h: Likewise.
83389         * inet/netinet/in.h: Likewise.
83390         * intl/libintl.h: Likewise.
83391         * io/bits/fcntl2.h: Likewise.
83392         * io/fcntl.h: Likewise.
83393         * io/ftw.h: Likewise.
83394         * io/sys/poll.h: Likewise.
83395         * io/sys/stat.h: Likewise.
83396         * io/sys/statfs.h: Likewise.
83397         * io/sys/statvfs.h: Likewise.
83398         * io/utime.h: Likewise.
83399         * libio/bits/stdio.h: Likewise.
83400         * libio/bits/stdio2.h: Likewise.
83401         * libio/libio.h: Likewise.
83402         * libio/libioP.h: Likewise.
83403         * libio/stdio.h: Likewise.
83404         * locale/lc-ctype.c: Likewise.
83405         * locale/locale.h: Likewise.
83406         * login/utmp.h: Likewise.
83407         * malloc/arena.c: Likewise.
83408         * malloc/malloc.c: Likewise.
83409         * malloc/malloc.h: Likewise.
83410         * malloc/mcheck.c: Likewise.
83411         * malloc/mtrace.c: Likewise.
83412         * math/bits/mathcalls.h: Likewise.
83413         * math/fenv.h: Likewise.
83414         * math/math_private.h: Likewise.
83415         * misc/bits/error.h: Likewise.
83416         * misc/bits/syslog.h: Likewise.
83417         * misc/err.h: Likewise.
83418         * misc/error.h: Likewise.
83419         * misc/fstab.h: Likewise.
83420         * misc/mntent.h: Likewise.
83421         * misc/regexp.h: Likewise.
83422         * misc/search.h: Likewise.
83423         * misc/sgtty.h: Likewise.
83424         * misc/sys/mman.h: Likewise.
83425         * misc/sys/syslog.h: Likewise.
83426         * misc/sys/uio.h: Likewise.
83427         * misc/sys/xattr.h: Likewise.
83428         * misc/ttyent.h: Likewise.
83429         * nis/rpcsvc/ypclnt.h: Likewise.
83430         * nss/nss.h: Likewise.
83431         * posix/bits/unistd.h: Likewise.
83432         * posix/fnmatch.h: Likewise.
83433         * posix/glob.h: Likewise.
83434         * posix/sched.h: Likewise.
83435         * posix/spawn.h: Likewise.
83436         * posix/sys/wait.h: Likewise.
83437         * posix/unistd.h: Likewise.
83438         * posix/wordexp.h: Likewise.
83439         * pwd/pwd.h: Likewise.
83440         * resolv/netdb.h: Likewise.
83441         * resource/sys/resource.h: Likewise.
83442         * rt/aio.h: Likewise.
83443         * rt/bits/mqueue2.h: Likewise.
83444         * rt/mqueue.h: Likewise.
83445         * shadow/shadow.h: Likewise.
83446         * signal/signal.h: Likewise.
83447         * socket/send.c: Likewise.
83448         * socket/sendto.c: Likewise.
83449         * socket/sys/socket.h: Likewise.
83450         * stdio-common/printf.h: Likewise.
83451         * stdlib/bits/stdlib.h: Likewise.
83452         * stdlib/fmtmsg.h: Likewise.
83453         * stdlib/monetary.h: Likewise.
83454         * stdlib/stdlib.h: Likewise.
83455         * stdlib/ucontext.h: Likewise.
83456         * streams/stropts.h: Likewise.
83457         * string/argz.h: Likewise.
83458         * string/bits/string2.h: Likewise.
83459         * string/string.h: Likewise.
83460         * string/strings.h: Likewise.
83461         * sunrpc/rpc/auth.h: Likewise.
83462         * sunrpc/rpc/auth_des.h: Likewise.
83463         * sunrpc/rpc/clnt.h: Likewise.
83464         * sunrpc/rpc/netdb.h: Likewise.
83465         * sunrpc/rpc/pmap_clnt.h: Likewise.
83466         * sunrpc/rpc/xdr.h: Likewise.
83467         * sysdeps/generic/inttypes.h: Likewise.
83468         * sysdeps/generic/net/if.h: Likewise.
83469         * sysdeps/generic/sys/swap.h: Likewise.
83470         * sysdeps/gnu/net/if.h: Likewise.
83471         * sysdeps/gnu/utmpx.h: Likewise.
83472         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83473         * sysdeps/i386/i486/bits/string.h: Likewise.
83474         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83475         * sysdeps/s390/bits/string.h: Likewise.
83476         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83477         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83478         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83479         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83480         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83481         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83482         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83483         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83484         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83485         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83486         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83487         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83488         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83489         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83490         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83491         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83492         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83494         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83496         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83497         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83498         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83499         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83500         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83501         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83502         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83503         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83504         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83505         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83506         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83507         * sysvipc/sys/ipc.h: Likewise.
83508         * sysvipc/sys/msg.h: Likewise.
83509         * sysvipc/sys/sem.h: Likewise.
83510         * sysvipc/sys/shm.h: Likewise.
83511         * termios/termios.h: Likewise.
83512         * time/sys/time.h: Likewise.
83513         * time/time.h: Likewise.
83514         * wcsmbs/bits/wchar2.h: Likewise.
83515         * wcsmbs/uchar.h: Likewise.
83516         * wcsmbs/wchar.h: Likewise.
83517         * wctype/wctype.h: Likewise.
83519         [BZ #13551]
83520         * Makeconfig: Remove all but ELF support including AIX support.
83521         * Makerules: Likewise.
83522         * config.h.in: Likewise.
83523         * config.make.in: Likewise.
83524         * configure: Likewise.
83525         * configure.in: Likewise.
83526         * csu/Makefile: Likewise.
83527         * csu/version.c: Likewise.
83528         * debug/Makefile: Likewise.
83529         * dlfcn/Makefile: Likewise.
83530         * elf/Makefile: Likewise.
83531         * extra-lib.mk: Likewise.
83532         * iconv/Makefile: Likewise.
83533         * include/libc-symbols.h: Likewise.
83534         * include/shlib-compat.h: Likewise.
83535         * resolv/Makefile: Likewise.
83536         * resolv/res_libc.c: Likewise.
83537         * rt/Makefile: Likewise.
83538         * sysdeps/i386/asm-syntax.h: Likewise.
83539         * sysdeps/i386/sysdep.h: Likewise.
83540         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83541         * sysdeps/mach/sysdep.h: Likewise.
83542         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83543         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83544         * sysdeps/s390/asm-syntax.h: Likewise.
83545         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83546         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83547         * sysdeps/sh/sysdep.h: Likewise.
83548         * sysdeps/unix/sparc/sysdep.h: Likewise.
83549         * sysdeps/wordsize-32/divdi3.c: Likewise.
83550         * sysdeps/x86_64/sysdep.h: Likewise.
83552         * argp/Versions: Remove _argp_unlock_xxx.
83554         [BZ #13559]
83555         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83556         * abilist/libBrokenLocale.abilist: Likewise.
83557         * abilist/libanl.abilist: Likewise.
83558         * abilist/libc.abilist: Likewise.
83559         * abilist/libcrypt.abilist: Likewise.
83560         * abilist/libdl.abilist: Likewise.
83561         * abilist/libm.abilist: Likewise.
83562         * abilist/libnsl.abilist: Likewise.
83563         * abilist/libpthread.abilist: Likewise.
83564         * abilist/libresolv.abilist: Likewise.
83565         * abilist/librt.abilist: Likewise.
83566         * abilist/libthread_db.abilist: Likewise.
83567         * abilist/libutil.abilist: Likewise.
83568         * abilist/libnss_db.abilist: New file.
83570         * scripts/abilist.awk: Add support for indirect functions.
83572         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83574         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83576         * shlib-versions: Remove entries for ports architectures.
83578         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83579         files in ports.
83580         * elf/stackguard-macros.h: Remove support for IA-64.
83581         * elf/tst-auditmod1.c: Likewise.
83582         * sysdeps/generic/ldsodefs.h: Likewise.
83584         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83585         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83586         configure files.
83588         [BZ #13552]
83589         * configure.in: Remove --enable-omitfp support.
83590         * FAQ.in: Adjust.
83591         * config.make.in: Likewise.
83592         * Makeconfig: Likewise.
83593         * manual/install.texi: Likewise.
83595         In case anyone cares, the IA-64 architecture could move to ports.
83596         * sysdeps/ia64/*: Removed.
83597         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83598         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83600         [BZ #13555]
83601         * configure.in: Remove entries for unsupported architectures.
83603         [BZ #13533]
83604         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83605         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83606         routines.
83607         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83608         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83609         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83610         fall back to using wcrtomb.
83611         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83612         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83613         renaming.
83614         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83615         * wcsmbs/tst-c16c32-1.c: New file.
83617         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83618         local variable.
83620         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83622         * elf/tst-unique3.cc: Add explicit declaration of gets.
83623         * elf/tst-unique3lib.cc: Likewise.
83624         * elf/tst-unique3lib2.cc: Likewise.
83625         * elf/tst-unique4.cc: Likewise.
83627         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83629 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83631         [BZ #13566]
83632         * assert/assert.h (static_assert): Don't define for C++.
83633         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83634         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83636 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83638         * iconv/loop.c (single loop): Fix assertion in storing of
83639         remaining bytes.
83641         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83643 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83645         * posix/getconf.c: Update copyright year.
83646         * nss/getent.c: Likewise.
83647         * nss/makedb.c: Likewise.
83648         * iconv/iconvconfig.c: Likewise.
83649         * iconv/iconv_prog.c: Likewise.
83650         * elf/ldconfig.c: Likewise.
83651         * elf/pldd.c: Likewise.
83652         * elf/sotruss.ksh: Likewise.
83653         * catgets/gencat.c: Likewise.
83654         * csu/version.c: Likewise.
83655         * elf/ldd.bash.in: Likewise.
83656         * elf/sprof.c (print_version): Likewise.
83657         * locale/programs/locale.c: Likewise.
83658         * locale/programs/localedef.c: Likewise.
83659         * login/programs/pt_chown.c: Likewise.
83660         * nscd/nscd.c (print_version): Likewise.
83661         * debug/xtrace.sh: Likewise.
83662         * malloc/memusage.sh: Likewise.
83663         * malloc/mtrace.pl: Likewise.
83664         * debug/catchsegv.sh: Likewise.
83666 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83668         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83669         pure attribute.
83671 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83673         [BZ #13533]
83674         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83675         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83676         transformations.
83677         * iconv/gconv_int.h: Likewise.
83678         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83679         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83680         from libc for GLIBC_2.16.
83681         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83682         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83683         * wcsmbs/uchar.h: Really define mbstate_t.
83684         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83685         * wcsmbs/c16rtomb.c: New file.
83686         * wcsmbs/mbrtoc16.c: New file.
83687         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83688         for C/POSIX locale.
83689         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83690         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83692         * wcsmbs/wchar.h: Add missing __restrict.
83694 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83696         [BZ #13532]
83697         * time/Makefile (routines): Add timespec_get.
83698         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83699         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83700         timespec for ISO C11.
83701         * time/timespec_get.c: New file.
83702         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83703         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83705         [BZ #13531]
83706         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83707         * stdlib/stdlib.h: Declare aligned_alloc.
83708         * Versions.def: Add GLIBC_2.16 for libc.
83709         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83711         [BZ 13527]
83712         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83713         ISO C11.
83715         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83716         code.
83718         [BZ #13528]
83719         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83721         [BZ #13529]
83722         * assert/assert.h (static_assert): Define.
83724         * version.h: Update for 2.16 development version.
83726         [BZ #13526]
83727         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83728         _ISOC11_SOURCE.
83730         * version.h (RELEASE): Bump for 2.15 release.
83731         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83733         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83734         Patch by Marek Polacek <mpolacek@redhat.com>.
83736         * bits/byteswap.h: Protect long long constants with __extension__.
83737         * sysdeps/i386/bits/byteswap.h: Likewise.
83738         * sysdeps/ia64/bits/byteswap.h: Likewise.
83739         * sysdeps/s390/bits/byteswap.h: Likewise.
83740         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83742 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83744         [BZ #13540]
83745         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83746         destination buffer.
83747         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83749 2011-12-23  Marek Polacek  <polacek@redhat.com>
83751         * elf/dl-addr.c (determine_info): Add inline keyword.
83752         * elf/tst-auditmod4b.c (check_avx): Likewise.
83753         * elf/tst-auditmod6b.c (check_avx): Likewise.
83754         * elf/tst-auditmod6c.c (check_avx): Likewise.
83755         * elf/tst-auditmod7b.c (check_avx): Likewise.
83757 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83759         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83760         !__SSE_MATH__.
83762 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83764         [BZ #13540]
83765         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83766         processing for last bytes.
83768 2011-08-06  Bruno Haible  <bruno@clisp.org>
83770         [BZ #13061]
83771         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83772         U+0385, not to U+1FEE.
83774         [BZ #13062]
83775         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83776         entry for U+00A5 U+0301.
83778 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83780         [BZ #13166]
83781         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83782         buffer for the output is too small.
83784         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83785         optimization.
83787         [BZ #13185]
83788         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83789         SSE flags if possible.
83791 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83793         [BZ #13540]
83794         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83795         processing for last bytes.
83797 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83799         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83800         (syscall-list-default-options, syscall-list-default-condition)
83801         (syscall-list-includes): Define.
83802         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83803         list of ABIs and options and #if conditions for each ABI.  Do not
83804         handle common syscalls between ABIs specially.
83805         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83806         Remove.
83807         (syscall-list-variants, syscall-list-32bit-options)
83808         (syscall-list-32bit-condition, syscall-list-64bit-options)
83809         (syscall-list-64bit-condition): Define.
83810         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83811         (syscall-list-variants, syscall-list-32bit-options)
83812         (syscall-list-32bit-condition, syscall-list-64bit-options)
83813         (syscall-list-64bit-condition): Define.
83814         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83815         Remove.
83816         (syscall-list-variants, syscall-list-32bit-options)
83817         (syscall-list-32bit-condition, syscall-list-64bit-options)
83818         (syscall-list-64bit-condition): Define.
83819         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83820         Remove.
83821         (syscall-list-variants, syscall-list-32bit-options)
83822         (syscall-list-32bit-condition, syscall-list-64bit-options)
83823         (syscall-list-64bit-condition): Define.
83825 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83827         * locale/iso-639.def: Add brx entry.
83829         [BZ #13328]
83830         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83831         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83833         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83834         __feraiseexcept_renamed.
83836 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83838         [BZ #13538]
83839         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83840         EPOLLET with unsigned values.
83841         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83842         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83844         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83845         to large cancellation.
83846         * math/s_cacoshf.c: Likewise.
83847         * math/s_cacoshl.c: Likewise.
83849 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83851         [BZ #13305]
83852         [BZ #12786]
83853         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83854         * math/s_cacoshf.c: Likewise.
83855         * math/s_cacoshl.c: Likewise.
83857 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83859         [BZ #13439]
83860         * iconv/gconv.h: Define __GCONV_SWAP.
83861         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83862         * iconvdata/utf-16.c: Likewise.
83863         * iconvdata/utf-32.c: Likewise.
83865 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83867         [BZ #13524]
83868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83869         numerator after shifting it by one limb.
83871 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83873         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83874         under [__USE_EXTERN_INLINES].
83876 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83878         [BZ #13446]
83879         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83881 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83883         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83884         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83885         optimized code.
83886         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83887         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83888         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83889         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83890         for strncasecmp/strncasecmp_l compilation.
83891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83892         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83894 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83896         [BZ #13484]
83897         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83898         of __asm__.
83900 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83902         [BZ #13506]
83903         * time/tzfile.c (__tzfile_read): Check values from file header.
83905 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83907         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83908         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83909         * powerpc/powerpc32/dl-start.S: Likewise.
83910         * powerpc/powerpc32/elf/start.S: Likewise.
83911         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83912         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83913         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83914         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83915         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83916         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83917         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83918         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83919         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83920         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83921         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83922         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83923         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83924         * powerpc/powerpc32/memset.S: Likewise.
83925         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83926         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83927         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83928         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83929         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83930         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83931         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83932         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83933         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83934         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83935         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83936         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83937         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83939 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83941         * math/libm-test.inc: Added more nearbyint tests.
83942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83944         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83947 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83949         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83950         FD_CLOEXEC.
83952 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83954         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83955         Add wcscpy-ssse3 wcscpy-c.
83956         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83957         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83958         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83959         * sysdeps/x86_64/wcschr.S: New file.
83960         * sysdeps/x86_64/wcsrchr.S: New file.
83961         * string/test-strcmp.c: Remove checking of wcscmp function for
83962         wrong alignments.
83963         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83964         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83965         wcsrchr-sse2 wcsrchr-c.
83966         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83967         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83968         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83969         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83970         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83971         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83972         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83973         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83974         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83975         * wcsmbc/wcschr.c (WCSCHR): New macro.
83977 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83979         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83980         * wcsmbs/test-wcsrchr.c: New file.
83981         * string/test-strrchr.c: Add wcsrchr support.
83982         (WIDE): New macro.
83983         * wcsmbs/test-wcscpy.c: New file.
83984         * string/test-strcpy.c: Add wcscpy support.
83985         (WIDE): New macro.
83987 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83990         the inner loop.
83992 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83994         [BZ #13472]
83995         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83997 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84000         Minor optimizations.
84002         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84003         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84004         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84006 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84008         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84009         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84010         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84011         for gcc to avoid warnings.
84012         * inet/Makefile (tests): Add tst-checks.
84013         * inet/tst-checks.c: New file.
84015         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84016         warning.
84018         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84019         __wmemcmp_sse2.
84021         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84022         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84024         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84026 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84028         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84029         problem.
84031         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84033 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84035         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84036         conditional on GCC version.
84037         (__arch_compare_and_exchange_val_8_acq)
84038         (__arch_compare_and_exchange_val_16_acq)
84039         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84040         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84041         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84043 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84045         * sysdeps/sh/backtrace.c: New file.
84047 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84049         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84050         parenthesis.
84052 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84054         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84055         falling back to utime.
84057 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84059         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84060         expectations for float.
84062 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84064         * locale/weight.h (findidx): Add parameter len.
84065         * locale/weightwc.h (findidx): Likewise.
84066         * posix/fnmatch_loop.c (FCT): Adjust caller.
84067         * posix/regcomp.c (build_equiv_class): Likewise.
84068         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84069         * posix/regexec.c (check_node_accept_bytes): Likewise.
84070         * string/strcoll_l.c (STRCOLL): Likewise.
84071         * string/strxfrm_l.c (STRXFRM): Likewise.
84073 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84075         * Makefile.in: Remove CVSOPT handling.
84076         * configure.in: Remove use of AC_REVISION.
84077         * iconvdata/Makefile (distribute): No need to filter out CVS.
84078         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84079         handling.
84081 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84084         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84085         [USE_AS_STRNCASECMP_L]: Likewise.
84086         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84087         NO_TLS_DIRECT_SEG_REFS.
84088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84089         Fix argument offsets for non-PIC.
84090         [USE_AS_STRNCASECMP_L]: Likewise.
84091         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84092         NO_TLS_DIRECT_SEG_REFS.
84094 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84096         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84097         O_CLOEXEC.
84098         * locale/loadlocale.c (_nl_load_locale): Likewise.
84100 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84102         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84103         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84104         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84105         (SYSCALL_GETTIME): Set errno on error.
84107         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84108         count references to noai6ai_cached.
84110 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84112         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84114         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84115         FD_CLOEXEC for /proc/self/maps.
84117         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84118         FD_CLOEXEC for /proc/meminfo.
84120         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84121         gai.conf.
84123         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84124         FD_CLOEXEC for given file.
84126         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84128         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84129         FD_CLOEXEC for /etc/hosts.
84130         (_gethtent): Likewise.
84132         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84134         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84135         cancellation and set FD_CLOEXEC for /etc/netgroup.
84137         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84138         reading /etc/publickey.
84140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84141         allow cancellation when reading /etc/group.
84143         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84144         cancellation.
84145         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84147         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84148         when using data file.
84150         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84152         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84153         (write_nis_obj): Use "c" and "e" in fopen.
84155         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84157         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84159         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84161         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84163         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84164         locale.alias.
84166         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84168         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84170         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84172         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84173         file parsing and set FD_CLOEXEC.
84175 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84177         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84179 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84181         * malloc/arena.c (arena_get2): Don't call reused_arena when
84182         _int_new_arena failed.
84184 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84186         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84187         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84188         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84189         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84190         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84192         to compile strcasecmp and strncasecmp.
84193         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84194         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84196         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84198 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84200         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84201         locale-defines.sym to gen-as-const-headers.
84202         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84203         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84205         to compile strcasecmp and strncasecmp.
84206         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84207         strcasecmp_l and strncasecmp_l.
84208         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84209         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84210         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84211         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84212         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84213         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84214         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84215         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84216         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84217         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84218         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84220 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84222         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84223         result of SYSDEP_GETTIME_CPU to retval.
84224         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84225         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84227         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84228         variable.
84230         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84231         mantissa words.
84232         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84234         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84235         from unused variable.
84237         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84238         DWARF definitions.
84239         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84240         for assembling.
84242         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84243         over namespaces.
84245         * sunrpc/rpc_prot.c (rejected): Fix case value.
84247         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84248         unsigned long long int to avoid warnings in shift.
84250         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84251         of use of trans.
84252         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84253         variable tmp.
84255         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84256         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84257         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84259         * nis/nis_table.c (nis_list): Use variable of correct type for
84260         result of __follow_path call.
84262 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84264         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84265         of math functions ceil, trunc, floor, round, and sqrt, when
84266         avaliable on the platform.
84267         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84268         name clash.
84269         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84270         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84271         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84273 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84275         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84276         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84278 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84280         * include/unistd.h: Fix __readlink return type.
84281         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84283 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84285         * stdlib/ucontext.h: Undo last change for makecontext.
84287 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84289         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84291         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84292         * setjmp/setjmp.h: Mark functions as non-leaf.
84293         * setjmp/bits/setjmp2.h: Likewise.
84294         * stdlib/ucontext.h: Likewise.
84296 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84298         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84299         (reused_arena): Don't check arena limit.
84300         (arena_get2): Atomically check arena limit.
84302 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84304         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84305         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84308         instructions.
84310 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84312         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84313         handler when locking.
84315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84316         Fix size of allocated buffer.
84318 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84320         [BZ #10103]
84321         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84322         declarations for long double functions.
84323         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84325         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84327 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84329         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84330         installed.
84332         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84333         is disabled.
84335 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84337         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84339 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84341         * include/alloca.h (stackinfo_alloca_round): Define.
84342         (extend_alloca): Use it.
84343         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84344         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84345         here.
84347         * scripts/check-local-headers.sh: Ignore libaudit.h.
84349         * nscd/Makefile (extra-objs): Make recursively expanded.
84351 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84353         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84354         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84356         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84357         * posix/tst-rfc3484-2.c: Likewise.
84358         * posix/tst-rfc3484-3.c: Likewise.
84360         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84361         process_vm_writev.
84362         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84363         process_vm_writev.
84364         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84365         process_vm_writev from libc using GLIBC_2.15 version.
84367         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84369 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84371         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84372         stack usage.
84374 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84376         [BZ #13367]
84377         * nss/getent.c (initgroups_keys): Show error message in case no group
84378         names are given.
84380         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84381         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84382         __bump_nl_timestamp.
84383         * nscd/connections (nscd_init): When host database is served open
84384         netlink socket and request notification about configuration changes.
84385         (main_loop_poll): Track netlink file descriptor and bump timestamp
84386         in case data becomes available.
84387         (main_loop_epoll): Likewise.
84388         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84389         (database_pers_head): Add extra_data fileds.
84390         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84391         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84392         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84393         Adjust caller.
84394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84395         in6ai data, call __free_in6ai.
84396         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84397         Add -DHAVE_NETLINK.
84398         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84399         interface information.  Reuse previous data if netlink timestamp
84400         is not changed.
84401         (__bump_nl_timestamp): New function.
84402         (__free_in6ai): New function.
84404 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84407         close_not_cancel_no_status here.
84408         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84410 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84412         [BZ #13276]
84413         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84414         return value.
84416         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84417         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84418         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84420 2011-07-03  Andreas Jaeger  <aj@suse.de>
84422         [BZ #10709]
84423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84424         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84425         * math/libm-test.inc (sin_test): Add test case.
84427 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84429         [BZ #13337]
84430         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84431         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84433         * elf/chroot_canon.c (chroot_canon): Cleanups.
84435         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84437         [BZ #13335]
84438         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84439         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84441         * string/test-strchr.c: Make usable for strchrnul testing.
84442         * string/test-strchrnul.c: New file.
84443         * string/Makefile (strop-tests): Add strchrnul.
84445         * po/it.po: Update from translation team.
84446         * po/es.po: Likewise.
84448 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84450         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84451         the three constants needed as parameters.  Drop the others.
84452         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84453         __m128i_strloadu_tolower.
84454         Create and initialize variable zero and use it in all the places
84455         where _mm_setzero_si128 was used.
84457         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84458         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84459         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84460         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84461         anymore.
84462         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84463         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84464         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84465         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84466         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84467         __mpranred, __mptan.
84468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84472         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84473         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84474         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84475         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84476         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84478 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84480         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84481         redefine if SHARED.
84482         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84485         wide char related routines to wcsmbs subdir.
84487 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84489         [BZ #13344]
84490         * misc/sys/cdefs.h (__THROWNL): Define.
84491         * posix/unistd.h: Use __THREADNL instead of __THREAD
84492         for memory synchronization functions.
84494 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84496         [BZ #13349]
84497         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84498         doesn't exist.
84499         * manual/stdio.texi (Obstack Streams): Node removed.
84501 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84503         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84504         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84505         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84507         * math/math_private.h (math_force_eval): Allow non-addressable
84508         arguments.
84509         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84511 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84513         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84514         file is not needed.
84516         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84517         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84518         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84519         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84520         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84521         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84522         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84523         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84524         Add AVX variants.
84525         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84526         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84527         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84528         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84529         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84530         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84531         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84532         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84533         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84534         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84535         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84536         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84537         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84538         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84539         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84540         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84541         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84542         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84543         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84545         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84546         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84548         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84549         place.  Use VEX encoding when compiling for AVX.
84551 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84553         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84554         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84556         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84558 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84560         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84561         useless if() expression.
84562         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84563         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84565         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84566         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84567         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84568         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84569         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84572         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84573         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84574         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84575         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84576         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84577         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84578         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84579         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84580         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84582         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84584 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84586         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84587         condition.
84588         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84590 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84592         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84593         .text section.  Avoid duplicate constants.
84594         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84596         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84599         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84602         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84603         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84604         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84605         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84606         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84607         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84608         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84609         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84610         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84611         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84612         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84614         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84615         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84616         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84617         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84618         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84619         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84620         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84622         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84623         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84624         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84625         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84626         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84627         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84628         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84629         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84630         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84631         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84632         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84633         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84634         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84635         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84636         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84637         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84638         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84640 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84642         * sysdeps/x86_64/dla.h: Move to ...
84643         * sysdeps/x86_64/fpu/dla.h: ...here.
84644         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84645         situations.  Use __builtin_fma only for gcc 4.6 and up.
84647         * config.make.in: Add have-mfma4 entry.
84648         * configure.in: Substitute libc_cv_cc_fma4.
84649         * math/Makefile (dbl-only-routines): Add sincostab.
84650         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84651         Use __sincostab not sincos.
84652         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84653         name is a macro.
84654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84658         using __copysign.
84659         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84660         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84661         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84662         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84663         and __inv.
84664         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84665         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84666         __copysign.
84667         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84668         define aliases when function name is a macro.
84669         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84670         sysdeps/ieee754/dbl-64/sincos.tbl.
84671         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84672         fma4-enabled routines.
84673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84674         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84675         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84676         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84677         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84678         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84679         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84680         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84681         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84682         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84683         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84684         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84685         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84686         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84688         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84689         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84690         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84691         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84692         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84693         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84694         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84696         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84697         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84698         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84699         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84700         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84701         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84702         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84704         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84705         rename.
84706         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84711         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84712         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84713         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84715 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84717         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84721         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84723         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84724         prediction.
84725         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84727         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84728         Remove unused variable magic_bits.
84729         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84731         * string/strnlen.c: Define and use STRNLEN macro.
84732         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84733         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84735         * wcsmbs/wcslen.c: Define and use WCSLEN.
84736         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84737         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84738         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84739         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84740         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84741         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84742         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84744 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84747         strnlen-sse2-no-bsf.
84748         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84749         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84750         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84751         Add strnlen support.
84752         (USE_AS_STRNLEN): New macro.
84753         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84754         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84755         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84756         * sysdeps/x86_64/wcslen.S: New file.
84758 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84761         XMM-moves are used for copying on small sizes.
84763 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84765         * wcsmbs/Makefile (strop-tests): Add wcschr.
84766         * wcsmbs/test-wcschr.c: New file.
84767         * string/test-strchr.c: Update.
84768         Add wcschr support.
84769         (WIDE): New macro.
84771 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84773         * wcsmbs/Makefile (strop-tests): Add wcslen.
84774         * wcsmbs/test-wcslen.c: New file.
84775         * string/test-strlen.c: Update.
84776         Add wcslen support.
84777         (WIDE): New macro.
84779 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84781         * po/it.po: Update from translation team.
84783 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84785         * sysdeps/x86_64/wcscmp.S: Update.
84786         Fix wrong comparison semantics.
84787         wcscmp shall use signed comparison not unsigned.
84788         Don't use substraction to avoid overflow bug.
84789         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84790         * wcsmbc/wcscmp.c: Likewise.
84791         * string/test-strcmp.c: Likewise.
84792         Add new tests to check cases with negative values.
84794 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84796         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84797         * sysdeps/x86_64/dla.h: ...here.  New file.
84798         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84799         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84801         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84803         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84804         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84805         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84806         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84808 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84811         __ynl_finite aliases.
84813 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84817         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84818         define DLA_FMA.
84819         [DLA_FMA] (EMULV): Use DLA_FMA.
84820         [DLA_FMA] (MUL12): Use EMULV.
84821         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84822         that are not needed.
84823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84824         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84828         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84831 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84833         * math/s_nan.c: Undef __nan.
84834         * math/s_nanf.c: Undef __nanf.
84835         * math/s_nanl.c: Undef __nanl.
84836         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84837         "math_private.h".
84839 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84841         * math/s_catan.c: Add branch predictions.
84842         * math/s_catanf.c: Likewise.
84843         * math/s_catanh.c: Likewise.
84844         * math/s_catanhf.c: Likewise.
84845         * math/s_catanhl.c: Likewise.
84846         * math/s_catanl.c: Likewise.
84847         * math/s_cexp.c: Likewise.
84848         * math/s_cexpf.c: Likewise.
84849         * math/s_cexpl.c: Likewise.
84850         * math/s_clog.c: Likewise.
84851         * math/s_clog10.c: Likewise.
84852         * math/s_clog10f.c: Likewise.
84853         * math/s_clog10l.c: Likewise.
84854         * math/s_clogf.c: Likewise.
84855         * math/s_clogl.c: Likewise.
84856         * math/s_csqrt.c: Likewise.
84857         * math/s_csqrtf.c: Likewise.
84858         * math/s_csqrtl.c: Likewise.
84859         * math/s_ctanf.c: Likewise.
84860         * math/s_ctanh.c: Likewise.
84861         * math/s_ctanhf.c: Likewise.
84862         * math/s_ctanhl.c: Likewise.
84863         * math/s_ctanl.c: Likewise.
84865         * math/math_private.h: Define __nan, __nanf, __nanl.
84866         * math/s_cacosh.c: Include <math_private.h>.
84867         * math/s_cacoshl.c: Likewise.
84868         * math/s_casinh.c: Likewise.
84869         * math/s_casinhf.c: Likewise.
84870         * math/s_casinhl.c: Likewise.
84871         * math/s_ccos.c: Rely entire on ccosh.
84872         * math/s_ccosf.c: Rely entire on ccoshf.
84873         * math/s_ccosl.c: Rely entirely on ccoshl.
84874         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84875         Remove tests for FE_INVALID.
84876         * math/s_ccoshf.c: Likewise.
84877         * math/s_ccoshl.c: Likewise.
84878         * math/s_csin.c: Likewise.
84879         * math/s_csinf.c: Likewise.
84880         * math/s_csinh.c Likewise.
84881         * math/s_csinhf.c: Likewise.
84882         * math/s_csinhl.c: Likewise.
84883         * math/s_csinl.c: Likewise.
84884         * math/s_ctan.c: Likewise.
84885         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84886         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84887         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84889 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84892         compilation problems.
84894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84895         __builtin_expect.
84897 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84899         * sysdeps/i386/configure.in: Test for -mfma4 option.
84900         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84901         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84902         COMMON_CPUID_INDEX_80000001.
84903         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84904         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84905         use it if FMA3 is not supported.
84906         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84908         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84909         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84911 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84913         [BZ #12892]
84914         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84915         it would create a cycle with a link time dependency.
84917 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84919         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84920         instruction.
84921         * string/Makefile (strop-tests): Add rawmemchr.
84922         * string/test-rawmemchr.c: New file.
84924         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84925         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84926         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84927         when compiling str{,n}casecmp and when AVX is available.  Hook up
84928         new optimized code in initializers.
84930 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84932         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84933         __feraiseexcept instead of feraiseexcept.
84935 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84937         * math/math_private.h: Define defaults for libc_fetestexcept and
84938         libc_feupdateenv.
84939         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84940         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84941         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84942         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84943         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84944         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84945         libc_fetestexcept and libc_feupdateenv.
84947         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84948         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84949         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84950         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84951         libc_feholdexcept_setround.
84953         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84954         Add s_nearbyint-c and s_nearbyintf-c.
84955         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84956         nearbyintf inlines.
84957         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84958         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84959         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84960         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84962         * math/math_private.h: Define defaults for libc_fegetround,
84963         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84964         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84965         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84966         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84967         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84968         standard functions.
84969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84970         Remove comments and hacks for old compiler versions.
84971         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84972         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84973         libc_feholdexceptl.
84975 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84977         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84978         (__feraiseexcept_renamed): Add __NTH.
84979         (feraiseexcept): Add __NTH.  Rename local variables to fix
84980         namespace violations.
84982 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84984         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84986         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84988         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84989         recently added interfaces.
84990         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84992         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84993         about macro parameter expansion.
84995         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84996         __NO_MATH_INLINES is defined.  Cleanups.
84998         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84999         and __floorf is target has SSE4.1.
85000         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85001         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85002         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85003         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85005         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85006         name.
85007         (floorf): Likewise.
85009         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85011 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85013         * misc/sys/cdefs.h: Fix last change.
85015         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85016         database lookup.
85018 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85020         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85022         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85023         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85024         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85025         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85026         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85027         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85028         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85029         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85030         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85031         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85032         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85033         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85034         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85035         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85036         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85037         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85038         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85039         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85040         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85041         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85042         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85043         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85045         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85046         ceil, ceilf, floor, floorf.
85048         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85049         Perform IRELATIVE relocations last.
85051         * elf/do-rel.h: Add another parameter nrelative, replacing the
85052         local variable with the same name.  Change name of the function
85053         to end in Rel or Rela (uppercase).
85054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85055         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85056         elf_dynamic_do_##reloc function.
85058 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85060         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85061         is sufficient, at least on modern CPUs.
85063         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85065         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85066         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85068         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85069         __expl_finite.
85070         * math/bits/math-finite.h: Add entries for exp.
85071         * math/e_expl.c: Add __*_finite alias.
85072         * sysdeps/i386/fpu/e_exp.S: Likewise.
85073         * sysdeps/i386/fpu/e_expf.S: Likewise.
85074         * sysdeps/i386/fpu/e_expl.c: Likewise.
85075         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85076         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85079         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85080         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85081         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85083         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85084         is sufficient, at least on modern CPUs.
85086         * ctype/ctype-info.c (__ctype_init): Define.
85087         * include/ctype.h (__ctype_init): Declare.
85088         (__ctype_b_loc): The variable is always initialized.
85089         (__ctype_toupper_loc): Likewise.
85090         (__ctype_tolower_loc): Likewise.
85091         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85092         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85094 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85096         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85098         * configure.in: Also look in $cxxmachine/include for C++ system
85099         headers.
85101 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85103         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85104         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85105         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85106         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85107         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85108         (USE_AS_WMEMCMP): New macro.
85109         Fixing indents.
85110         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85111         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85112         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85113         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85115         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85116         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85117         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85118         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85119         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85120         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85121         (USE_AS_WMEMCMP): New macro.
85122         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85123         * sysdeps/string/test-memcmp.c: Update.
85124         Fix simple_wmemcmp.
85125         Add new tests.
85126         * wcsmbs/wmemcmp.c: Update.
85127         (WMEMCMP): New macro.
85128         Fix overflow bug.
85130 2011-10-12  Andreas Jaeger  <aj@suse.de>
85132         [BZ #13268]
85133         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85135 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85137         * libio/iofwide.c (do_length): Avoid warning.
85139         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85141 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85143         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85145         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85146         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85147         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85148         * sysdeps/i386/i686/fpu/e_log.S: New file.
85149         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85150         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85152         * ctype/ctype.h: Add support for inlined isXXX functions when
85153         compiling C++ code.
85155 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85157         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85159         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85161 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85163         [BZ #13291]
85164         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85166 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85168         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85169         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85170         feraiseexcept.
85172         * sysdeps/x86_64/memrchr.S: Check for zero size.
85174         * string/stratcliff.c: Add memrchr tests.
85176 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85179         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85180         rawmemchr-sse2 rawmemchr-sse2-bsf.
85181         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85182         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85183         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85184         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85185         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85186         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85187         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85188         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85189         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85190         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85191         * string/memrchr.c (MEMRCHR): New macro.
85193 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85195         Add integration with gcc's -ffinite-math-only and optimize wrapper
85196         functions in libm.
85197         * Versions.def: Define GLIBC_2.15 version for libm.
85198         * math/Makefile (headers): Add bits/math-finite.h.
85199         * math/bits/math-finite.h: New file.
85200         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85201         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85202         * math/e_acoshl.c: Add __*_finite alias.
85203         * math/e_acosl.c: Likewise.
85204         * math/e_asinl.c: Likewise.
85205         * math/e_atan2l.c: Likewise.
85206         * math/e_atanhl.c: Likewise.
85207         * math/e_coshl.c: Likewise.
85208         * math/e_exp10.c: Likewise.
85209         * math/e_exp10f.c: Likewise.
85210         * math/e_exp10l.c: Likewise.
85211         * math/e_exp2l.c: Likewise.
85212         * math/e_fmodl.c: Likewise.
85213         * math/e_gammal_r.c: Likewise.
85214         * math/e_hypotl.c: Likewise.
85215         * math/e_j0l.c: Likewise.
85216         * math/e_j1l.c: Likewise.
85217         * math/e_jnl.c: Likewise.
85218         * math/e_lgammal_r.c: Likewise.
85219         * math/e_log10l.c: Likewise.
85220         * math/e_log2l.c: Likewise.
85221         * math/e_logl.c: Likewise.
85222         * math/e_powl.c: Likewise.
85223         * math/e_sinhl.c: Likewise.
85224         * math/e_sqrtl.c: Likewise.
85225         * math/e_scalb.c: Completely rewritten and optimized.
85226         * math/e_scalbf.c: Likewise.
85227         * math/e_scalbl.c: Likewise.
85228         * math/w_acos.c: Likewise.
85229         * math/w_acosf.c: Likewise.
85230         * math/w_acosl.c: Likewise.
85231         * math/w_acosh.c: Likewise.
85232         * math/w_acoshf.c: Likewise.
85233         * math/w_acoshl.c: Likewise.
85234         * math/w_asin.c: Likewise.
85235         * math/w_asinf.c: Likewise.
85236         * math/w_asinl.c: Likewise.
85237         * math/w_atan2.c: Likewise.
85238         * math/w_atan2f.c: Likewise.
85239         * math/w_atan2l.c: Likewise.
85240         * math/w_atanh.c: Likewise.
85241         * math/w_atanhf.c: Likewise.
85242         * math/w_atanhl.c: Likewise.
85243         * math/w_exp10.c: Likewise.
85244         * math/w_exp10f.c: Likewise.
85245         * math/w_exp10l.c: Likewise.
85246         * math/w_fmod.c: Likewise.
85247         * math/w_fmodf.c: Likewise.
85248         * math/w_fmodl.c: Likewise.
85249         * math/w_j0.c: Likewise.
85250         * math/w_j0f.c: Likewise.
85251         * math/w_j0l.c: Likewise.
85252         * math/w_j1.c: Likewise.
85253         * math/w_j1f.c: Likewise.
85254         * math/w_j1l.c: Likewise.
85255         * math/w_jn.c: Likewise.
85256         * math/w_jnf.c: Likewise.
85257         * math/w_log.c: Likewise.
85258         * math/w_logf.c: Likewise.
85259         * math/w_logl.c: Likewise.
85260         * math/w_log10.c: Likewise.
85261         * math/w_log10f.c: Likewise.
85262         * math/w_log10l.c: Likewise.
85263         * math/w_log2.c: Likewise.
85264         * math/w_log2f.c: Likewise.
85265         * math/w_log2l.c: Likewise.
85266         * math/w_pow.c: Likewise.
85267         * math/w_powf.c: Likewise.
85268         * math/w_powl.c: Likewise.
85269         * math/w_remainder.c: Likewise.
85270         * math/w_remainderf.c: Likewise.
85271         * math/w_remainderl.c: Likewise.
85272         * math/w_scalb.c: Likewise.
85273         * math/w_scalbf.c: Likewise.
85274         * math/w_scalbl.c: Likewise.
85275         * math/w_sqrt.c: Likewise.
85276         * math/w_sqrtf.c: Likewise.
85277         * math/w_sqrtl.c: Likewise.
85278         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85279         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85280         used.
85281         * math/math_private.h: Declare __kernel_standard_f.
85282         * math/w_cosh.c: Remove cruft and optimize a bit.
85283         * math/w_coshf.c: Likewise.
85284         * math/w_coshl.c: Likewise.
85285         * math/w_exp2.c: Likewise.
85286         * math/w_exp2f.c: Likewise.
85287         * math/w_exp2l.c: Likewise.
85288         * math/w_hypot.c: Likewise.
85289         * math/w_hypotf.c: Likewise.
85290         * math/w_hypotl.c: Likewise.
85291         * math/w_lgamma.c: Likewise.
85292         * math/w_lgamma_r.c: Likewise.
85293         * math/w_lgammaf.c: Likewise.
85294         * math/w_lgammaf_r.c: Likewise.
85295         * math/w_lgammal.c: Likewise.
85296         * math/w_lgammal_r.c: Likewise.
85297         * math/w_sinh.c: Likewise.
85298         * math/w_sinhf.c: Likewise.
85299         * math/w_sinhl.c: Likewise.
85300         * math/w_tgamma.c: Likewise.
85301         * math/w_tgammaf.c: Likewise.
85302         * math/w_tgammal.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85304         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85305         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85306         Minor optimizations.  Pretty printing.  Remove cruft.
85307         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85308         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85310         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85311         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85312         * sysdeps/i386/fpu/e_asin.S: Likewise.
85313         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85314         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85315         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85316         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85317         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85318         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85319         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85320         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85321         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85322         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85323         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85324         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85325         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85326         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85327         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85328         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85329         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85330         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85331         * sysdeps/i386/fpu/e_log.S: Likewise.
85332         * sysdeps/i386/fpu/e_log10.S: Likewise.
85333         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85334         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85335         * sysdeps/i386/fpu/e_log2.S: Likewise.
85336         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85337         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85338         * sysdeps/i386/fpu/e_logf.S: Likewise.
85339         * sysdeps/i386/fpu/e_logl.S: Likewise.
85340         * sysdeps/i386/fpu/e_pow.S: Likewise.
85341         * sysdeps/i386/fpu/e_powf.S: Likewise.
85342         * sysdeps/i386/fpu/e_powl.S: Likewise.
85343         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85344         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85345         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85346         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85347         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85349         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85350         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85351         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85352         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85355         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85357         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85358         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85359         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85360         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85361         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85362         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85363         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85364         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85365         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85366         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85368         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85369         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85370         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85371         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85372         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85373         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85374         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85375         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85376         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85377         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85378         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85379         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85380         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85381         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85382         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85383         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85384         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85386         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85387         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85388         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85389         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85390         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85391         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85392         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85393         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85429         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85431         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85432         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85433         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85434         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85435         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85436         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85437         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85438         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85439         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85440         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85441         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85443         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85444         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85445         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85446         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85447         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85448         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85449         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85450         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85451         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85452         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85453         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85454         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85455         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85456         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85457         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85458         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85459         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85460         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85461         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85462         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85463         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85464         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85465         (__isnanf): Likewise.
85466         (__isinf_ns): Likewise.
85467         (__isinf_nsf): Likewise.
85468         (__finite): Likewise.
85469         (__finitef): Likewise.
85470         (__ieee754_sqrt): Define as macro.
85471         (__ieee754_sqrtf): Define as macro.
85472         (__ieee754_sqrtl): Define as macro.
85473         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85474         inlined copy.
85475         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85476         __FINITE_MATH_ONLY__ consistent.
85477         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85479 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85481         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85482         of rawmemchr.
85484         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85486 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85488         * po/ja.po: Update from translation team.
85490 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85492         * locale/programs/locarchive.c (prepare_address_space): New function.
85493         (create_archive, enlarge_archive, open_archive): Use it.
85495         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85496         inside [SHARED], where it is used.
85498         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85500         * nss/getent.c (netgroup_keys): Remove unused variable.
85501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85503 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85505         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85506         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85508         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85509         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85510         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85511         * math/Makefile (libm-calls): Add s_isinf_ns.
85512         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85513         * math/multc3.c: Likewise.
85514         * math/s_casin.c: Likewise.
85515         * math/s_casinf.c: Likewise.
85516         * math/s_casinl.c: Likewise.
85517         * math/s_ccos.c: Likewise.
85518         * math/s_ccosf.c: Likewise.
85519         * math/s_ccosl.c: Likewise.
85520         * math/s_ctan.c: Likewise.
85521         * math/s_ctanf.c: Likewise.
85522         * math/s_ctanh.c: Likewise.
85523         * math/s_ctanhf.c: Likewise.
85524         * math/s_ctanhl.c: Likewise.
85525         * math/s_ctanl.c: Likewise.
85526         * math/w_fmod.c: Likewise.
85527         * math/w_fmodf.c: Likewise.
85528         * math/w_fmodl.c: Likewise.
85529         * math/w_remainder.c: Likewise.
85530         * math/w_remainderf.c: Likewise.
85531         * math/w_remainderl.c: Likewise.
85532         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85533         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85534         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85536         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85537         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85538         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85539         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85541         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85542         of the number.
85543         * stdio-common/printf_fphex.c: Likewise.
85544         * stdio-common/printf_size.c: Likewise.
85546         * math/e_exp10.c: Include math_private.h using <...> not "...".
85547         * math/e_exp10f.c: Likewise.
85548         * math/e_exp10l.c: Likewise.
85549         * math/e_exp2l.c: Likewise.
85550         * math/e_j0l.c: Likewise.
85551         * math/e_j1l.c: Likewise.
85552         * math/e_jnl.c: Likewise.
85553         * math/e_lgammal_r.c: Likewise.
85554         * math/e_rem_pio2l.c: Likewise.
85555         * math/e_scalb.c: Likewise.
85556         * math/e_scalbf.c: Likewise.
85557         * math/e_scalbl.c: Likewise.
85558         * math/k_cosl.c: Likewise.
85559         * math/k_sinl.c: Likewise.
85560         * math/k_tanl.c: Likewise.
85561         * math/s_cacoshf.c: Likewise.
85562         * math/s_catan.c: Likewise.
85563         * math/s_catanf.c: Likewise.
85564         * math/s_catanh.c: Likewise.
85565         * math/s_catanhf.c: Likewise.
85566         * math/s_catanhl.c: Likewise.
85567         * math/s_catanl.c: Likewise.
85568         * math/s_ccosh.c: Likewise.
85569         * math/s_ccoshf.c: Likewise.
85570         * math/s_ccoshl.c: Likewise.
85571         * math/s_cexp.c: Likewise.
85572         * math/s_cexpf.c: Likewise.
85573         * math/s_cexpl.c: Likewise.
85574         * math/s_clog.c: Likewise.
85575         * math/s_clog10.c: Likewise.
85576         * math/s_clog10f.c: Likewise.
85577         * math/s_clog10l.c: Likewise.
85578         * math/s_clogf.c: Likewise.
85579         * math/s_clogl.c: Likewise.
85580         * math/s_csin.c: Likewise.
85581         * math/s_csinf.c: Likewise.
85582         * math/s_csinh.c: Likewise.
85583         * math/s_csinhf.c: Likewise.
85584         * math/s_csinhl.c: Likewise.
85585         * math/s_csinl.c: Likewise.
85586         * math/s_csqrt.c: Likewise.
85587         * math/s_csqrtf.c: Likewise.
85588         * math/s_csqrtl.c: Likewise.
85589         * math/s_ctan.c: Likewise.
85590         * math/s_ctanf.c: Likewise.
85591         * math/s_ctanh.c: Likewise.
85592         * math/s_ctanhf.c: Likewise.
85593         * math/s_ctanhl.c: Likewise.
85594         * math/s_ctanl.c: Likewise.
85595         * math/s_ldexp.c: Likewise.
85596         * math/s_ldexpf.c: Likewise.
85597         * math/s_ldexpl.c: Likewise.
85598         * math/s_significand.c: Likewise.
85599         * math/s_significandf.c: Likewise.
85600         * math/s_significandl.c: Likewise.
85601         * math/w_acos.c: Likewise.
85602         * math/w_acosf.c: Likewise.
85603         * math/w_acosh.c: Likewise.
85604         * math/w_acoshf.c: Likewise.
85605         * math/w_acoshl.c: Likewise.
85606         * math/w_acosl.c: Likewise.
85607         * math/w_asin.c: Likewise.
85608         * math/w_asinf.c: Likewise.
85609         * math/w_asinl.c: Likewise.
85610         * math/w_atan2.c: Likewise.
85611         * math/w_atan2f.c: Likewise.
85612         * math/w_atan2l.c: Likewise.
85613         * math/w_atanh.c: Likewise.
85614         * math/w_atanhf.c: Likewise.
85615         * math/w_atanhl.c: Likewise.
85616         * math/w_cosh.c: Likewise.
85617         * math/w_coshf.c: Likewise.
85618         * math/w_coshl.c: Likewise.
85619         * math/w_dremf.c: Likewise.
85620         * math/w_exp10.c: Likewise.
85621         * math/w_exp10f.c: Likewise.
85622         * math/w_exp10l.c: Likewise.
85623         * math/w_exp2.c: Likewise.
85624         * math/w_exp2f.c: Likewise.
85625         * math/w_fmod.c: Likewise.
85626         * math/w_fmodf.c: Likewise.
85627         * math/w_fmodl.c: Likewise.
85628         * math/w_hypot.c: Likewise.
85629         * math/w_hypotf.c: Likewise.
85630         * math/w_hypotl.c: Likewise.
85631         * math/w_j0.c: Likewise.
85632         * math/w_j0f.c: Likewise.
85633         * math/w_j0l.c: Likewise.
85634         * math/w_j1.c: Likewise.
85635         * math/w_j1f.c: Likewise.
85636         * math/w_j1l.c: Likewise.
85637         * math/w_jn.c: Likewise.
85638         * math/w_jnf.c: Likewise.
85639         * math/w_jnl.c: Likewise.
85640         * math/w_lgamma.c: Likewise.
85641         * math/w_lgamma_r.c: Likewise.
85642         * math/w_lgammaf.c: Likewise.
85643         * math/w_lgammaf_r.c: Likewise.
85644         * math/w_lgammal.c: Likewise.
85645         * math/w_lgammal_r.c: Likewise.
85646         * math/w_log.c: Likewise.
85647         * math/w_log10.c: Likewise.
85648         * math/w_log10f.c: Likewise.
85649         * math/w_log10l.c: Likewise.
85650         * math/w_log2.c: Likewise.
85651         * math/w_log2f.c: Likewise.
85652         * math/w_log2l.c: Likewise.
85653         * math/w_logf.c: Likewise.
85654         * math/w_logl.c: Likewise.
85655         * math/w_pow.c: Likewise.
85656         * math/w_powf.c: Likewise.
85657         * math/w_powl.c: Likewise.
85658         * math/w_remainder.c: Likewise.
85659         * math/w_remainderf.c: Likewise.
85660         * math/w_remainderl.c: Likewise.
85661         * math/w_scalb.c: Likewise.
85662         * math/w_scalbf.c: Likewise.
85663         * math/w_scalbl.c: Likewise.
85664         * math/w_sinh.c: Likewise.
85665         * math/w_sinhf.c: Likewise.
85666         * math/w_sinhl.c: Likewise.
85667         * math/w_sqrt.c: Likewise.
85668         * math/w_sqrtf.c: Likewise.
85669         * math/w_sqrtl.c: Likewise.
85670         * math/w_tgamma.c: Likewise.
85671         * math/w_tgammaf.c: Likewise.
85672         * math/w_tgammal.c: Likewise.
85674         * po/ja.po: Update from translation team.
85676 2011-09-29  Andreas Jaeger  <aj@suse.de>
85678         [BZ #13179]
85679         * sunrpc/netname.c (netname2host): Fix logic.
85681         [BZ #6779]
85682         [BZ #6783]
85683         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85684         correctly.
85685         * math/w_remainder.c (__remainder): Likewise.
85686         * math/w_remainderf.c (__remainderf): Likewise.
85687         * math/libm-test.inc (remainder_test): Add test cases.
85689 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85691         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85692         sdiv_qrnnd.
85694 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85696         * string/test-memcmp.c: Avoid unncessary #defines.
85697         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85699 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85701         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85702         Use new sse2 version for core i3 - i7 as it's faster
85703         than sse42 version.
85704         (bit_Prefer_PMINUB_for_stringop): New.
85705         * sysdeps/x86_64/rawmemchr.S: Update.
85706         Replace with faster SSE2 version.
85707         * sysdeps/x86_64/memrchr.S: New file.
85708         * sysdeps/x86_64/memchr.S: Update.
85709         Replace with faster SSE2 version.
85711 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85713         * elf/dl-load.c (lose): Add cast to avoid warning.
85715 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85717         * po/ca.po: Update from translation team.
85719         * inet/getnetgrent_r.c: Hook up nscd.
85720         * nscd/Makefile (routines): Add nscd_netgroup.
85721         (nscd-modules): Add netgroupcache.
85722         (CFLAGS-netgroupcache.c): Define.
85723         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85724         (cache_search): Add const to second parameter.
85725         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85726         INNETGR.
85727         (dbs): Add netgrdb entry.
85728         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85729         (verify_persistent_db): Handle netgrdb.
85730         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85731         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85732         GETFDNETGR.
85733         (netgroup_response_header): Define.
85734         (innetgroup_response_header): Define.
85735         (datahead): Add netgroup_response_header and innetgroup_response_header
85736         elements.
85737         * nscd/nscd.conf: Add entries for netgroup cache.
85738         * nscd/nscd.h (dbtype): Add netgrdb.
85739         (_PATH_NSCD_NETGROUP_DB): Define.
85740         (netgroup_iov_disabled): Declare.
85741         (xmalloc, xcalloc, xrealloc): Move declarations here.
85742         (cache_search): Adjust prototype.
85743         Add netgroup-related prototypes.
85744         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85745         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85746         (__nscd_innetgr): Declare.
85747         * nscd/selinux.c (perms): Use access_vector_t as element type and
85748         add netgroup-related initializers.
85749         * nscd/netgroupcache.c: New file.
85750         * nscd/nscd_netgroup.c: New file.
85751         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85752         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85753         For four parameters use innetgr.
85754         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85755         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85756         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85757         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85759         * nscd/connections.c (register_traced_file): Don't register file
85760         for disabled databases.
85762 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85764         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85766         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85767         from tree and freeing node.
85769 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85771         * nss/nsswitch.c (__nss_database_lookup): Handle
85772         nss_parse_service_list out of memory case.
85774 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85776         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85777         out of memory case.
85779 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85781         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85782         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85783         pass it down.
85784         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85785         elf_machine_rela, elf_machine_lazy_rel.
85786         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85787         (ELF_DYNAMIC_DO_REL): Likewise.
85788         (ELF_DYNAMIC_DO_RELA): Likewise.
85789         (ELF_DYNAMIC_RELOCATE): Likewise.
85790         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85791         to ELF_DYNAMIC_DO_REL.
85792         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85793         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85794         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85795         elf_machine_rela.
85796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85797         skip_ifunc, don't call ifunc function if non-zero.
85798         (elf_machine_rela): Likewise.
85799         (elf_machine_lazy_rel): Likewise.
85800         (elf_machine_lazy_rela): Likewise.
85801         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85802         (elf_machine_lazy_rel): Likewise.
85803         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85804         Likewise.
85805         (elf_machine_lazy_rel): Likewise.
85806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85807         Likewise.
85808         (elf_machine_lazy_rel): Likewise.
85809         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85810         (elf_machine_lazy_rel): Likewise.
85811         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85812         (elf_machine_lazy_rel): Likewise.
85813         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85814         (elf_machine_lazy_rel): Likewise.
85815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85816         (elf_machine_lazy_rel): Likewise.
85817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85818         (elf_machine_lazy_rel): Likewise.
85819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85820         (elf_machine_lazy_rel): Likewise.
85822 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85824         * nss/nss_files/files-init.c (_nss_files_init): Use static
85825         initialization for all the *_traced_file variables.
85827 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85829         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85831 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85833         [BZ #13226]
85834         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85836 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85838         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85839         Reread the line before reparsing it.
85841 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85843         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85845 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85846             Maxim Kuvyrkov  <maxim@codesourcery.com>
85847             Joseph Myers  <joseph@codesourcery.com>
85849         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85850         if needed for __stack_chk_guard.
85852 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85854         * sysdeps/posix/spawni.c (script_execute): Always define it.
85855         It will be optimized away if unused.
85856         (maybe_script_execute): New function.
85857         (__spawni): Call it.
85859         * Makerules: Don't include tls.make.
85860         (config-tls): Always set to thread.
85861         * tls.make.c: File removed.
85863 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85865         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85866         * config.make.in (CPPFLAGS-config): New substituted variable.
85868 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85870         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85872         [BZ #13192]
85873         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85874         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85876 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85878         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85879         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85880         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85881         (CALL_FAIL): Likewise.
85882         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85883         (CALL_FAIL): Macro removed.
85884         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85886 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85888         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85889         for __FINITE_MATH_ONLY__ == 1.
85891 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85893         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85894         __ieee754_sqrt instead of sqrt.
85895         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85896         __ieee754_sqrtf instead of sqrtf.
85897         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85898         __floorf instead of floorf.
85899         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85900         __floorf, __truncf instead of floorf, truncf.
85902 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85904         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85906         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85907         __extern_always_inline.
85908         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85909         32-bit.
85911 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85913         * elf/rtld.c (dl_main): Also relocate in dependency order when
85914         doing symbol dependency testing.
85916 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85919         Always define `refsym'.
85921 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85923         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85924         (__FD_ELT): Renamed from __FDELT.
85925         * misc/bits/select2.h (__FD_ELT): Likewise.
85926         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85927         __FD_MASK instead of __FDELT, __FDMASK.
85928         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85929         Likewise.
85930         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85931         Likewise.
85933         * elf/Makefile (gen-ldd): Fix pattern.
85935         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85936         (init_tls): Likewise.
85938 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85942 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85944         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85945         `struct cmsghdr *' instead of `void *'.
85946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85947         Likewise.
85949 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85951         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85952         if non-absolute.
85953         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85954         ldd_rewrite_script.
85956 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85958         * configure.in: Remove --with-tls option.
85959         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85960         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85961         out in case it is missing.
85962         * sysdeps/ia64/elf/configure.in: Likewise.
85963         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85964         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85965         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85966         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85967         * sysdeps/sh/elf/configure.in: Likewise.
85968         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85969         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85970         * sysdeps/x86_64/elf/configure.in: Likewise.
85971         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85972         * sysdeps/mach/hurd/tls.h: Likewise.
85974         [BZ #13067]
85975         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85977         [BZ #13090]
85978         * configure.in: Fix use of AC_INIT.
85980         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85982 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85984         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85985         __set_errno.
85986         * malloc/hooks.c: Likewise.
85988         [BZ #11929]
85989         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85990         variables statically.
85991         (narenas): Initialize.
85992         (list_lock): Initialize.
85993         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85994         initializtion of main_arena and list_lock.  Small cleanups.
85995         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85996         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85997         Add initializers to main_arena and mp_.
85998         (malloc_state): Remove pagesize member.  Change all users to use
85999         GLRO(dl_pagesize).
86001         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86002         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86003         is always initialized.
86005         * malloc/malloc.c: Removed unused configurations and dead code.
86006         * malloc/arena.c: Likewise.
86007         * malloc/hooks.c: Likewise.
86008         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86010         * include/tls.h: Removed.  USE___THREAD must always be defined.
86011         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86012         * elf/dl-libc.c: Likewise.
86013         * elf/dl-tsd.c: Likewise.
86014         * include/errno.h: Likewise.
86015         * include/netdb.h: Likewise.
86016         * include/resolv.h: Likewise.
86017         * inet/herrno-loc.c: Likewise.
86018         * inet/herrno.c: Likewise.
86019         * malloc/arena.c: Likewise.
86020         * malloc/hooks.c: Likewise.
86021         * malloc/malloc.c: Likewise.
86022         * resolv/res-state.c: Likewise.
86023         * resolv/res_libc.c: Likewise.
86024         * sysdeps/i386/dl-machine.h: Likewise.
86025         * sysdeps/ia64/dl-machine.h: Likewise.
86026         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86027         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86028         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86029         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86030         * sysdeps/sh/dl-machine.h: Likewise.
86031         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86032         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86033         * sysdeps/unix/i386/sysdep.S: Likewise.
86034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86035         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86044         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86045         * sysdeps/x86_64/dl-machine.h: Likewise.
86046         * tls.make.c: Likewise.
86048         * configure.in: Remove --with-__thread option.  Make tests for
86049         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86050         tls_model attribute fail if no support is available.  Remove
86051         USE_IN_LIBIO.
86052         * Makeconfig: Adjust for dropped configure option.  All features are
86053         now mandatory.
86054         * Makerules: Likewise.
86055         * Versions.def: Likewise.
86056         * argp/argp-fmtstream.c: Likewise.
86057         * argp/argp-fmtstream.h: Likewise.
86058         * argp/argp-help.c: Likewise.
86059         * assert/assert.c: Likewise.
86060         * config.h.in: Likewise.
86061         * config.make.in: Likewise.
86062         * configure: Likewise.
86063         * configure.in: Likewise.
86064         * csu/Versions: Likewise.
86065         * csu/init.c: Likewise.
86066         * elf/tst-audit2.c: Likewise.
86067         * elf/tst-tls10.c: Likewise.
86068         * elf/tst-tls10.h: Likewise.
86069         * elf/tst-tls11.c: Likewise.
86070         * elf/tst-tls12.c: Likewise.
86071         * elf/tst-tls14.c: Likewise.
86072         * elf/tst-tlsmod11.c: Likewise.
86073         * elf/tst-tlsmod12.c: Likewise.
86074         * elf/tst-tlsmod13.c: Likewise.
86075         * elf/tst-tlsmod13a.c: Likewise.
86076         * elf/tst-tlsmod14a.c: Likewise.
86077         * elf/tst-tlsmod15b.c: Likewise.
86078         * elf/tst-tlsmod16a.c: Likewise.
86079         * elf/tst-tlsmod16b.c: Likewise.
86080         * elf/tst-tlsmod7.c: Likewise.
86081         * elf/tst-tlsmod8.c: Likewise.
86082         * elf/tst-tlsmod9.c: Likewise.
86083         * gmon/gmon.c: Likewise.
86084         * grp/fgetgrent_r.c: Likewise.
86085         * grp/putgrent.c: Likewise.
86086         * hurd/fopenport.c: Likewise.
86087         * include/libc-symbols.h: Likewise.
86088         * include/tls.h: Likewise.
86089         * intl/gettextP.h: Likewise.
86090         * intl/loadinfo.h: Likewise.
86091         * locale/global-locale.c: Likewise.
86092         * locale/localeinfo.h: Likewise.
86093         * mach/devstream.c: Likewise.
86094         * malloc/arena.c: Likewise.
86095         * malloc/set-freeres.c: Likewise.
86096         * misc/err.c: Likewise.
86097         * misc/getttyent.c: Likewise.
86098         * misc/mntent_r.c: Likewise.
86099         * posix/getopt.c: Likewise.
86100         * posix/wordexp.c: Likewise.
86101         * pwd/fgetpwent_r.c: Likewise.
86102         * resolv/Versions: Likewise.
86103         * resolv/res_hconf.c: Likewise.
86104         * shadow/fgetspent_r.c: Likewise.
86105         * shadow/putspent.c: Likewise.
86106         * stdio-common/printf_fphex.c: Likewise.
86107         * stdio-common/tmpfile.c: Likewise.
86108         * stdlib/abort.c: Likewise.
86109         * stdlib/fmtmsg.c: Likewise.
86110         * sunrpc/auth_unix.c: Likewise.
86111         * sunrpc/clnt_perr.c: Likewise.
86112         * sunrpc/clnt_tcp.c: Likewise.
86113         * sunrpc/clnt_udp.c: Likewise.
86114         * sunrpc/clnt_unix.c: Likewise.
86115         * sunrpc/openchild.c: Likewise.
86116         * sunrpc/svc_simple.c: Likewise.
86117         * sunrpc/svc_tcp.c: Likewise.
86118         * sunrpc/svc_udp.c: Likewise.
86119         * sunrpc/svc_unix.c: Likewise.
86120         * sunrpc/xdr.c: Likewise.
86121         * sunrpc/xdr_array.c: Likewise.
86122         * sunrpc/xdr_rec.c: Likewise.
86123         * sunrpc/xdr_ref.c: Likewise.
86124         * sunrpc/xdr_stdio.c: Likewise.
86126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86128         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86130 2011-07-03  Andreas Jaeger  <aj@suse.de>
86132         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86133         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86134         regenerate with gen-libm-tests.pl.
86136 2010-05-12  Petr Baudis  <pasky@suse.cz>
86138         [BZ #11589]
86139         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86140         around j0() zero points by switching to j1().
86141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86142         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86144         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86146 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86148         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86149         instead of 0.
86150         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86151         instead of 0.
86152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86153         Patch in part by Pavel Roskin <proski@gnu.org>.
86155         [BZ #13138]
86156         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86157         realloc.
86158         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86159         Free memory block if necessary.
86161         [BZ #12847]
86162         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86163         be NULL.  Don't lock in this case.
86165 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86167         * elf/elf.h (ELFOSABI_GNU): New macro.
86168         (ELFOSABI_LINUX): Define to that.
86170 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86172         * string/strncat.c (strncat): Undef the symbol in case it has been
86173         defined in bits/string.h.
86175 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86177         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86179         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86180         link map.
86182 2011-08-17  Andreas Jaeger  <aj@suse.de>
86184         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86186 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86187             Ian Lance Taylor  <iant@google.com>
86189         * math/libm-test.inc (lround_test): New testcase.
86190         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86192 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86194         * Makefile: Remove support for automatic cvs check-ins.
86195         * Makerules: Likewise.
86196         * config.make.in: Likewise.
86197         * configure.in: Likewise.
86198         * intl/Makefile: Likewise.
86199         * locale/Makefile: Likewise.
86200         * po/Makefile: Likewise.
86201         * posix/Makefile: Likewise.
86202         * sysdeps/gnu/Makefile: Likewise.
86203         * sysdeps/mach/hurd/Makefile: Likewise.
86204         * sysdeps/sparc/sparc32/Makefile: Likewise.
86206         [BZ #13118]
86207         * posix/Makefile (bug-regex32-ENV): Define.
86208         Patch by John Stanley <jpsinthemix@verizon.net>.
86210         * misc/Makefile (headers): Add bits/select2.h.
86211         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86212         * misc/bits/select2.h: New file.
86213         * include/bits/select2.h: New file.
86214         * debug/Makefile (routines): Add fdelt_chk.
86215         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86216         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86217         FD_ISSET.
86218         * debug/fdelt_chk.c: New file.
86220         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86221         * wcsmbs/test-wmemcmp.c: Likewise.
86222         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86223         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86225 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86227         * string/Makefile (strop-tests): Add memcmp.
86228         * string/test-wmemcmp.c: New file.
86229         * string/test-memcmp.c: Add wmemcmp support.
86231 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86233         [BZ #13153]
86234         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86235         2011-07-19 change.
86237         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86238         garbage value in a __mach_port_mod_refs call in the cases of the
86239         task-self and thread-self ports.
86241 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86243         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86245 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86247         * elf/dl-load.c (lose): Check for non-null L.
86249 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86251         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86253         * elf/dl-libc.c (dlerror_run): Pass back error code from
86254         dl_catch_error.
86256         [BZ #13123]
86257         * elf/dl-load.c (lose): Free l_origin if it is valid.
86259         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86260         names.
86261         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86262         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86263         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86264         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86265         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86266         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86268 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86270         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86271         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86272         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86273         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86274         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86275         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86276         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86277         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86278         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86279         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86281 2011-08-15  Alan Modra  <amodra@gmail.com>
86283         [BZ #13092]
86284         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86285         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86286         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86287         ppc_mcount to static-only-routines.
86288         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86289         __mcount_internal.
86290         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86291         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86293 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86295         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86296         for finite and infinity parameters.
86298 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86300         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86301         and add nop instructions for throughput optimization.
86302         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86304 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86306         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86307         aligned copy for power7 with vector-scalar instructions.
86308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86310 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86313         AVX check.
86315 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86317         [BZ #13144]
86318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86319         last change.
86321 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86323         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86324         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86325         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86326         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86327         clock_gettime.
86329 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86331         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86332         Forgot to demangle the pointer.
86334         * sysdeps/i386/sysdep.h: Define atom_text_section.
86335         * sysdeps/x86_64/sysdep.h: Likewise.
86336         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86337         section with atom_text_section.
86338         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86340         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86342         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86344         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86345         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86346         already be defined.  Change to take two parameters and don't assign
86347         result to variable.  Adjust all users.
86348         Define INTERNAL_GETTIME if not already defined.
86349         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86350         call.
86351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86352         HAVE_CLOCK_GETTIME_VSYSCALL.
86353         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86356         gettimeofday vsyscall, just use time.
86358 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86361         <errno.h>.
86363 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86365         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86366         syscall on x86-64.
86367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86368         syscall.
86369         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86371         syscall if possible.
86373 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86375         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86376         e_ident.  Don't pass to find_mapsXX.
86377         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86379 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86382         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86383         * sysdeps/x86_64/multiarch/strchr.S: Update.
86384         Check bit_slow_BSF bit.
86385         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86386         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86387         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86389 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86391         [BZ #13134]
86392         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86393         before glibc 2.15.
86394         (tryshell): Define.
86395         (__spawni): Change last parameter to be flag.  Test
86396         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86397         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86398         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86399         * posix/spawni.c: Likewise.
86400         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86401         * posix/spawnp.c: Likewise.  Change normal version to use
86402         SPAWN_XFLAGS_USE_PATH.
86403         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86404         SPAWN_XFLAGS_TRY_SHELL.
86406         [BZ #13150]
86407         * posix/glob.h: Remove gcc 1.x support.
86409         [BZ #13068]
86410         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86412 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86415         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86416         strrchr-sse2-bsf
86417         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86418         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86419         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86420         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86421         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86422         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86424 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86426         * sysdeps/x86_64/wcscmp.S: New file.
86428         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86429         wcscmp-c wcscmp-sse2
86430         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86431         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86432         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86433         * wcsmbs/wcscmp.c: Allow renaming.
86435 2011-09-05  David S. Miller  <davem@davemloft.net>
86437         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86438         stack slot, rather than the struct return pointer slot.
86439         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86440         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86442         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86444 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86446         * po/ja.po: Update from translation team.
86448         [BZ #13144]
86449         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86450         kernel in 64-bit binaries.
86452 2011-09-01  David S. Miller  <davem@davemloft.net>
86454         * elf/elf.h (HWCAP_SPARC_*): Move to..
86455         * sysdeps/sparc/sysdep.h: this new file and add new values.
86456         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86457         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86458         _DL_HWCAP_COUNT to 24.
86459         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86460         entries.
86461         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86462         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86463         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86465         instead of magic constants.
86466         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86468 2011-08-31  David S. Miller  <davem@davemloft.net>
86470         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86472         Reimplement to do errno handling inline.
86473         (SYSCALL_ERROR_HANDLER): New macro.
86474         (__SYSCALL_STRING): Do not do errno handling in asm.
86475         (__CLONE_SYSCALL_STRING): Delete.
86476         (__INTERNAL_SYSCALL_STRING): Delete.
86477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86478         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86479         (PSEUDO): Reimplement to do errno handling inline.
86480         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86481         (SYSCALL_ERROR_HANDLER): New macro.
86482         (__SYSCALL_STRING): Do not do errno handling in asm.
86483         (__CLONE_SYSCALL_STRING): Delete.
86484         (__INTERNAL_SYSCALL_STRING): Delete.
86485         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86486         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86487         i386.
86488         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86489         (inline_syscall*): Add 'err' argument.
86490         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86491         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86492         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86493         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86495         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86496         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86498 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86500         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86502 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86504         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86505         directive.
86507 2011-08-24  David S. Miller  <davem@davemloft.net>
86509         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86511 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86513         * elf/Makefile: Add rules to build and run unload8 test.
86514         * elf/unload8.c: New file.
86515         * elf/unload8mod1.c: New file.
86516         * elf/unload8mod1x.c: New file.
86517         * elf/unload8mod2.c: New file.
86518         * elf/unload8mod3.c: New file.
86520         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86521         it wasn't used.
86523 2011-08-23  David S. Miller  <davem@davemloft.net>
86525         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86526         subtract stack bias.
86527         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86528         %sp not %fp in calculations.
86529         (_JMPBUF_UNWINDS_ADJ): Likewise.
86531         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86532         (aio_suspend): Call it to force an exception region around the
86533         AIO_MISC_WAIT() invocation.
86535 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86537         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86538         backslash.
86540 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86542         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86543         protection macro.
86544         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86545         and <dl-machine.h>.
86546         (Elf64_FuncDesc): Remove.
86548 2011-08-22  David S. Miller  <davem@davemloft.net>
86550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86551         sigaltstack check, add missing cfi directives.
86552         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86553         missing cfi directives, and sigaltstack handling.
86555 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86557         [BZ #11724]
86558         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86559         object is seen twice.
86560         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86562         * elf/Makefile (distribute): Add tst-initorder2.c.
86563         (tests): Add tst-initorder2.
86564         (modules-names): Add tst-initorder2a tst-initorder2b
86565         tst-initorder2c tst-initorder2d.  Add rules to build them.
86566         ($(objpfx)tst-initorder2.out): New rule.
86567         * elf/tst-initorder2.c: New file.
86568         * elf/tst-initorder2.exp: New file.
86570 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86572         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86574         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86575         dependencies back to end of function.
86577         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86578         $(elfobjdir)/ld.so.
86580 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86582         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86583         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86585         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86586         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86587         of __vdso_gettimeofday.
86588         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86589         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86590         attribute_hidden.
86591         (_libc_vdso_platform_setup): Remove initialization of
86592         __vdso_gettimeofday and __vdso_time.
86594 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86596         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86597         and fgetc_unlocked.
86598         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86599         getc_unlocked.
86601         * elf/dl-open.c (add_to_global): Report additions to the global scope
86602         for LD_DEBUG=scopes.
86603         (dl_open_worker): Also print scope of newly loaded dependencies.
86604         (_dl_show_scope): Indicate if there is no scope.
86606         [BZ #13114]
86607         * stdio-common/Makefile (tests): Add bug24.
86608         * stdio-common/bug24.c: New file.
86610 2011-08-19  Andreas Jaeger  <aj@suse.de>
86612         [BZ #13114]
86613         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86614         non-existant file when using close-on-exec mode.
86616 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86619         the very first instruction.
86621         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86622         the CFI state in the end.
86623         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86624         inclusion of dl-trampoline.h.
86625         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86627 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86629         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86630         expectations for long double.
86632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86633         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86635 2011-08-14  David S. Miller  <davem@davemloft.net>
86637         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86638         artificual limit depends upon the system page size.
86640 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86642         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86643         * resolv/Makefile: Define CFLAGS-libresolv.
86645 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86647         * nss/makedb.c (compute_tables): Make variables used in nested
86648         function static.
86650 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86652         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86653         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86654         if buffer was too small.
86656         * elf/pldd.c (main): Attach to all threads in the process.
86657         Rewrite /proc handling to use *at functions.
86659 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86661         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86662         specifies first scope to show.
86663         (dl_open_worker): Update callers.  Move printing scope of new
86664         object to before the relocation.
86665         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86666         * sysdeps/generic/ldsodefs.h: Update declaration.
86668         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86669         string for the scope number.
86671 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86673         * nscd/servicescache.c (cache_addserv): Make sure written is always
86674         initialized.
86676 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86678         * sysdeps/i386/i486/bits/atomic.h
86679         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86680         statement expression, so as to suppress "set but not used" warning.
86681         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86683         * string/strncat.c (STRNCAT): Use prototype definition.
86685         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86686         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86687         -Iprograms here.
86688         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86689         (localedef-modules): Add localedef.
86690         (locale-modules): Add locale.
86692         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86693         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86694         to avoid a warning.
86696 2011-08-14  David S. Miller  <davem@davemloft.net>
86698         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86699         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86701 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86703         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86704         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86705         * elf/rtld.c (dl_main): Set l_name of vDSO.
86706         Call _dl_show_scope when DL_DEBUG_SCOPES.
86707         (process_dl_debug): Recognize scopes flag and also set it for all.
86708         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86709         Declare _dl_show_scope.
86711         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86712         (do_dlopen): Pass caller_dlopen to dl_open.
86713         (__libc_dlopen_mode): Initialize caller_dlopen.
86715         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86716         of libc.  Make tolower call locale-independent.  Optimize a bit by
86717         using isdigit instead of isalnum.
86718         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86720 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86722         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86723         was a dependency or dynamically loaded.
86725 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86727         * intl/l10nflist.c: Allow architecture-specific pop function.
86728         * sysdeps/x86_64/l10nflist.c: New file.
86730         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86731         classification.
86733 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86735         * include/dirent.h: Add libc_hidden_proto for scandirat and
86736         scandirat64.  Don't declare __scandirat64.
86737         * dirent/scandirat.c: Add libc_hidden_def.
86738         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86739         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86741 2011-08-10  David S. Miller  <davem@davemloft.net>
86743         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86744         enum.
86745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86746         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86747         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86749 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86751         * Versions.def [libc]: Add GLIBC_2.15.
86752         * dirent/Makefile (routines): Add scandirat and scandirat64.
86753         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86754         GLIBC_2.15.
86755         * dirent/dirent.h: Declare scandirat and scandirat64.
86756         * dirent/scandirat.c: New file.
86757         * dirent/scandirat64.c: New file.
86758         * sysdeps/wordsize-64/scandirat.c: New file.
86759         * sysdeps/wordsize-64/scandirat64.c: New file.
86760         * dirent/opendir.c: Define opendirat.
86761         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86762         using scandirat.
86763         * dirent/scandir64.c: Adjust for scandir.c change.
86764         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86765         __scandirat64, and __scandir_cancel_handler.
86766         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86767         additional parameter and use openat instead of open (outside of ld.so).
86768         Add new __opendir as wrapper around __opendirat.
86769         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86770         here without requiring old scandirat implementation.
86772 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86774         * dirent/scandir.c (cancel_handler): Renamed to
86775         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86776         defined.  Adjust users.
86777         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86778         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86780 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86782         * string/test-string.h (IMPL): Use __STRING to expand name and then
86783         stringify it.
86785         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86786         of cleanups.
86788 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86790         * string/Makefile: Update.
86791         (strop-tests): Append strncat.
86792         * string/test-wcscmp.c: New file.
86793         New comprehensive test for wcscmp.
86794         * string/test-strcmp.c: Update.
86795         (WIDE): New define.
86797 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86799         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86800         line.
86802 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86805         encoding to ACE if AI_IDN.
86807 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86809         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86810         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86812 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86814         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86815         Fix overflow bug in strncat.
86816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86818         * string/test-strncat.c: Update.
86819         Add new tests for checking overflow bugs.
86821 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86824         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86825         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86826         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86827         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86828         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86829         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86830         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86831         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86834         (USE_AS_STRCAT): Define.
86835         Add strcat and strncat support.
86836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86838 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86840         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86841         __n bigger than INT_MAX+1.
86842         (__strncmp_g): Likewise.
86844 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86846         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86847         * libio/stido.h: Likewise.
86849         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86850         (AF_NFC): Define.
86851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86852         (AF_NFC): Define.
86854         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86857         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86860         [BZ #13021]
86861         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86862         installed.
86864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86865         typo.
86866         (_dl_x86_64_save_sse): Likewise.
86868 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86871         OSXSAVE.
86872         (_dl_x86_64_save_sse): Likewise.
86874         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86876         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86878 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86881         change.
86882         (_dl_x86_64_save_sse): Use correct AVX check.
86884 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86886         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86887         bug in strncpy/strncat.
86888         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86890 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86892         * string/tester.c (test_strcat): Add tests for different alignments
86893         of source and destination.
86894         (test_strncat): Likewise.
86896 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86898         [BZ #12852]
86899         * posix/glob.c (glob): Check passed in values before using them in
86900         expressions to avoid some overflows.
86901         (glob_in_dir): Likewise.
86903         [BZ #13007]
86904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86905         check for AVX enablement so that we don't crash with old kernels and
86906         new hardware.
86907         * elf/tst-audit4.c: Add same checks here.
86908         * elf/tst-audit6.c: Likewise.
86910         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86912 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86914         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86916 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86918         * po/cs.po: Update from translation team.
86919         * po/bg.po: Likewise.
86921 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86923         * misc/sys/cdefs.h: Add support for const attribute.
86924         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86925         to gnu_dev_{major,minor,makedev} functions.
86927 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86929         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86931 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86933         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86934         strlen results.
86936 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86939         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86940         register in order to avoid conflicts with the soft frame pointer
86941         being held in r11 when necessary.
86942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86943         (INTERNAL_VSYSCALL_NCS): Likewise.
86945 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86947         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86948         * elf/dl-fini.c (_dl_fini): Adjust caller.
86949         * elf/dl-close.c (_dl_close_worker): Likewise.
86950         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86952 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86954         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86955         "aux_cache->nlibs < 0".
86957         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86958         in the reload-count case.
86960 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86963         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86964         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86965         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86966         * sysdeps/x86_64/multiarch/strcat.S: New file.
86967         * sysdeps/x86_64/multiarch/strncat.S: New file.
86968         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86969         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86970         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86971         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86972         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86973         (USE_AS_STRCAT): Define.
86974         Add strcat and strncat support.
86975         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86976         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86977         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86978         * string/strncat.c: Update.
86979         (USE_AS_STRNCAT): Define.
86980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86981         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86982         and i7.
86983         * sysdeps/x86_64/multiarch/init-arch.h
86984         (bit_Prefer_PMINUB_for_stringop): New.
86985         (index_Prefer_PMINUB_for_stringop): Likewise.
86986         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86987         bit_Prefer_PMINUB_for_stringop.
86989 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86991         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86992         buffer64.
86993         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86994         of casting of buffer.
86995         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86996         buffer32 and buffer64.
86997         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86998         writes instead of casting of buffer.
86999         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87000         buffer32.
87001         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87002         casting of buffer.
87004 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87006         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87008 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87010         * nscd/nscd.c (termination_handler): Don't do anything for a database
87011         if it has not yet been initialized.
87013 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87015         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87017 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87019         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87021 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87023         * po/nl.po: Update from translation team.
87024         * po/sv.po: Likewise.
87026 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87028         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87029         now disallowed by GCC.
87031         * configure.in (use-default-link): Default to yes if a test -shared
87032         link meets our qualifications.
87033         * configure: Regenerated.
87035         * config.make.in (output-format): New variable.
87036         * configure.in: Check for ld --print-output-format support.
87037         * configure: Regenerated.
87038         * Makerules ($(common-objpfx)format.lds)
87039         [$(output-format) != unknown]: Just use $(output-format),
87040         instead of the linker-script munging.
87042 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87044         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87045         of $(common-objpfx)shlib.lds.
87046         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87048         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87049         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87051         * configure.in (-z relro check): Adjust test code to add a large
87052         writable data section after it.
87053         * configure: Regenerated.
87055 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87057         * configure.in (-z relro check): Fix test code to make the variable
87058         truly const.
87059         * configure: Regenerated.
87061 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87063         * nscd/nscd.h (struct traced_file): Define.
87064         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87065         elements.  Add traced_files.
87066         (inotify_fd): Declare.
87067         (register_traced_file): Declare.
87068         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87069         (inotify_fd): Export.
87070         (resolv_conf_descr): Remove.
87071         (nscd_init): Move inotify descriptor creation to main.
87072         Don't register files for notification here.
87073         (register_traced_file): New function.
87074         (invalidate_cache): Don't use reset_res to determine whether to call
87075         res_init, go through the list of registered files.
87076         (main_loop_poll): The inotify descriptors are now stored in the
87077         structures for the traced files.
87078         (main_loop_epoll): Likewise.
87079         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87080         to __nss_disable_nscd.
87081         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87082         for a database anymore.  Check the records for all the registered
87083         files instead.
87084         * nss/Makefile (libnss_files-routines): Add files-init.
87085         (libnss_db-routines): Add db-init.
87086         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87087         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87088         * nss/nss_db/db-init.c: New file.
87089         * nss/nss_files/files-init.c: New file.
87090         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87091         __nss_lookup_function.
87092         (__nss_lookup_function): Call nss_load_library.
87093         (nss_load_all_libraries): New function.
87094         (__nss_disable_nscd): Take parameter with callback function for files
87095         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87096         used for the cached services.
87097         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87098         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87099         options for features to all the files in nscd.
87101         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87103 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87105         * csu/elf-init.c (__libc_csu_init): Comment typo.
87107 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87109         * po/pl.po: Update from translation team.
87110         * po/ja.po: Likewise.
87111         * po/ru.po: Likewise.
87112         * po/ko.po: Likewise.
87113         * po/fr.po: Likewise.
87115 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87117         * configure.in (.ctors/.dtors header and trailer check):
87118         Use an empirical test on a built program.
87119         * configure: Regenerated.
87121         * configure.in (-z relro check): Use an empirical test on a built DSO.
87122         Detect, but do not require, on ia64.
87123         * configure: Regenerated.
87125         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87126         Update tests that use readelf to use $READELF instead.
87127         * configure: Regenerated.
87129 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87131         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87132         if the result is not used.
87134 2011-07-05  Andreas Jaeger  <aj@suse.de>
87136         [BZ #9696]
87137         * stdlib/tst-strtod.c: Add testcase.
87139 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87141         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87142         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87143         The latter has a higher limit.  Take additional parameter to pass to
87144         the new function.
87145         (__pathconf): Pass file to __statfs_link_max.
87146         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87147         __statfs_link_max.
87148         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87149         __statfs_link_max.
87151         [BZ #12868]
87152         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87153         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87154         Handle Lustre.
87155         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87156         (__statfs_filesize_max): Likewise.
87157         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87159 2011-07-05  Andreas Jaeger  <aj@suse.de>
87161         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87163 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87165         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87166         `status' variable.
87167         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87168         Likewise.
87170 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87172         * Makefile (strop-tests): Add strncat.
87173         * string/test-strncat.c: New file.
87175 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87177         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87179 2011-06-21  Andreas Jaeger  <aj@suse.de>
87181         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87182         Copy rule from iconvdata/Makefile.
87184 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87186         [BZ #12922]
87187         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87188         but no long options are defined, just return 'W'.
87190 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87192         [BZ #9696]
87193         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87195 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87197         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87198         netgroups to read.
87199         (innetgr): Likewise.
87201 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87203         * config.make.in (install_root): Default to $(DESTDIR).
87205 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87207         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87209 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87211         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87213         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87214         containing directory rather than embedding absolute directory names.
87216         * scripts/check-local-headers.sh: Rewritten using awk.
87217         Match by word, not by line.  Print error messages for matches.
87218         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87220         * Makerules [shlib-lds-flags empty]:
87221         ($(common-objpfx)libc_pic.opts): New target.
87222         ($(common-objpfx)libc_pic.os.clean): New target.
87223         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87225         * config.make.in (OBJCOPY): New variable.
87226         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87227         * configure: Regenerated.
87229         * config.make.in (use-default-link): New variable.
87230         * configure.in (use_default_link): Grok --with-default-link to set it.
87231         * configure: Regenerated.
87232         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87233         (shlib-lds, shlib-lds-flags): Define to empty.
87235         * Makerules (shlib-lds): New variable.
87236         (shlib-lds-flags): New variable.
87237         (build-shlib, build-moduile, build-module-asneeded): Use it.
87238         ($(common-objpfx)libc.so): Use $(shlib-lds).
87239         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87240         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87242         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87243         DT_FLAGS/DT_FLAGS_1 with zero flags.
87245         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87246         linker script munging.
87248 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87250         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87251         as 128-bit value.
87252         * crypt/sha512.c (sha512_process_block): Perform total addition using
87253         128-bit if possible.
87254         (__sha512_finish_ctx): Likewise.
87255         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87256         as 64-bit value.
87257         * crypt/sha256.c (SWAP64): Define.
87258         (sha256_process_block): Perform total addition using 64-bit if
87259         possible.
87260         (__sha256_finish_ctx): Likewise.
87262 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87264         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87265         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87266         * nscd/hstcache.c (cache_addhst): Likewise.
87267         * nscd/grpcache.c (cache_addgr): Likewise.
87268         * nscd/aicache.c (addhstaiX): Likewise.
87269         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87271 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87273         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87275         * nscd/hstcache.c (cache_addhst): Likewise.
87276         * nscd/grpcache.c (cache_addgr): Likewise.
87277         * nscd/aicache.c (addhstaiX): Likewise.
87279 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87281         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87282         domain only when needed.
87284 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87287         is always restored.
87289 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87291         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87292         are re-adding the entry.
87293         * nscd/servicescache.c (cache_addserv): Likewise.
87295 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87297         * sysdeps/generic/dl-irel.h: fix protection against multiple
87298         inclusions.
87299         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87301 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87303         [BZ #12935]
87304         * malloc/memusage.sh: Fix quoting in message.
87305         * debug/xtrace.sh: Likewise.
87307         * configure.in: Remove support for --experimental-malloc option, make
87308         it the default.
87309         * config.make.in: Likewise.
87310         * malloc/Makefile: Likewise.
87312 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87314         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87315         two-byte characters.
87317 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87319         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87320         AC_CACHE_CHECK invocation.
87321         * configure: Regenerated.
87323         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87325 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87327         [BZ #12350]
87328         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87329         bit from old_res_options.
87331         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87333         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87334         value type for setfct.
87336 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87339         __gettimeofday instead of gettimeofday.
87341 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87343         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87345 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87350         info.
87352 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87355         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87356         strcpy-sse2-unaligned strncpy-sse2-unaligned
87357         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87358         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87359         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87360         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87361         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87363         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87364         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87365         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87366         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87367         (STRCPY): Support SSE2 and SSSE3 versions.
87369 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87371         [BZ #12874]
87372         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87373         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87374         kernels which artificially limit size of requests.
87376 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87379         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87380         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87381         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87382         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87383         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87384         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87385         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87386         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87387         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87388         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87389         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87390         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87391         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87392         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87394         Enable unaligned load optimization for Intel Core i3, i5 and i7
87395         processors.
87396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87397         Define.
87398         (index_Fast_Unaligned_Load): Define.
87399         (HAS_FAST_UNALIGNED_LOAD): Define.
87401 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87403         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87405 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87407         [BZ #12907]
87408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87409         until it is clear that the information is realy needed.
87410         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87412 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87416 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87419         /sys/devices/system/cpu/online if it is usable.
87421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87422         reading the information from the /proc filesystem to once a second.
87424 2011-06-21  Andreas Jaeger  <aj@suse.de>
87426         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87427         NULL after inclusion of kernel headers.
87429 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87431         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87432         calls to internal_setent.
87434         [BZ #12885]
87435         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87436         addresses using gethostbyname4_r ignore IPv4 addresses.
87438         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87439         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87441         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87443 2011-06-20  David S. Miller  <davem@davemloft.net>
87445         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87446         inclusions.
87447         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87449         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87450         (elf_irel): Use it.
87451         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87452         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87453         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87454         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87455         * sysdeps/x86_64/dl-irel.h: Likewise.
87457         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87458         * elf/dl-sym.c: Likewise.
87460 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87462         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87463         need to dereference resplen2.
87465 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87467         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87469 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87471         * Makeconfig: Define vardbdir and inst_vardbdir.
87472         * nss/Makefile: Add rules to install db-Makefile.
87474         * nss/nss_db/db-XXX.c: Cleanup.
87476         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87477         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87478         GLIBC_PRIVATE.
87479         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87480         * nss/makedb.c: Implement -g option to specify that value strings
87481         are generated and should not be added to table iterated over for
87482         get*ent calls.
87483         * nss/nss_db/db-initgroups.c: New file.
87485         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87486         interface.
87488         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87489         (internal_getgrouplist): Adjust to name change.
87490         Update use_initgroups_entry if this is not the first call.
87491         * nss/databases.def: Add initgroups entry.
87493         * nss/makedb.c (compute_tables): Check result of multiple hash table
87494         sizes to minimize maximum chain length.
87496 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87498         * Versions.def: Add entry for libnss_db.
87499         * shlib-versions: Likewise.
87500         * nss/Makefile: Add rules to build libnss_db.
87501         * nss/Versions: Add libnss_db information.  Organize libnss_files
87502         entries better.
87503         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87504         makedb progra.  Some minor improvements to generate smaller files.
87505         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87506         here from...
87507         * nss/makedb.c: ...here.
87508         Improve database format to be smaller and require less memory at
87509         runtime.
87510         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87511         db anymore.
87512         * nss/nss_db/db-netgrp.c: Likewise.
87513         * nss/nss_db/db-open.c: Likewise.
87514         * nss/nss_files/flies-XXX.x: Adjust comments.
87515         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87516         * nss/nss_files/files-grp.c: Likewise.
87517         * nss/nss_files/files-hosts.c: Likewise.
87518         * nss/nss_files/files-network.c: Likewise.
87519         * nss/nss_files/files-proto.c: Likewise.
87520         * nss/nss_files/files-pwd.c: Likewise.
87521         * nss/nss_files/files-rpc.c: Likewise.
87522         * nss/nss_files/files-service.c: Likewise.
87523         * nss/nss_files/files-sgrp.c: Likewise.
87524         * nss/nss_files/files-spwd.c: Likewise.
87525         * nss/nss_db/db-alias.c: Removed.
87526         * nss/nss_db/dummy-db.h: Removed.
87528 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87530         * nss/makedb.c: Rewritten to not use database library.
87531         * nss/Makefile: Update to build new makedb program.
87533 2011-06-14  Andreas Jaeger  <aj@suse.de>
87535         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87536         memset declaration.
87538 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87541         tmpbuf.
87543 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87545         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87546         * elf/Makefile ($(objpfx)ld.so): Likewise.
87548         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87549         Don't list ld.so twice in dependencies.
87551         * posix/bug-regex31.c: Include <stdlib.h>.
87553         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87555         * nis/nss_compat/compat-spwd.c
87556         (getspent_next_nss_netgr): Remove unused variable.
87557         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87559         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87560         nonmembers" output to use the right array.
87562         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87564         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87566         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87567         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87568         * catgets/gencat.c (read_input_file): Likewise.
87569         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87571         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87572         variable definition inside #if's controlling its use.
87574         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87576         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87578         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87580         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87581         unreachable code.
87583         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87585         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87586         * configure: Regenerated.
87588         * Makerules: Revert last change.
87589         * elf/Makefile: Likewise.
87591 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87593         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87594         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87595         (reloc-link): Likewise.
87597 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87599         * elf/Makefile: Add rules to build pldd.
87600         * elf/pldd.c: New file.
87601         * elf/pldd-xx.c: New file.
87603 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87605         * version.h: Update for 2.15 development version.
87607 2011-06-07  David S. Miller  <davem@davemloft.net>
87609         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87610         ifuncs.
87611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87612         elf_machine_lazy_rel): Likewise.
87613         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87615         elf_machine_lazy_rel): Likewise.
87616         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87617         dl_hwcap via passed in argument.
87618         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87619         Likewise.
87621 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87623         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87625 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87627         [BZ #12849]
87628         * manual/fdl-1.1.texi: New file, verbatim from:
87629         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87630         * manual/lgpl-2.1.texi: New file, verbatim from:
87631         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87632         * manual/Makefile (licenses): New variable, list those new file names.
87633         (texis): Use it.
87634         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87636         * manual/fdl.texi: File removed.
87637         * manual/lesser.texi: File removed.
87638         * manual/libc.texinfo (Copying, Documentation License):
87639         Use new @include file names, put @appendix directive before @include.
87641 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87643         [BZ #12841]
87644         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87645         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87646         (mq_open): Add __NTH.
87648 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87651         Assume Intel Core i3/i5/i7 processor if AVX is available.
87653 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87656         typo.
87658 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87660         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87661         memory.  Use alloca_account.  Fix memory leak when retrying.
87663 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87665         * version.h (RELEASE): Bump for 2.14 release.
87666         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87668         * config.make.in (RANLIB): Remove entry.
87670 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87672         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87673         (libc.pot): Work around missing support for .ksh extension in xgettext.
87675         [BZ #12684]
87676         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87677         if both request failed.
87678         (send_dg): In case of server errors clear resplen or *resplen2.
87680         [BZ #12454]
87681         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87682         when there are multiple maps.
87683         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87684         (_dl_fini): Remove test here.
87686         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87688 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87690         [BZ #12350]
87691         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87692         bit from old_res_options.
87693         (gaih_inet): Likewise.
87695         [BZ #11099]
87696         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87697         as signed.
87699         * resolv/res_init.c (res_setoptions): Make the code more compact.
87701         [BZ #11558]
87702         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87703         set RES_USEVC.
87705         [BZ #11634]
87706         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87708         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87710         [BZ #11781]
87711         * malloc/malloc.h: Declare malloc hook variables as volatile.
87713         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87714         in last patch.
87716         [BZ #11799]
87717         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87718         raise in the comment.
87719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87721         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87723 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87725         [BZ #12811]
87726         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87727         grow the buffers more if it already has to be sufficient.
87728         (build_wcs_upper_buffer): Likewise.
87729         * posix/regexec.c (check_matching): Likewise.
87730         (clean_state_log_if_needed): Likewise.
87731         (extend_buffers): Don't enlarge buffers beyond size of the input
87732         buffer.
87733         Patches mostly by Emil Wojak <emil@wojak.eu>.
87734         * posix/bug-regex32.c: New file.
87735         * posix/Makefile (tests): Add bug-regex32.
87737         * locale/findlocale.c (_nl_find_locale): Return right away if
87738         _nl_explode_name failed.
87739         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87741         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87743         * debug/xtrace.sh: Unify messages.
87744         * malloc/memusage.sh: Likewise.
87746         [BZ #12813]
87747         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87748         time symbol from vDSO.  Substitute with vsyscall if not available.
87749         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87750         __vdso_time.
87752         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87753         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87754         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87755         Add sendmmsg and internal_sendmmsg.
87756         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87757         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87758         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87760         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87761         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87762         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87764 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87766         [BZ #12813]
87767         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87768         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87769         available.
87770         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87771         __vdso_getcpu.
87773         [BZ #12814]
87774         * iconvdata/Makefile (tests): Add bug-iconv9.
87775         * iconvdata/bug-iconv9.c: New file.
87777 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87779         [BZ #12814]
87780         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87782 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87785         (struct user_regs_struct): Change intcs field back to cs.
87787 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87789         * po/ja.po: Update from translation team.
87791 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87793         [BZ #12795]
87794         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87795         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87797 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87799         * stdlib/longlong.h: Update from GCC.
87801 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87803         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87804         parameter name.
87805         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87806         Add parameter name.
87807         (__sysconf): Pass it down.
87809 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87811         [BZ #12671]
87812         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87813         some situations.
87814         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87815         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87816         add in in __libc_use_alloca calls.  Adjust callers.
87817         (glob): Use malloc in some situations.
87819         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87820         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87821         pltexit.
87823 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87825         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87826         and CLOCK_BOOTTIME_ALARM.
87828         [BZ #12782]
87829         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87830         is returned.
87832         * string/_strerror.c (__strerror_r): Print negative errors as signed
87833         numbers.
87835         [BZ #12777]
87836         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87837         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87838         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87840         * configure.in: Fix typo in redirection and correct removal of test
87841         files in two cases.
87843         [BZ #12788]
87844         * locale/setlocale.c (new_composite_name): Fix test to check for
87845         identical name of all categories.
87847         [BZ #12792]
87848         * libio/filedoalloc.c (local_isatty): New function.
87849         (_IO_file_doallocate): Use local_isatty.
87850         * stdio-common/perror.c (perror): In case a new stream is used
87851         forward the stream error.
87852         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87853         error flag.
87855 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87857         [BZ #11884]
87858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87859         alloca.
87860         * include/alloca.h (extend_alloca_account): Define.
87862         [BZ #11857]
87863         * posix/regex.h: Fix comments with documentation of user-accessible
87864         fields after compilation and describe correct free'ing of pattern
87865         after re_compile_pattern.
87866         Patch by Reuben Thomas <rrt@sc3d.org>.
87868 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87870         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87871         and -mno-altivec to prevent the compiler from using Altivec and/or
87872         VSX instructions when the corresponding registers are not available.
87874 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87876         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87878 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87880         * libio/freopen.c (freopen): Use __dup2, not dup2.
87881         * libio/freopen64.c (freopen64): Likewise.
87883 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87885         [BZ #12775]
87886         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87887         * math/Makefile (tests): Add test-powl.
87888         (CFLAGS-test-powl.c): Define.
87889         * math/test-powl.c: New file.
87891 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87893         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87895 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87897         [BZ #11837]
87898         * iconvdata/gb18030.c: Update to GB18020-2005.
87900 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87902         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87903         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87904         Patch by Aharon Robbins <arnold@skeeve.com>.
87906         [BZ #11892]
87907         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87908         on the stack.
87910         [BZ #11895]
87911         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87912         through underflows.
87914         [BZ #12766]
87915         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87916         point to strings before performing equality test for error_one_per_line
87917         mode.
87919         [BZ #11697]
87920         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87922         [BZ #11820]
87923         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87924         (struct user_fpregs_struct): Avoid __uint*_t types.
87926         [BZ #6420]
87927         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87928         symbol info.  Use it instead of calling _dl_addr locally.
87929         (lock_and_info): New function.
87930         (tr_freehook): Call lock_and_info and pass symbol info as additional
87931         parameter to tr_where.
87932         (tr_mallochook): Likewise.
87933         (tr_reallochook): Likewise.
87934         (tr_memalignhook): Likewise.
87936         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87937         used and couldn't be at all thread-safe.
87939 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87941         * libio/freopen.c (freopen): Don't close old file descriptor
87942         before the new one is opened.  Instead dup the new file descriptor
87943         to the old one after the new stream is created.
87944         * libio/freopen64.c (freopen64): Likewise.
87945         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87946         * libio/fileops.c (_IO_new_file_close_it): Handle new
87947         _IO_FLAGS2_NOCLOSE flag.
87948         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87949         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87950         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87951         _IO_FLAGS2_NOCLOSE flag.
87952         * include/unistd.h: Add hidden_proto for dup3.
87953         Define __have_dup3.
87954         * io/dup3.c: Define hidden symbol.
87955         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87957         [BZ #7101]
87958         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87959         when an incomplete long option is used.
87960         * posix/tst-getopt_long1.c: New file.
87961         * posix/Makefile (tests): Add tst-getopt_long1.
87963         [BZ #10138]
87964         * scripts/config.guess: Update from autoconf-2.68.
87965         * scripts/config.sub: Likewise.
87967         [BZ #10157]
87968         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87969         tests into ...
87970         (has_cpuclock): ...this.  New function.
87971         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87972         macro here based on has_cpuclock code.
87974         [BZ #10149]
87975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87976         First byte (not low byte) is now always NUL.
87977         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87979         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87980         Use non-cancelable interfaces.
87982         [BZ #9809]
87983         * locale/iso-639.def: Add entry for Sorani.
87985         [BZ #11901]
87986         * include/stdlib.h: Move include protection to the right place.
87987         Define abort_msg_s.  Declare __abort_msg with it.
87988         * stdlib/abort.c (__abort_msg): Adjust type.
87989         * assert/assert.c (__assert_fail_base): New function.  Majority
87990         of code from __assert_fail.  Allocate memory for __abort_msg with
87991         mmap.
87992         (__assert_fail): Now call __assert_fail_base.
87993         * assert/assert-perr.c: Remove bulk of implementation.  Use
87994         __assert_fail_base.
87995         * include/assert.hL Declare __assert_fail_base.
87996         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87997         mmap.
87998         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88000 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88002         [BZ #11952]
88003         [BZ #12453]
88004         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88005         until all modules are registered in the DTV.
88006         * elf/Makefile: Add rules to build and run tst-tls19.
88007         * elf/tst-tls19.c: New file.
88008         * elf/tst-tls19mod1.c: New file.
88009         * elf/tst-tls19mod2.c: New file.
88010         * elf/tst-tls19mod3.c: New file.
88011         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88013         [BZ #12083]
88014         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88015         correctly.
88017         [BZ #12601]
88018         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88019         two-byte sequence errors.
88020         * iconvdata/Makefile (tests): Add bug-iconv8.
88021         * iconvdata/bug-iconv8.c: New file.
88023         [BZ #12626]
88024         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88025         buf2 definition.
88027         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88029         [BZ #12432]
88030         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88031         (dummy_getcfa): New function.
88032         (init): Get _Unwind_GetCFA address, use dummy if not found.
88033         (backtrace_helper): In recursion check, also check whether CFA changes.
88034         (__backtrace): Completely initialize arg.
88036         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88037         storing incomplete byte sequence in state object.  Avoid testing for
88038         guaranteed too small input if we know there is enough data available.
88040 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88042         * Makeconfig (+link-pie): Indent.
88043         * Rules (binaries-pie): Define if $(have-fpie) and
88044         $(build-shared).
88045         (binaries-shared): Also filter out $(binaries-pie).
88046         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88047         * nscd/Makefile (others-pie): Add nscd.
88048         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88049         ($(objpfx)nscd): Remove command override.
88050         * login/Makefile (others-pie): Add pt_chown.
88051         ($(objpfx)pt_chown): Remove command override.
88052         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88053         remove command overrides.
88055 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88057         * libio/tst_putwc.c: Fix error messages.
88059         [BZ #12724]
88060         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88061         currently writing and seek to current position when not.
88062         * libio/Makefile (tests): Add bug-fclose1.
88063         * libio/bug-fclose1.c: New file.
88065 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88067         [BZ #12511]
88068         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88069         don't set DF_1_NODELETE here.
88070         (do_lookup_x): When entering new entry test for copy relocation
88071         and if necessary set DF_1_NODELETE flag.
88072         * elf/tst-unique4.cc: New file.
88073         * elf/tst-unique4.h: New file.
88074         * elf/tst-unique4lib.cc: New file.
88075         * elf/Makefile: Add rules to build and run tst-unique4.
88076         Patch by Piotr Bury <pbury@goahead.com>.
88078 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88080         [BZ #12052]
88081         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88083         [BZ #12625]
88084         * misc/mntent_r.c (addmntent): Flush the stream after the output
88086         [BZ #12393]
88087         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88088         (is_trusted_path_normalize): Skip initial colon.  Append slash
88089         to empty buffer.  Duplicate is_trusted_path code but allow
88090         constructed patch to be prefix.
88091         (is_dst): Allow $ORIGIN followed by /.
88092         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88093         Correct testing of result of is_trusted_path_normalize
88094         (decompose_rpath): Fix warning.
88096 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88098         [BZ #11257]
88099         * grp/initgroups.c (internal_getgrouplist): When we found the service
88100         list through the initgroups entry in nsswitch.conf do not always
88101         continue on a successful lookup.  Don't always use the
88102         __nss_group_database value if it is set.
88103         * nss/nsswitch.conf (initgroups): Change action for successful db
88104         lookup to continue for compatibility.
88106 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88108         [BZ #11532]
88109         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88110         and CP774 modules.
88111         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88112         and CP774 modules.
88113         * iconvdata/tst-tables.sh: Likewise.
88114         * iconvdata/cp770.c: New file.
88115         * iconvdata/cp771.c: New file.
88116         * iconvdata/cp772.c: New file.
88117         * iconvdata/cp773.c: New file.
88118         * iconvdata/cp774.c: New file.
88119         * iconvdata/testdata/CP770: New file.
88120         * iconvdata/testdata/CP770..UTF8: New file.
88121         * iconvdata/testdata/CP771: New file.
88122         * iconvdata/testdata/CP771..UTF8: New file.
88123         * iconvdata/testdata/CP772: New file.
88124         * iconvdata/testdata/CP772..UTF8: New file.
88125         * iconvdata/testdata/CP773: New file.
88126         * iconvdata/testdata/CP773..UTF8: New file.
88127         * iconvdata/testdata/CP774: New file.
88128         * iconvdata/testdata/CP774..UTF8: New file.
88130         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88131         END CHARMAP line.
88132         * iconvdata/gen-8bit-gap.sh: Likewise.
88133         * iconvdata/gen-8bit.sh: Likewise.
88135         * locale/iso-639.def: Add ary entry.
88137         [BZ #11258]
88138         * locale/C-translit.h.in: Add U20A1 transliteration.
88140         [BZ #12178]
88141         * locale/iso-639.def: Add wae entry.
88142         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88144         [BZ #12545]
88145         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88146         for n.
88148         [BZ #12711]
88149         * locale/C-translit.h.in: Add entry for U20B9.
88150         Patch by pravin.d.s@gmail.com.
88152 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88154         [BZ #12713]
88155         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88156         ENAMETOOLONG use generic getcwd.
88157         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88158         in rtld.  Use *stat64.
88159         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88160         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88161         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88162         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88163         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88164         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88165         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88166         __fstatat64 macros.
88167         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88168         * dirent/rewinddir.c: Add libc_hidden_def.
88169         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88170         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88172         * include/dirent.h (__alloc_dir): Add flags parameter.
88173         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88174         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88175         __alloc_dir.
88176         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88177         from fdopendir if O_CLOEXEC is already set.
88179 2011-03-15  Alan Modra  <amodra@gmail.com>
88181         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88182         l_tls_firstbyte_offset non-zero.  Save padding offset in
88183         l_tls_firstbyte_offset for later use.
88184         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88185         freeing static tls block.
88187 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88189         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88190         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88191         being defined by the kernel headers.
88193 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88195         [BZ #12734]
88196         * resolv/resolv.h: Define RES_NOTLDQUERY.
88197         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88198         no-tld-query and set RES_NOTLDQUERY.
88199         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88200         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88201         modern BIND to search name as TLD unless forbidden.
88203 2011-05-07  Petr Baudis  <pasky@suse.cz>
88204             Ulrich Drepper  <drepper@gmail.com>
88206         [BZ #12393]
88207         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88208         (is_trusted_path): ...to here.
88209         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88210         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88211         using is_trusted_path_normalize() in setuid scripts.
88213 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88215         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88216         __BEGIN/__END_DECLS.
88218 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88220         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88221         NSS_STATUS_NOTFOUND if no record was found.
88223 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88225         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88226         (headers-not-in-tirpc): Remove rpc/netdb.h
88227         * resolv/netdb.h: Revert last change.
88229 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88231         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88232         circular dependency between libgcc.a and libc.a.
88234 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88236         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88237         * nis/Makefile: Don't install rpcsvc/*.
88238         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88239         instead of <rpc/types.h>.
88240         (MAXHOSTNAMELEN): Define.
88242 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88244         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88246 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88248         [BZ #12714]
88249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88250         gethostbyname4_r when IPv6 results are possible.
88252 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88254         [BZ #12723]
88255         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88256         _PC_PIPE_BUF handling.
88258 2011-04-30  Bruno Haible  <bruno@clisp.org>
88260         [BZ #12717]
88261         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88262         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88263         to 'int'.
88264         * inet/getnameinfo.c (getnameinfo): Likewise.
88266 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88268         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88269         to groups setting in database lookup.
88270         * nss/nsswitch.conf: Add initgroups entry.
88272 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88274         [BZ #12685]
88275         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88276         mode string.
88277         Patch by Eric Blake <eblake@redhat.com>.
88279 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88281         * sunrpc/Makefile (need-export-routines): Add svc_run.
88282         (routines): Remove svc_run.
88283         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88284         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88285         * sunrpc/svc_run.c (svc_run): Likewise.
88286         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88288 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88290         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88291         problem in reallocation in last patch.
88293 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88295         * sunrpc/Makefile: Move inclusion of Rules.
88297 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88299         * nss/nss_files/files-initgroups.c: New file.
88300         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88301         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88302         _nss_files_initgroups_dyn.
88304 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88306         * elf/elf.h (R_ARM_IRELATIVE): Define.
88308 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88310         * po/ru.po: Update from translation team.
88312 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88314         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88315         dependencies.
88317 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88319         [BZ #12653]
88320         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88321         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88323         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88326 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88328         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88329         differing bytes.
88330         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88331         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88334 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88336         [BZ #12420]
88337         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88338         storing it.
88339         * stdlib/bug-getcontext.c: New file.
88340         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88342 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88344         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88345         instructions into .machine "z9-109".
88346         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88347         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88349 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88351         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88352         between environment variables and auxiliary vector.
88354 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88356         * Makefile: Add rules to build linkobj/libc.so.
88357         * include/libc-symbols.h: Define libc_hidden_nolink.
88358         * include/rpc/auth.h: Mark functions which are to be hidden.
88359         * include/rpc/auth_des.h: Likewise.
88360         * include/rpc/auth_unix.h: Likewise.
88361         * include/rpc/clnt.h: Likewise.
88362         * include/rpc/des_crypt.h: Likewise.
88363         * include/rpc/key_prot.h: Likewise.
88364         * include/rpc/pmap_clnt.h: Likewise.
88365         * include/rpc/pmap_prot.h: Likewise.
88366         * include/rpc/pmap_rmt.h: Likewise.
88367         * include/rpc/rpc_msg.h: Likewise.
88368         * include/rpc/svc.h: Likewise.
88369         * include/rpc/svc_auth.h: Likewise.
88370         * include/rpc/xdr.h: Likewise.
88371         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88372         * nss/Makefile: Likewise.
88373         * sunrpc/Makefile: Don't install headers.  Build library with normal
88374         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88375         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88376         for the compat linking library.  Remove use of INTDEF/INTUSE.
88377         * sunrpc/auth_none.c: Likewise.
88378         * sunrpc/auth_unix.c: Likewise.
88379         * sunrpc/authdes_prot.c: Likewise.
88380         * sunrpc/authuxprot.c: Likewise.
88381         * sunrpc/clnt_gen.c: Likewise.
88382         * sunrpc/clnt_perr.c: Likewise.
88383         * sunrpc/clnt_raw.c: Likewise.
88384         * sunrpc/clnt_simp.c: Likewise.
88385         * sunrpc/clnt_tcp.c: Likewise.
88386         * sunrpc/clnt_udp.c: Likewise.
88387         * sunrpc/clnt_unix.c: Likewise.
88388         * sunrpc/des_crypt.c: Likewise.
88389         * sunrpc/des_soft.c: Likewise.
88390         * sunrpc/get_myaddr.c: Likewise.
88391         * sunrpc/key_call.c: Likewise.
88392         * sunrpc/key_prot.c: Likewise.
88393         * sunrpc/netname.c: Likewise.
88394         * sunrpc/pm_getmaps.c: Likewise.
88395         * sunrpc/pm_getport.c: Likewise.
88396         * sunrpc/pmap_clnt.c: Likewise.
88397         * sunrpc/pmap_prot.c: Likewise.
88398         * sunrpc/pmap_prot2.c: Likewise.
88399         * sunrpc/pmap_rmt.c: Likewise.
88400         * sunrpc/publickey.c: Likewise.
88401         * sunrpc/rpc_cmsg.c: Likewise.
88402         * sunrpc/rpc_common.c: Likewise.
88403         * sunrpc/rpc_dtable.c: Likewise.
88404         * sunrpc/rpc_prot.c: Likewise.
88405         * sunrpc/rpc_thread.c: Likewise.
88406         * sunrpc/rtime.c: Likewise.
88407         * sunrpc/svc.c: Likewise.
88408         * sunrpc/svc_auth.c: Likewise.
88409         * sunrpc/svc_authux.c: Likewise.
88410         * sunrpc/svc_raw.c: Likewise.
88411         * sunrpc/svc_run.c: Likewise.
88412         * sunrpc/svc_simple.c: Likewise.
88413         * sunrpc/svc_tcp.c: Likewise.
88414         * sunrpc/svc_udp.c: Likewise.
88415         * sunrpc/svc_unix.c: Likewise.
88416         * sunrpc/svcauth_des.c: Likewise.
88417         * sunrpc/xcrypt.c: Likewise.
88418         * sunrpc/xdr.c: Likewise.
88419         * sunrpc/xdr_array.c: Likewise.
88420         * sunrpc/xdr_float.c: Likewise.
88421         * sunrpc/xdr_intXX_t.c: Likewise.
88422         * sunrpc/xdr_mem.c: Likewise.
88423         * sunrpc/xdr_rec.c: Likewise.
88424         * sunrpc/xdr_ref.c: Likewise.
88425         * sunrpc/xdr_sizeof.c: Likewise.
88426         * sunrpc/xdr_stdio.c: Likewise.
88428 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88430         [BZ #12650]
88431         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88432         * sysdeps/ia64/dl-tls.h: Likewise.
88433         * sysdeps/powerpc/dl-tls.h: Likewise.
88434         * sysdeps/s390/dl-tls.h: Likewise.
88435         * sysdeps/sh/dl-tls.h: Likewise.
88436         * sysdeps/sparc/dl-tls.h: Likewise.
88437         * sysdeps/x86_64/dl-tls.h: Likewise.
88438         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88440 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88442         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88443         rpath element also skip the following colon.
88444         (expand_dynamic_string_token): Add is_path parameter and pass
88445         down to DL_DST_REQUIRED and _dl_dst_substitute.
88446         (decompose_rpath): Call expand_dynamic_string_token with
88447         non-zero is_path.  Ignore empty rpaths.
88448         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88449         with zero is_path.
88451 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88454         Make cancelable.
88456 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88458         [BZ #12655]
88459         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88460         Patch by Filipe David Manana <fdmanana@apache.org>.
88462 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88464         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88465         Maintain aligned stack.
88466         (CHECK_RSP): Remove unused macro.
88468 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88470         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88471         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88473 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88475         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88477         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88479 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88481         [BZ #12518]
88482         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88483         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88484         * sysdeps/x86_64/memmove.c: New file.
88485         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88486         (memcpy): Renamed to ...
88487         (__new_memcpy): This.
88488         (memcpy): Provide GLIBC_2_14 memcpy.
88489         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88490         (memcpy): Provide GLIBC_2_2_5 memcpy.
88492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88494         [BZ #12631]
88495         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88497 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88499         * misc/syncfs.c: New file.
88500         * misc/Makefile (routines): Add syncfs.
88501         * posix/unistd.h: Declare syncfs.
88502         * sysdeps/unix/syscalls.list: Add syncfs.
88504 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88506         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88507         open_by_handle_at.
88508         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88509         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88511         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88512         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88513         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88516 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88520         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88526         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88527         sync_file_range.c with -fexceptions.
88528         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88529         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88530         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88531         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88532         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88533         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88534         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88535         sync_file_range as cancellation point
88536         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88537         now a wrapper around __call_sync_file_range with cancellation handling.
88538         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88539         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88540         function name to __call_sync_file_range.
88541         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88542         Add call_sync_file_range.
88544 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88547         bits/timex.h.
88549 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88551         * iconv/iconv.h: Fix typo in comment.
88552         * io/fcntl.h: Likewise.
88553         * libio/stdio.h: Likewise.
88554         * posix/spawn.h: Likewise.
88555         * posix/unistd.h: Likewise.
88556         * stdlib/stdlib.h: Likewise.
88557         * time/time.h: Likewise.
88558         * wcsmbs/wchar.h: Likewise.
88560         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88561         open_by_handle): Add.
88562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88563         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88564         Augment a few comments.
88565         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88569         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88570         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88571         open_by_handle.
88573         * io/fcntl.h (AT_EMPTY_PATH): Define.
88575 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88577         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88578         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88579         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88580         to...
88581         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88582         * Versions.def: Add GLIBC_2.14.
88583         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88584         Export.
88586 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88588         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88589         round counter.
88590         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88592 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88594         [BZ #12597]
88595         * string/test-strncmp.c (do_page_test): New function.
88596         (check2): Likewise.
88597         (test_main): Call check2.
88598         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88600 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88602         [BZ #12587]
88603         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88604         Handle cache information in CPU leaf 4.
88605         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88607 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88609         [BZ #12583]
88610         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88611         character representation.
88612         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88614 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88616         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88617         END(__isnan) to END(__isnanf) to match function entry point/label
88618         EALIGN(__isnanf,...).
88620 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88622         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88624 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88626         [BZ #12510]
88627         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88628         copy from the symbol referenced in the relocation to initialize the
88629         used variable.
88630         Patch by Piotr Bury <pbury@goahead.com>.
88631         * elf/Makefile: Add rules to build and tst-unique3.
88632         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88633         * elf/tst-unique3.cc: New file.
88634         * elf/tst-unique3.h: New file.
88635         * elf/tst-unique3lib.cc: New file.
88636         * elf/tst-unique3lib2.cc: New file.
88638         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88640 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88642         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88643         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88644         to _start.
88646 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88648         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88649         to-be-loaded object along a path to loader is ld.so.
88651 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88652             Ulrich Drepper  <drepper@gmail.com>
88654         * sysdeps/x86_64/memset.S: After aligning destination, code
88655         branches to different locations depending on the value of
88656         misalignment, when multiarch is enabled. Fix this.
88658 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88660         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88661         Set _x86_64_preferred_memory_instruction for AMD processsors.
88662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88663         Set bit_Prefer_SSE_for_memop for AMD processors.
88665 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88667         * libio/fmemopen.c (fmemopen): Optimize a bit.
88669 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88671         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88673 2011-03-03  Roland McGrath  <roland@redhat.com>
88675         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88677 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88679         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88680         __bzero_ultra1 instead of __memset_ultra1.
88682 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88683             Ulrich Drepper  <drepper@gmail.com>
88685         [BZ #12509]
88686         * include/link.h (struct link_map): Add l_orig_initfini.
88687         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88688         returning unsuccessfully.
88689         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88690         close of a file loaded at startup, restore the original l_initfini
88691         list.
88692         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88693         list, store the pointer.
88694         * elf/Makefile ($(objpfx)noload-mem): New rule.
88695         (noload-ENV): Define.
88696         (tests): Add $(objpfx)noload-mem.
88697         * elf/noload.c: Include <memcheck.h>.
88698         (main): Call mtrace.  Close all opened handles.
88700 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88702         [BZ #12454]
88703         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88704         dependencies are missing.
88706 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88708         Fix __if_freereq crash: Unlike the generic version which uses free,
88709         Hurd needs munmap.
88710         * sysdeps/mach/hurd/ifreq.h: New file.
88712 2011-01-27  Petr Baudis  <pasky@suse.cz>
88713             Ulrich Drepper  <drepper@gmail.com>
88715         [BZ 12445]#
88716         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88717         to extend_alloca().
88718         * stdio-common/bug23.c: New file.
88719         * stdio-common/Makefile (tests): Add bug23.
88721 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88722             Ulrich Drepper  <drepper@gmail.com>
88724         [BZ #12489]
88725         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88726         before performing relro protection.  At old place add assertion
88727         to make sure nothing changed.
88729 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88730             Glauber de Oliveira Costa  <glommer@gmail.com>
88732         * elf/elf.h: Add new ARM TLS relocs.
88734 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88737         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88738         cast from r3.
88739         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88740         'tests' variable.
88741         * sysdeps/wordsize-64/tst-writev.c: New file.
88743 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88745         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88746         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88747         insns in _dl_start to prevent a TOC reference before relocs are
88748         resolved.
88750 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88752         [BZ #12469]
88753         * Makeconfig: Remove RANLIB definition.
88754         * Makerules: Don't use RANLIB.
88755         * aclocal.m4: Remove ranlib test.
88756         * configure.in: No need to check for ranlib.
88757         * elf/rtld-Rules: Don't use RANLIB.
88759 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88761         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88762         protection macro.
88763         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88764         inclusion protection macro.
88766         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88767         SIGRTMIN and SIGRTMAX and print information in that case only when
88768         SIGRTMIN is defined.
88770 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88772         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88773         arginfo fn returning -1.
88775         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88776         and thousands string is zero terminated.
88778 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88781         sysdeps/unix/sysv/linux/bits/socket.h.
88783 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88785         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88786         (__CPU_COUNT): Remove old macros.
88787         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88788         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88789         (__CPU_ALLOC, __CPU_FREE): Add macros.
88790         (__sched_cpualloc, __sched_cpufree): Add declarations.
88792 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88794         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88795         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88796         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88797         (readdhstai): Return value of addhstaiX call.
88798         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88799         (addgrbyX): Return value returned by cache_addgr.
88800         (readdgrbyname): Return value returned by addgrbyX.
88801         (readdgrbygid): Likewise.
88802         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88803         (addpwbyX): Return value returned by cache_addpw.
88804         (readdpwbyname): Return value returned by addhstbyX.
88805         (readdpwbyuid): Likewise.
88806         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88807         (addservbyX): Return value returned by cache_addserv.
88808         (readdservbyname): Return value returned by addservbyX:
88809         (readdservbyport): Likewise.
88810         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88811         (addhstbyX): Return value returned by cache_addhst.
88812         (readdhstbyname): Return value returned by addhstbyX.
88813         (readdhstbyaddr): Likewise.
88814         (readdhstbynamev6): Likewise.
88815         (readdhstbyaddrv6): Likewise.
88816         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88817         (readdinitgroups): Return value returned by addinitgroupsX.
88818         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88819         (prune_cache): Keep track of timeout value of re-added entries.
88820         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88821         * nscd/nscd.h: Adjust prototypes of readd* functions.
88823 2011-02-04  Roland McGrath  <roland@redhat.com>
88825         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88826         (nis_stats): Likewise.
88827         * nis/nis_modify.c (nis_modify): Likewise.
88828         * nis/nis_remove.c (nis_remove): Likewise.
88829         * nis/nis_add.c (nis_add): Likewise.
88831         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88833         * posix/fnmatch_loop.c: Add some consts.
88835         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88837 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88839         [BZ #12460]
88840         * config.make.in (config-cflags-novzeroupper): Define.
88841         * configure.in: Substitute libc_cv_cc_novzeroupper.
88842         * elf/Makefile (AVX-CFLAGS): Define.
88843         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88844         (CFLAGS-tst-auditmod4a.c): Likewise.
88845         (CFLAGS-tst-auditmod4b.c): Likewise.
88846         (CFLAGS-tst-auditmod6b.c): Likewise.
88847         (CFLAGS-tst-auditmod6c.c): Likewise.
88848         (CFLAGS-tst-auditmod7b.c): Likewise.
88849         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88851 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88853         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88854         function to the callback.
88855         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88857 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88859         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88860         of errno.
88862 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88864         [BZ #11724]
88865         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88866         of constructors.
88867         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88868         of destructors.
88869         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88871         [BZ #11724]
88872         * elf/Makefile: Add rules to build and run new test.
88873         * elf/tst-initorder.c: New file.
88874         * elf/tst-initorder.exp: New file.
88875         * elf/tst-initordera1.c: New file.
88876         * elf/tst-initordera2.c: New file.
88877         * elf/tst-initordera3.c: New file.
88878         * elf/tst-initordera4.c: New file.
88879         * elf/tst-initorderb1.c: New file.
88880         * elf/tst-initorderb2.c: New file.
88881         * elf/tst-order-a1.c: New file.
88882         * elf/tst-order-a2.c: New file.
88883         * elf/tst-order-a3.c: New file.
88884         * elf/tst-order-a4.c: New file.
88885         * elf/tst-order-b1.c: New file.
88886         * elf/tst-order-b2.c: New file.
88887         * elf/tst-order-main.c: New file.
88888         New test case by George Gensure <werkt0@gmail.com>.
88890 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88893         decoding ACE if AI_CANONIDN.
88895 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88897         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88899 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88901         * version.h (RELEASE): Bump for 2.13 release.
88902         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88904         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88906         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88907         MADV_NOHUGEPAGE.
88908         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88909         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88910         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88911         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88912         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88913         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88915         * posix/getconf.c: Update copyright year.
88916         * catgets/gencat.c: Likewise.
88917         * csu/version.c: Likewise.
88918         * debug/catchsegv.sh: Likewise.
88919         * debug/xtrace.sh: Likewise.
88920         * elf/ldconfig.c: Likewise.
88921         * elf/ldd.bash.in: Likewise.
88922         * elf/sprof.c (print_version): Likewise.
88923         * iconv/iconv_prog.c: Likewise.
88924         * iconv/iconvconfig.c: Likewise.
88925         * locale/programs/locale.c: Likewise.
88926         * locale/programs/localedef.c: Likewise.
88927         * malloc/memusage.sh: Likewise.
88928         * malloc/mtrace.pl: Likewise.
88929         * nscd/nscd.c (print_version): Likewise.
88930         * nss/getent.c: Likewise.
88932         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88933         PF_CAIF, and PF_ALG.
88934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88936 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88938         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88939         (modules-names): Use them.
88940         (ifunc-test-modules, ifunc-pie-tests): Define.
88941         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88942         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88943         (test-extras): Likewise.
88944         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88945         $(compile-command.c).
88946         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88947         (all-built-dso): Define.
88948         (check-textrel.out, check-execstack.out): Depend on it.
88950         * configure.in: Don't override --enable-multi-arch.
88952 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88954         [BZ #6812]
88955         * nscd/hstcache.c (tryagain): Define.
88956         (cache_addhst): Return tryagain not notfound for temporary errors.
88957         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88958         failed.
88960 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88962         [BZ #10563]
88963         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88964         to make the syscall.
88965         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88967         [BZ #12378]
88968         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88969         and fall back to matching as normal character if the string ends before
88970         the matching ']' is found.  This is what POSIX requires.
88971         * posix/testfnm.c: Adjust test result.
88972         * posix/globtest.sh: Adjust test result.  Add new test.
88973         * posix/tst-fnmatch.input: Likewise.
88974         * posix/tst-fnmatch2.c: Add new test.
88976 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88978         * elf/Makefile (check-execstack): Revert last change.  Depend on
88979         check-execstack.h.
88980         (check-execstack.h): New target.
88981         (generated): Add check-execstack.h.
88982         * elf/check-execstack.c: Include "check-execstack.h".
88983         (main): Revert last change.
88984         (handle_file): Return zero if GNU_STACK is absent and
88985         DEFAULT_STACK_PERMS doesn't include PF_X.
88987 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88989         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88990         in child fails because the descriptor is already closed.
88991         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88992         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88993         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88995         [BZ #12397]
88996         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88997         syscall.
88999         [BZ #10484]
89000         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89001         temporary buffer used to handle multi lookups locally.
89002         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89004 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89006         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89007         loader is ld.so.
89009 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89011         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89012         alignment for SSE2.
89014 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89016         [BZ #12394]
89017         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89018         characters.  When rounding increased number of integer digits recompute
89019         number of groups.
89020         * stdio-common/tst-grouping.c: New file.
89021         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89023 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89025         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89026         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89028         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89029         void.
89030         * bits/select.h: Likewise.
89032 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89034         * po/ja.po: Update from translation team.
89036 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89038         [BZ #11155]
89039         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89040         implementation just like for lxstat, fxstatat, et al.
89042 2010-12-27  Jim Meyering  <meyering@redhat.com>
89044         [BZ #12348]
89045         * posix/regexec.c (build_trtable): Return failure indication upon
89046         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89048 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89050         [BZ #12201]
89051         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89052         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89053         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89054         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89056         [BZ #12207]
89057         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89059         [BZ #12204]
89060         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89061         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89063 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89065         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89066         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89067         script has SORT_BY_INIT_PRIORITY.
89068         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89069         NO_CTORS_DTORS_SECTIONS is defined.
89070         * elf/soinit.c: Likewise.
89071         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89072         NO_CTORS_DTORS_SECTIONS is defined.
89073         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89074         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89075         * sysdeps/sh/init-first.c: Likewise.
89076         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89078 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89080         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89081         always use the slow path.
89083 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89085         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89086         similar rule which adds the sysdep directories to the header search in
89087         order to pick up the correct platform stackinfo.h.
89088         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89089         perform test if it is, otherwise return successfully without testing.
89090         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89091         DEFAULT_STACK_PERMS define in stackinfo.h.
89092         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89093         defined in stackinfo.h.
89094         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89095         DEFAULT_STACK_PERMS defined in stackinfo.h.
89096         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89097         * sysdeps/ia64/stackinfo.h: Likewise.
89098         * sysdeps/s390/stackinfo.h: Likewise.
89099         * sysdeps/sh/stackinfo.h: Likewise.
89100         * sysdeps/sparc/stackinfo.h: Likewise.
89101         * sysdeps/x86_64/stackinfo.h: Likewise.
89102         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89103         PF_X for powerpc64.  Retain PF_X for powerpc32.
89105 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89107         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89108         accurately.
89109         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89110         GETDENTS_64BIT_ALIGNED.
89112 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89114         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89116 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89118         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89119         _GNU_SOURCE.
89121         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89122         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89123         Remove __restrict.
89124         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89125         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89127 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89129         [BZ #11655]
89130         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89131         are initialized.
89133 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89135         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89137 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89139         * po/it.po: Update from translation team.
89141 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89143         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89144         unused codes.
89146 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89148         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89150 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89152         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89153         specially.
89154         (gaih_getanswer_slice): Likewise.
89156 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89160 2010-05-31  Petr Baudis  <pasky@suse.cz>
89162         [BZ #11149]
89163         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89164         silently even in the chroot mode.
89166 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89168         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89169         last patch a bit.  Pretty printing
89171 2010-05-31  Petr Baudis <pasky@suse.cz>
89173         [BZ #10085]
89174         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89175         initialization of skip_initgroups_dyn.
89177 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89179         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89182 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89184         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89186 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89188         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89189         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89190         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89191         ($(objpfx)tst-fnmatch-mem): New rule.
89192         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89193         * posix/tst-fnmatch.c (main): Call mtrace.
89195 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89198         Support Intel processor model 6 and model 0x2c.
89200 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89202         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89203           signed comparison.
89205 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89207         [BZ #12205]
89208         * string/test-strncasecmp.c (check_result): New function.
89209         (do_one_test): Use it.
89210         (check1): New function.
89211         (test_main): Use it.
89212         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89213         Support strcasecmp and strncasecmp.
89215 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89217         [BZ #12194]
89218         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89219         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89221 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89223         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89224         IFUNC support.
89225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89226         memset-x86-64.
89227         * sysdeps/x86_64/multiarch/bzero.S: New file.
89228         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89229         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89230         * sysdeps/x86_64/multiarch/memset.S: New file.
89231         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89233         Set bit_Prefer_SSE_for_memop for Intel processors.
89234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89235         Define.
89236         (index_Prefer_SSE_for_memop): Define.
89237         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89239 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89241         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89242         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89244 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89246         [BZ #12191]
89247         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89248         (__x86_64_raw_data_cache_size_half): Likewise.
89249         (__x86_64_raw_shared_cache_size): Likewise.
89250         (__x86_64_raw_shared_cache_size_half): Likewise.
89252         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89253         (__x86_64_raw_data_cache_size_half): Likewise.
89254         (__x86_64_raw_shared_cache_size): Likewise.
89255         (__x86_64_raw_shared_cache_size_half): Likewise.
89256         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89257         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89258         and __x86_64_raw_shared_cache_size_half.  Round
89259         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89260         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89261         to multiple of 256 bytes.
89263 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89265         [BZ #12167]
89266         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89267         of inacessible symlinks.  Verify result of symlink before returning it.
89268         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89269         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89271 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89273         * math/math.h (isinf): Fix typo in comment.
89275 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89277         * po/da.po: Update from translation team.
89279 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89281         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89282         is added to the list.
89284 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89285             Ulrich Drepper  <drepper@gmail.com>
89287         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89288         the global list here.  Move code to...
89289         (_dl_add_to_namespace_list): ...here.  New function.
89290         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89291         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89292         * elf/dl-load.c (lose): Don't remove the element from the list.
89293         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89294         (_dl_map_object): Likewise.
89296 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89298         [BZ #12159]
89299         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89300         into all bytes of SSE register.
89301         Patch by Richard Li <richardpku@gmail.com>.
89303 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89305         [BZ #12140]
89306         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89307         perturbing.
89309 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89311         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89312         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89313         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89314         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89316         submachine.
89317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89319 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89321         * include/dlfcn.h (__RTLD_SECURE): Define.
89322         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89323         mode & __RTLD_SECURE instead.
89324         (open_path): Rename preloaded parameter to secure.
89325         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89326         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89327         * elf/dl-deps.c (openaux): Likewise.
89328         * elf/rtld.c (struct map_args): Remove is_preloaded.
89329         (map_doit): Don't use it.
89330         (dl_main): Likewise.
89331         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89332         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89334 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89336         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89337         (sysd-rules-targets): Remove duplicates.
89338         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89339         rtld-%.$o dependency.
89341 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89343         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89344         _dl_map_object do it.
89346 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89348         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89349         fast fma builtins, define the macros in the C99 standard.
89350         (FP_FAST_FMAF): Likewise.
89351         (FP_FAST_FMAL): Likewise.
89352         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89354         * bits/mathdef.h: Update copyright year.
89355         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89357 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89359         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89360         builtins, define the macros in the C99 standard.
89361         (FP_FAST_FMAF): Likewise.
89362         (FP_FAST_FMAL): Likewise.
89363         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89364         multiply/add.
89365         (FP_FAST_FMAF): Likewise.
89367 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89369         [BZ #3268]
89370         * math/libm-test.inc (fma_test): Some new testcases.
89371         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89373         y and infinite z.  Do multiplication by C already in long double.
89374         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89376         y and infinite z.  Do bitwise or of inexact bit into u.d.
89377         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89378         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89379         * sysdeps/i386/fpu/s_fma.S: Removed.
89380         * sysdeps/i386/fpu/s_fmal.S: Removed.
89382 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89384         [BZ #3268]
89385         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89387         computation is not scheduled after fetestexcept.  Fix value
89388         of minimum denormal long double.
89390 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89392         [BZ #3268]
89393         * math/libm-test.inc (fma_test): Add some more tests.
89394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89395         correctly.
89397 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89399         * scripts/data/localplt-s390-linux-gnu.data: New file.
89400         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89402 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89404         [BZ #3268]
89405         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89406         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89407         instead of dbl-64.
89408         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89409         inlines.
89410         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89412         if one of x and y is very large and the other is subnormal.
89413         * sysdeps/s390/fpu/s_fmaf.c: New file.
89414         * sysdeps/s390/fpu/s_fma.c: New file.
89415         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89416         * sysdeps/powerpc/fpu/s_fma.S: New file.
89417         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89418         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89419         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89421 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89423         [BZ #3268]
89424         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89425         fma tests.
89426         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89427         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89428         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89429         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89430         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89431         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89432         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89434 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89436         [BZ #12078]
89437         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89438         * posix/bug-regex31.input: Add test case.
89440 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89442         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89443         * posix/bug-regex31.input: New file.
89445         [BZ #12078]
89446         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89447         (parse_sub_exp): Fix last change, use postorder.
89449         * posix/bug-regex31.c: New file.
89450         * posix/Makefile: Add rules to build and run bug-regex31.
89452         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89454         [BZ #12078]
89455         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89457         [BZ #12108]
89458         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89459         to have entries in sys_siglist.
89461         [BZ #12093]
89462         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89463         be NULL.
89465 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89467         [BZ #3268]
89468         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89469         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89470         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89471         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89472         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89473         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89474         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89475         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89476         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89477         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89478         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89480         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89481         * math/ftestexcept.c (fetestexcept): Likewise.
89482         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89483         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89484         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89485         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89486         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89487         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89488         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89490 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89492         [BZ #12107]
89493         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89494         newline.
89496 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89498         * string/bug-strstr1.c: New file.
89499         * string/Makefile: Add rules to build and run bug-strstr1.
89501 2010-10-05  Eric Blake  <eblake@redhat.com>
89503         [BZ #12092]
89504         * string/str-two-way.h (two_way_long_needle): Always clear memory
89505         when skipping input due to the shift table.
89507 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89509         [BZ #12005]
89510         * malloc/mcheck.c: Handle large requests.
89512         [BZ #12077]
89513         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89514         for strncmp and strncasecmp.
89515         * string/stratcliff.c: Add tests for strcmp and strncmp.
89516         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89518 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89520         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89521         __set_fpscr.
89523 2010-09-30  Andreas Jaeger  <aj@suse.de>
89525         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89526         (CGROUP_SUPER_MAGIC): Define.
89527         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89528         Handle btrfs and cgroup file systems.
89529         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89530         Likewise.
89532 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89534         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89535         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89537 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89539         [BZ #12067]
89540         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89541         trying to locate the ELF header.
89543 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89545         [BZ #11611]
89546         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89547         Mask out sign-bit copies when constructing f_fsid.
89549 2010-09-24  Petr Baudis <pasky@suse.cz>
89551         * debug/stack_chk_fail_local.c: Add missing licence exception.
89552         * debug/warning-nop.c: Likewise.
89554 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89556         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89557         implementing getdents64 using getdents syscall, set d_type if
89558         __ASSUME_GETDENTS32_D_TYPE.
89560 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89562         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89563         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89565 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89567         [BZ #12037]
89568         * posix/unistd.h: Undo change of feature selection for ftruncate from
89569         2010-01-11.
89571 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89573         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89574         detection.
89576 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89578         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89579         fanotify_mark.
89580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89582 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89584         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89585         variables after CHECK_SP call.
89586         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89588 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89589             Ulrich Drepper  <drepper@redhat.com>
89591         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89592         re-relocationg ld.so.
89593         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89594         _dl_init_paths call.
89595         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89596         here anymore.
89598 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89600         * resolv/res_init.c (__res_vinit): Count the default server we added.
89602 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89603             Ulrich Drepper  <drepper@redhat.com>
89605         [BZ #11968]
89606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89607         (____longjmp_chk): Use %ebx for saving value across system call.
89608         Add unwind info.
89610 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89612         * manual/Makefile: Don't mix pattern rules with normal rules.
89614 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89616         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89617         operation.
89618         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89619         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89620         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89621         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89623         Likewise.
89625 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89627         [BZ #11979]
89628         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89629         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89631 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89633         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89634         * sysdeps/x86_64/addmul_1.S: Likewise.
89635         * sysdeps/x86_64/lshift.S: Likewise.
89636         * sysdeps/x86_64/mul_1.S: Likewise.
89637         * sysdeps/x86_64/rshift.S: Likewise.
89638         * sysdeps/x86_64/sub_n.S: Likewise.
89639         * sysdeps/x86_64/submul_1.S: Likewise.
89641 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89643         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89644         Define __sched_param instead of SCHED_* and sched_param when
89645         <bits/sched.h> is included with __need_schedparam defined.
89646         * bits/sched.h [__need_schedparam]
89647         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89648         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89649         (__defined_schedparam): Define to 1.
89650         (__sched_param): New structure, identical to sched_param.
89651         (__need_schedparam): Undefine.
89653 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89655         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89656         (epoll_create1): Declare.
89658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89660 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89662         [BZ #7066]
89663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89664         shifting retval into place.
89666 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89668         * nis/rpcsvc/nis.h: Update copyright notice.
89669         * nis/rpcsvc/nis.x: Likewise.
89670         * nis/rpcsvc/nis_callback.h: Likewise.
89671         * nis/rpcsvc/nis_callback.x: Likewise.
89672         * nis/rpcsvc/nis_object.x: Likewise.
89673         * nis/rpcsvc/nis_tags.h: Likewise.
89674         * nis/rpcsvc/yp.h: Likewise.
89675         * nis/rpcsvc/yp.x: Likewise.
89676         * nis/rpcsvc/ypupd.h: Likewise.
89677         * nis/yp_xdr.c: Likewise.
89678         * nis/ypupdate_xdr.c: Likewise.
89680         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89681         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89682         (pmap_getport): Use __libc_rpc_getport.
89683         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89684         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89685         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89687 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89690         fanotify_mark.
89692 2010-08-27  Roland McGrath  <roland@redhat.com>
89694         * sysdeps/i386/i686/multiarch/Makefile
89695         (CFLAGS-varshift.c): New variable.
89697 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89699         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89700         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89704         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89706 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89708         * sysdeps/x86_64/strlen.S: Unroll the loop.
89709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89710         strlen-sse2 strlen-sse2-bsf.
89711         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89712         __strlen_no_bsf if bit_Slow_BSF is set.
89713         (__strlen_sse42): Removed.
89714         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89715         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89717 2010-08-25  Roland McGrath  <roland@redhat.com>
89719         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89720         * sysdeps/x86_64/multiarch/varshift.c: New file.
89721         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89722         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89723         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89724         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89726 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89729         strlen-sse2 strlen-sse2-bsf.
89730         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89731         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89732         (__strlen_sse2): Removed.
89733         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89736         bit_Slow_BSF for Atom.
89737         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89738         (index_Slow_BSF): Define.
89739         (HAS_SLOW_BSF): Define.
89741 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89743         [BZ #10851]
89744         * resolv/res_init.c (__res_vinit): When no server address at all
89745         is given default to loopback.
89747 2010-08-24  Roland McGrath  <roland@redhat.com>
89749         * configure.in: Remove config-name.h generation.
89750         * configure: Regenerated.
89751         * config-name.in: File removed.
89752         * scripts/config-uname.sh: New file.
89753         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89754         ($(objdir)config-name.h): New target.
89756         * sunrpc/rpc_parse.h: Avoid nested comment.
89758 2010-08-24  Richard Henderson  <rth@redhat.com>
89759             Ulrich Drepper  <drepper@redhat.com>
89760             H.J. Lu  <hongjiu.lu@intel.com>
89762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89764         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89765         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89766         _mm_alignr_epi8 with _mm_loadu_si128.
89767         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89768         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89769         (__m128i_shift_right): Removed.
89770         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89771         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89772         * sysdeps/x86_64/multiarch/varshift.h: New file.
89773         * sysdeps/x86_64/multiarch/varshift.S: New file.
89775 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89777         * configure.in: Move assembler checks to before sysdep dir checking.
89779 2010-08-20  Petr Baudis  <pasky@suse.cz>
89781         * LICENSES: Sync the sunrpc license.
89783 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89785         * sunrpc/auth_des.c: Update copyright notice once again.
89786         * sunrpc/auth_none.c: Likewise.
89787         * sunrpc/auth_unix.c: Likewise.
89788         * sunrpc/authdes_prot.c: Likewise.
89789         * sunrpc/authuxprot.c: Likewise.
89790         * sunrpc/bindrsvprt.c: Likewise.
89791         * sunrpc/clnt_gen.c: Likewise.
89792         * sunrpc/clnt_perr.c: Likewise.
89793         * sunrpc/clnt_raw.c: Likewise.
89794         * sunrpc/clnt_simp.c: Likewise.
89795         * sunrpc/clnt_tcp.c: Likewise.
89796         * sunrpc/clnt_udp.c: Likewise.
89797         * sunrpc/clnt_unix.c: Likewise.
89798         * sunrpc/des_crypt.c: Likewise.
89799         * sunrpc/des_soft.c: Likewise.
89800         * sunrpc/get_myaddr.c: Likewise.
89801         * sunrpc/getrpcport.c: Likewise.
89802         * sunrpc/key_call.c: Likewise.
89803         * sunrpc/key_prot.c: Likewise.
89804         * sunrpc/openchild.c: Likewise.
89805         * sunrpc/pm_getmaps.c: Likewise.
89806         * sunrpc/pm_getport.c: Likewise.
89807         * sunrpc/pmap_clnt.c: Likewise.
89808         * sunrpc/pmap_prot.c: Likewise.
89809         * sunrpc/pmap_prot2.c: Likewise.
89810         * sunrpc/pmap_rmt.c: Likewise.
89811         * sunrpc/rpc/auth.h: Likewise.
89812         * sunrpc/rpc/auth_unix.h: Likewise.
89813         * sunrpc/rpc/clnt.h: Likewise.
89814         * sunrpc/rpc/des_crypt.h: Likewise.
89815         * sunrpc/rpc/key_prot.h: Likewise.
89816         * sunrpc/rpc/netdb.h: Likewise.
89817         * sunrpc/rpc/pmap_clnt.h: Likewise.
89818         * sunrpc/rpc/pmap_prot.h: Likewise.
89819         * sunrpc/rpc/pmap_rmt.h: Likewise.
89820         * sunrpc/rpc/rpc.h: Likewise.
89821         * sunrpc/rpc/rpc_des.h: Likewise.
89822         * sunrpc/rpc/rpc_msg.h: Likewise.
89823         * sunrpc/rpc/svc.h: Likewise.
89824         * sunrpc/rpc/svc_auth.h: Likewise.
89825         * sunrpc/rpc/types.h: Likewise.
89826         * sunrpc/rpc/xdr.h: Likewise.
89827         * sunrpc/rpc_clntout.c: Likewise.
89828         * sunrpc/rpc_cmsg.c: Likewise.
89829         * sunrpc/rpc_common.c: Likewise.
89830         * sunrpc/rpc_cout.c: Likewise.
89831         * sunrpc/rpc_dtable.c: Likewise.
89832         * sunrpc/rpc_hout.c: Likewise.
89833         * sunrpc/rpc_main.c: Likewise.
89834         * sunrpc/rpc_parse.c: Likewise.
89835         * sunrpc/rpc_parse.h: Likewise.
89836         * sunrpc/rpc_prot.c: Likewise.
89837         * sunrpc/rpc_sample.c: Likewise.
89838         * sunrpc/rpc_scan.c: Likewise.
89839         * sunrpc/rpc_scan.h: Likewise.
89840         * sunrpc/rpc_svcout.c: Likewise.
89841         * sunrpc/rpc_tblout.c: Likewise.
89842         * sunrpc/rpc_util.c: Likewise.
89843         * sunrpc/rpc_util.h: Likewise.
89844         * sunrpc/rpcinfo.c: Likewise.
89845         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89846         * sunrpc/rpcsvc/key_prot.x: Likewise.
89847         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89848         * sunrpc/rpcsvc/mount.x: Likewise.
89849         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89850         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89851         * sunrpc/rpcsvc/rex.x: Likewise.
89852         * sunrpc/rpcsvc/rstat.x: Likewise.
89853         * sunrpc/rpcsvc/rusers.x: Likewise.
89854         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89855         * sunrpc/rpcsvc/spray.x: Likewise.
89856         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89857         * sunrpc/rtime.c: Likewise.
89858         * sunrpc/svc.c: Likewise.
89859         * sunrpc/svc_auth.c: Likewise.
89860         * sunrpc/svc_authux.c: Likewise.
89861         * sunrpc/svc_raw.c: Likewise.
89862         * sunrpc/svc_run.c: Likewise.
89863         * sunrpc/svc_simple.c: Likewise.
89864         * sunrpc/svc_tcp.c: Likewise.
89865         * sunrpc/svc_udp.c: Likewise.
89866         * sunrpc/svc_unix.c: Likewise.
89867         * sunrpc/svcauth_des.c: Likewise.
89868         * sunrpc/xcrypt.c: Likewise.
89869         * sunrpc/xdr.c: Likewise.
89870         * sunrpc/xdr_array.c: Likewise.
89871         * sunrpc/xdr_float.c: Likewise.
89872         * sunrpc/xdr_mem.c: Likewise.
89873         * sunrpc/xdr_rec.c: Likewise.
89874         * sunrpc/xdr_ref.c: Likewise.
89875         * sunrpc/xdr_sizeof.c: Likewise.
89876         * sunrpc/xdr_stdio.c: Likewise.
89878         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89879         handling.
89881 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89883         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89885 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89887         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89888         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89889         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89890         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89891         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89892         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89893         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89894         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89896         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89897         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89898         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89899         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89900         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89902 2010-07-26  Anton Blanchard  <anton@samba.org>
89904         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89905         * malloc/arena.c (heap_trim): Likewise.
89907 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89909         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89910         here.  Not...
89911         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89912         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89914 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89916         * sysdeps/i386/elf/Makefile: New file.
89918 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89920         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89921         from fanotify_init.
89922         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89925 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89927         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89928         of strncasecmp_l.
89929         * sysdeps/multiarch/strcmp.S: Likewise.
89931 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89933         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89934         strncase_l-nonascii.
89935         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89936         Add strncase_l-ssse3.
89937         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89938         * sysdeps/x86_64/strcmp.S: Likewise.
89939         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89940         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89941         * sysdeps/x86_64/strncase.S: New file.
89942         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89943         * sysdeps/x86_64/strncase_l.S: New file.
89944         * string/Makefile (strop-tests): Add strncasecmp.
89945         * string/test-strncasecmp.c: New file.
89947         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89948         warning.
89950         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89951         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89953 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89955         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89957 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89959         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89960         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89961         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89963 2010-05-01  Alan Modra  <amodra@gmail.com>
89965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89966         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89967         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89968         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89969         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89970         tidying.  Don't tail-call __sigjmp_save for static lib.
89971         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89972         save location.
89973         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89974         (CALL_MCOUNT): Add eh info, and nop after bl.
89975         (TAIL_CALL_SYSCALL_ERROR): New macro.
89976         (PSEUDO_RET): Use it.
89977         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89978         Correct save location of integer regs and cr.
89979         (_dl_profile_resolve): Correct cr save location.  Delete nops
89980         after bl when SHARED.  Reduce cfi size a little by better
89981         placement of cfi directives.
89982         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89983         make a stack frame.  Instead use parm save area as a temp.
89984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89985         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89987         Don't make a stack frame for parent, use parm save area.
89988         Increase child stack frame to 112 bytes.  Don't save unused reg,
89989         and adjust reg usage.  Set up cfi on error recovery and
89990         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89992         (__makecontext): Add dummy nop after jump to exit.
89993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89994         Use correct parm save area and cr save, reduce stack frame.
89995         Correct cfi for possible PSEUDO_RET frame setup.
89996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89997         Branch to local label emitted by PSEUDO_RET rather than
89998         __syscall_error.
90000 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90002         [BZ #11904]
90003         * locale/programs/locale.c (print_assignment): New function.
90004         (show_locale_vars): Use it.
90006 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90008         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90009         field.
90010         (struct statfs64): Likewise.
90011         (_STATFS_F_FLAGS): Define.
90012         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90014         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90015         (ST_VALID): Define locally.
90016         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90017         __statvfs_getflags, use the provided value.
90018         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90019         __ASSUME_STATFS_F_FLAGS.
90021         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90023         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90024         Add sys/fanotify.h.
90025         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90026         fanotify_mask for GLIBC_2.13.
90027         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90028         fanotify_init and fanotify_mark.
90029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90030         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90032         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90033         Add prlimit.
90034         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90035         prlimit64 for GLIBC_2.13.
90036         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90037         prlimit64.
90038         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90039         syscall.
90040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90042         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90043         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90044         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90045         add prlimit alias.
90046         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90048         [BZ #11903]
90049         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90050         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90052         * nss/Makefile: Add rules to build and run tst-nss-test1.
90053         * shlib-versions: Add entry for libnss_test1.
90054         * nss/nss_test1.c: New file.
90055         * nss/tst-nss-test1.c: New file.
90057         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90058         (__nss_configure_lookup): Set appropriate entry in
90059         __nss_configure_lookup to true.
90060         * nss/nsswitch.h: Define enum with indeces of databases in
90061         databases and __nss_database_custom arrays.  Declare
90062         __nss_database_custom.
90063         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90064         to avoid using nscd when custom rules are installed.
90065         * nss/getXXbyYY_r.c: Likewise.
90066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90068         * nss/nss_files/files-parse.c: Whitespace fixes.
90070 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90072         [BZ #11883]
90073         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90074         * posix/fnmatch_loop.c: Likewise.
90076 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90078         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90079         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90080         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90081         * Versions.def [GLIBC_2.13]: Add.
90083 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90085         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90086         Also fail if tpwd after pwuid call is NULL.
90088 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90090         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90091         when converting to ms.
90093 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90095         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90096         EOPNOTSUPP errors with ENOTTY.
90097         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90098         EOPNOTSUPP errors with ENOTTY.
90100 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90102         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90103         Add strcasecmp_l-ssse3.
90104         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90105         strcasecmp.
90106         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90107         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90108         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90110 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90112         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90114         * string/Makefile (strop-tests): Add strcasecmp.
90115         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90116         strcasecmp_l-nonascii.
90117         (gen-as-const-headers): Add locale-defines.sym.
90118         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90119         * sysdeps/x86_64/strcasecmp.S: New file.
90120         * sysdeps/x86_64/strcasecmp_l.S: New file.
90121         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90122         * sysdeps/x86_64/locale-defines.sym: New file.
90123         * string/test-strcasecmp.c: New file.
90125         * string/test-strcasestr.c: Test both ends of the range of characters.
90126         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90128 2010-07-29  Roland McGrath  <roland@redhat.com>
90130         [BZ #11856]
90131         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90133 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90135         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90136         for ld.so.
90138 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90140         * manual/memory.texi (Malloc Tunable Parameters): Document
90141         M_PERTURB.
90143 2010-07-26  Roland McGrath  <roland@redhat.com>
90145         [BZ #11840]
90146         * configure.in (-fgnu89-inline check): Set and substitute
90147         gnu89_inline, not libc_cv_gnu89_inline.
90148         * configure: Regenerated.
90149         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90151 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90153         * string/test-strnlen.c: New file.
90154         * string/Makefile (strop-tests): Add strnlen.
90155         * string/tester.c (test_strnlen): Add a few more test cases.
90156         * string/tst-strlen.c: Better error reporting.
90158         * sysdeps/x86_64/strnlen.S: New file.
90160 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90162         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90163         lower-latency instructions.
90165 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90167         * string/test-strcasestr.c: New file.
90168         * string/test-strstr.c: New file.
90169         * string/Makefile (strop-tests): Add strstr and strcasestr.
90170         * string/str-two-way.h: Don't undefine MAX.
90171         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90173 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90176         strcasestr-nonascii.
90177         (CFLAGS-strcasestr-nonascii.c): Define.
90178         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90179         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90180         Remove unused attribute.
90182 2010-07-20  Roland McGrath  <roland@redhat.com>
90184         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90185         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90186         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90187         like LD_HWCAP_MASK can disable hwcaps.
90189 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90191         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90193 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90195         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90196         call in strcasestr.
90197         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90198         __strcasestr_sse42_nonascii.
90199         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90200         strcasestr-nonascii.c.
90201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90203 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90205         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90207         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90208         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90210 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90212         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90213         fcntl.
90215 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90217         [BZ #11577]
90218         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90219         dl_signal_cerror.
90221 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90223         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90224         _PC_PIPE_BUF using F_GETPIPE_SZ.
90226 2010-07-05  Roland McGrath  <roland@redhat.com>
90228         * manual/arith.texi (Rounding Functions): Fix rint description
90229         implicit in round description.
90231 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90233         * elf/Makefile: Fix linking for a few tests to make recent linker
90234         happy.
90236 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90238         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90239         $(common-objpfx)libc_nonshared.a.
90241 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90243         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90244         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90245         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90246         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90247         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90248         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90249         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90250         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90265         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90266         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90267         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90268         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90269         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90270         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90271         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90272         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90273         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90274         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90275         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90276         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90292 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90294         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90295         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90296         * string/memmove.c (memmove): Renamed to ...
90297         (MEMMOVE): ...this.  Default to memmove.
90298         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90299         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90300         (END_CHK): Define.
90301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90302         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90303         mempcpy-ssse3-back memmove-ssse3-back.
90304         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90307         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90308         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90309         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90310         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90311         * sysdeps/x86_64/multiarch/memmove.c: New file.
90312         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90313         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90314         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90315         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90316         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90317         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90318         Define.
90319         (index_Fast_Copy_Backward): Define.
90320         (HAS_ARCH_FEATURE): Define.
90321         (HAS_FAST_REP_STRING): Define.
90322         (HAS_FAST_COPY_BACKWARD): Define.
90324 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90326         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90327         Restore proper fallback handling.
90329 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90331         [BZ #11701]
90332         * posix/group_member.c (__group_member): Correct checking loop.
90334         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90335         OOM in getpwuid_r correctly.  Return error number when the caller
90336         should return, otherwise -1.
90337         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90338         call returning > 0 value.
90339         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90341 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90343         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90344         libc_nonshared.a from targets in modules-names.
90346 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90348         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90349         requires it.
90351 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90355         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90356         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90358 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90360         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90362 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90364         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90365         and F_GETPIPE_SZ.
90366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90370         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90373 2010-06-14  Roland McGrath  <roland@redhat.com>
90375         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90377 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90379         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90380         __REDIRECT followed by __THROW.
90381         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90382         * posix/getopt.h (getopt): Likewise.
90384 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90386         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90387         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90388         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90389         in AT_FLAGS.
90390         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90391         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90393 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90395         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90397 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90399         [BZ #11640]
90400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90401         Properly check family and model.
90403 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90405         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90407 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90409         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90411 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90413         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90414         symbol reference.
90416 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90418         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90419         symbol reference.
90421 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90423         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90424         and internal_recvmmsg.
90425         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90426         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90427         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90428         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90430         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90431         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90432         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90434 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90436         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90438 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90440         POWER7 optimizations.
90441         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90442         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90444 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90446         * version.h: Update for 2.13 development version.
90448 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90450         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90451         exceptions.  Return 0.
90453 2010-05-07  Roland McGrath  <roland@redhat.com>
90455         * elf/ldconfig.c (main): Add a const.
90457 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90459         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90460         (args_options): Add no-idn option.
90461         (ahosts_keys_int): Add idn_flags to ai_flags.
90462         (parse_option): Handle 'i' option to clear idn_flags.
90464         * malloc/malloc.c (_int_free): Possible race in the most recently
90465         added check.  Only act on the data if no current modification
90466         happened.
90468 See ChangeLog.17 for earlier changes.